DocumentSet.Import Access Denied error, RunWithElevatedPrivileges does not help
Hi, I am trying to move DocumentSet from one library to another. User has Contribute permissions on site. Everything works when user tries to move emty DocumentSet, but then DocumentSet has some...
View ArticleSet Permission At Field Level
I want to set permission on Field Level.Scenario : I have two fields Title And Name. If it is contributor then he can see both fields. And if he is Approver then he can see both fields but Name Field...
View ArticleSharepoint List View Permissions
The original problem is that we needed to limit certain groups from viewing all the list views from within a list. I found SPViewPermissionSettings from http://spviewpermission.codeplex.com to do the...
View ArticleSharepoint 2010 Attach A file Window
Hello , I want to add a link button to my visula web part and when user click on it i want to open the file upload page which the file upload button on the ribbon of the page that sharepoint use as...
View ArticleSPListItem.Update throws UnauthorizedAccessException for Forms authenticated...
I'm trying to fix some code (that I didn't write) that inserts an item into a SharePoint list. The problem is the code works for anonymous users, but if the user is logged in via ASP.NET forms...
View ArticleHow to add multichoice field as radiobutton in Sharepoint 2007 survey?
Hi All, I created a survey in sharepoint2007 programatically.Could you please help me to add multi-choice answer fields of type Radiobutton to it? I tried this...
View ArticleCalculated formula help
Hello I have a calculated formula in a column on a sharepoint list which takes two date entries and calculates the number of days between them. Another value then minuses a number of days from the...
View ArticleHow to Move SharePoint Document Library Files Programmatically C#
Hi, I wanted to move documents from one library to another using C# code. If any can point the code would be appreciated. Thanks, -Gautham
View ArticleCode Access Security issue when accessing Applciation Page:...
Hello! I'm struggling a whole day with an annoying error,... But let's start from the beggining: I decided to build up an application page with code behind in an assembly deployed to the web...
View ArticleCloning/Moving webpart pages with existing webparts
Hi All, We need to support clone/move of the webpart pages with pre populated webparts. We have our custom webpart page layout. Users can create webpart page using our custom page layout...
View ArticleHow to get default value of choice field for the folder inside of a Library...
I have created a Document Library and created one folder inside this library. Then I have added one choice field namely "Fruits" in this library. The choices for this property are Apple, Mango,...
View ArticleElevated Permissions Write To Event Log from Event Handler
Hi,I have written an Event Handler that creates a Document ID when a document is uploaded to a Document Library. It also writes to the Application Log Event Log when things go wrong. This works fine...
View Article_vti_adm/admin.asmx blocked
Hi I'm trying to use the administration service webservice, in myserver/_vti_adm/admin.asmx, but I'm geting this error: "The file you are attempting to save or retrive has been blocked from this web...
View ArticleCannot open database " " requested by the login. The login failed.
Hi, I am trying to take the backup of the sitecolletion using stsadm -o command, getting the following error. Cannot open database "dbName " requested by the login. The login failed. Login failed for...
View ArticleInclude a .aspx page
Hello, I have developped some functions in my includeFunctions.aspx, I would like to know how to include this page on others sharepoint pages ?? Thanks in advance !! :-)
View ArticleRendering
To modify the default rendering so that elements in the control collection of page are not displayed,should we override RenderControl() method or PreRendor() method
View ArticleWhere should I dispose my SPSite and SPWeb in my web service?
A couple years ago, a consultant wrote a custom MOSS 2007 web service for my company and it has been in use ever since. Recently we began having performance problems with the service and upon looking...
View ArticleFind out which WSP deployed a feature
Is it possible to find out which WSP deployed a feature to sharepoint? I'm doing some housekeeping on my farm and there are a few features that I know can be removed but I'm not sure which WSP put them...
View Article"list or library contains a large number of items"
Hi all, am using sharepoint 2007. if any list contains large no. of items. if we click on settings then it will show warning in red bar: "list or library contains a large number of items" whats this...
View ArticleHow to import an Excel Pivot table into SharePoint 2007
We need to import a pivot table into SharePoint 2007 AND we would like it to dynamically update as the data changes across three SharePoint 2007 lists that are currently used to create the Pivot...
View Article