For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
I've built a feature for our training department, which up until today has worked as intended. Today wrote some code in the feature activation that will add a new SharePoint group called 'Travel Plaza Managers' (Travel Plaza is a department within our organization that runs our gas stations).
On the feature activation I first run a function called 'checkForGroup', which checks to see if the group has already been created on the site. Here is the code for that group:
'''<summary>''' Checks to see if the group exists in the the site
'''</summary>'''<paramname="groupName"></param>'''<returns></returns>'''<remarks></remarks>PublicFunction checkForGroup(ByVal groupName AsString, ByVal web As SPWeb) AsBooleanDim group As SPGroup = NothingTry
group = web.Groups(groupName)
Catch ex As Exception
EndTryIfNot group IsNothingThenReturnTrueElseReturnFalseEndIfEndFunction
If this function returns 'False' then I call another function called 'CreateTPManagersGroup', which runs this code:
'''<summary>''' Creates the Travel Plaza Managers Group
'''</summary>'''<paramname="web">The current web</param>'''<remarks></remarks>PublicSub CreateTPManagersGroup(ByVal web As SPWeb)
'create the owner of the group
Dim owner As SPUser = web.SiteAdministrators("username")
Dim member As SPMember = web.SiteAdministrators("username")
'get the groups
Dim groups As SPGroupCollection = web.SiteGroups
'add the Travel Plaza Managers to the list of site groups
groups.Add("TP Managers", member, owner, "These are the current Travel Plaza Managers of the Choctaw Nation")
Dim newSPGroup As SPGroup = groups("TP Managers")
Dim role As SPRoleDefinition = web.RoleDefinitions("Read")
Dim roleAssignment As SPRoleAssignment = New SPRoleAssignment(newSPGroup)
So, the first time I ran this, the activation ran fine, but when I went to see if the group had been created the group name wasn't there. Figured I may have done something like not actually deploy the current version of the feature, so I did another deploy from Visual Studio and got the message saying that the group name had already been used.
Did a debug on the feature activation and each time 'checkForGroup' returns 'False', but I still get the same message that the group name has already been used. I can't remove the group because it doesn't show up on the website, so what am I to do?
I'm looking for a working example that I can load into Visual Studio and connect to my Sharepoint server and enumerate through the subsites pages. For the last 6 hours I've been trying to figure out how to connect to the Sharepoint web services and do read only and have been failing and have literally made 0 progress. Something is wrong with my understanding
I need a generic working basic example so that I can use that as my baseline and build from that.
Sharepoint allows for the creation of a "wiki" page that mainly is an area to put files etc that people can collaborate on and all can see what is happening to the document. A wiki page is contained within the team site. Microsoft has a few good video's on sharepoint that instruct on these things.
i used solution from site http://thumbextsp.codeplex.com/wikipage?title=Home%20English. installed wsp in sharepoint 2010. i insert web part but nothing.when i hover on word document just it's show popup window with x and nothing. the fiddler show message 401 and
GET http://192.168.0.33:49098/sluzbait/_layouts/SPThumbnailExtender/MobileGenericHandler.ashx?usecache=true&doc=%2Fsluzbait%2F%D0%94%D0%B5%D1%99%D0%B5%D0%BD%D0%B8%20%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D0%B8%2FRe%C5%A1eni%20problemi%20na%20ra%C4%8Dunaru.docx&c=true HTTP/1.1
anybody have solution for this or some the another solution?
HTTP Error Code 401 means: Authorization required. You have to enter your username and password somewhere (and perhaps use an authorization cookie obtained at that step then later when you request documents...).
Can somebody out there help me with the installation procedure to set up a SharePoint 2010 development environment on a virtual machine. Also with the valid softwares link to download the same. I am trying to get the Visual Studio Professional 2010 download file, but I am unable to get it. Please help me with that link also...
thank you so much for all the help...
We have SSRS report working fine in sharepoint integrated mode in Dev environment. Dev environment has SQL server 2008 R2 and Reporting services are configured in sharepoint integrated mode. I can see the Report server URL and Report manager URL in Reporting services configuration manager. Reporting services are configured using reporting services configuration manager in dev environment. Either browsing the report directly in browser or viewing the report using report viewer control in visual webpart works fine in dev environment.
Report does not work in staging. Staging environment has separate database server, sharepoint server and reporting services server. It has SQL server 2012. Reporting services is configured using Reporting services service application. I am unable to find the report server URL to use for report viewer control in visual webpart in sharepoint reporting services service application.
we have Sharepoint server 2010 in both development and staging environments.
I Have a list "Projects" with columns 'Project Name'(Text), 'Start Date'(Date) , 'End Date'(date) and 'IsDeleted'(Yes/No Check box). Here created ProjectView that displays ProjectName,Start Date and End Date. (IsDeleted Column is not added in my view and ProjectView Filter did set to "IsDeleted is equal to 'No'").
I have a public facing SP site ( SP online 2013 with Office 365 ). There are certain app parts added to it which read data from a custom list created on that site. By default anonymous users do not have read permissions list. I want users to see the list data without login in . I tried modifying the settings for anonymous users , however I am unable to do it as the "anonymous user" permissions cannot be checked by me.
How do I provide read permissions to anonymous users?
Here is a little bit more background info on what I am dealing with:
My Project Management Lead is the Site Admin for our Project 2010 SharePoint Site, and he had added a new field to the Deliverables list on the home site of the project site. We currently create a new Project site page each time we add a new project to the site, and he is wanting the new field to be available on all of the Deliverables lists of the new site pages. He is also wanting to have that field show up on the existing site pages so that all currently running projects can have the new field.
He has also edited the form in InfoPath and would also like to have that form on all of the new and current site pages.
We are currently using SharePoint 2010 and Office 2010 for our Intranet. We have an InfoPath from a co-hospital and would like to use the same form. We changed the titles and some rules on the form and now we are starting to the following problem.
“A view is set up with maybe 10-25 items to view. The next day only the top 5 are still chosen. This has happened each day since Monday after we made some changes to the form.”
Hi, I have a listview where a column shows too many characters, like 20 lines in some cases. I would like to know if there is a setting in the XsltListViewWebPart where it can shows just 3 lines and a [more] link, and once this is clicked then shows all the lines and the [less]link.
i was to migrate a SharePoint application 2010 of mine to a new location (server). on the development site, i have giving permissions to the users to my surprise the user group do not apply on the new server(production). note the server are in thesame domain. Also, my wsp could communicate with the clients oracle db on the development but couldnt on the production server. i have installed odac 32bit and 64bit yet configured my tnsname.ora as it is on the development server. i will appreciate your suggestions.
I have been trying to figure out if it is possible to add a footer to an existing PDF document. Every example I have seen is for adding a footer to a document that has just been created using PDFWriter as opposed to getting a document using PDFReader and then adding a footer to it. Does anyone know of a way that a footer can be added to an existing PDF?
Is there a way to refresh a repeating table's data when using the lists web service in Infopath? I want the user to be able to add a row, submit to the list, then have the table display the updated data.
Do you use SharePoint 2007, 2010 or 2013?
New Workflow Engine (2013) or old Workflow Engine (2010, 2013) or Nintex (2010, 2013)?
Do you want to use Visual Studio, SharePoint Designer with or without Visio?
After answering those questions we could find a way for you to start.
After Migration from share point 2010 to share point 2013.In our custom code(built in visual studio), we are not able to perform any String operation. For e.g.
SPListItem Item = null;
SPList a = site.Lists["A"];
Item = (from SPListItem b in a.Items
where b[Title].ToString().Trim() == key.Trim().ToLower() select b).FirstOrDefault();
Item returns null, But when i fetch the list by using hard coded value it returns
Last Visit: 31-Dec-99 18:00 Last Update: 18-Apr-14 16:58