0
votes
1answer
151 views
SPList.GetItems(query) does not return SPListItems where the permissions are not inherited
I'm using the following code:
protected void TraverseFolder(SPList list, SPFolder folder)
{
SPQuery qry = new SPQuery() { Folder = folder };
SPListItemCollection listFolde …
2
votes
4answers
301 views
WCF Service @ SharePoint 2010 TimeOut
I have been developing on SP 2010 for a while now. Mostly I have been working with the Client Object Model.
Though I am at a point where I need to read out the UserProfiles from …
0
votes
0answers
129 views
How do you setup alert filters that make use of the _ModerationStatus field?
Setting up alerts using the filter below for an alert fails despite of the fact that it's valid (tested with U2U CAML Query Builder)
<Eq>
<FieldRef Name='_Moderati …
0
votes
2answers
168 views
Can I export a SharePoint 2007 list to an Excel file subdivided into separate worksheets?
We have a SharePoint 2007 deployment which will have a substantially large document library. My client wants the ability to export this library to an Excel spreadsheet, but specifi …
1
vote
3answers
76 views
Accessed denied when attempting to permission folder using the Object Model API
I'm attempting to permission a folder using the Object Model API that is created by an ASP.NET page wrapped into a feature. I am able to create and permission the folder for users …
0
votes
0answers
17 views
How to enable custom ordering on a list??
I want to be able to create a list programmatically which allows end users to reorder the items in the list. There appear to be 2 steps to this. Firstly set the SPList.Ordered prop …
1
vote
1answer
158 views
How is a link to a Meeting Workspace stored for a Calendar Event?
If you open the DispForm.aspx for an item in a Calendar List, you see a link and display text to the Meeting Workspace (if one exists) for that event.
How can I access the link to …
3
votes
2answers
359 views
Checking existence before using GetItemById
I am getting an item by using GetItemById but I want to check before using it whether the item exists or not. I don't want to use a query as the main purpose of using GetItemById i …
3
votes
3answers
236 views
Problem with SPList.SaveAsTemplate
I have never really had too much cause to use this method before but I am developing some generic classes to deal with column, content type and list management for use in a series …
1
vote
4answers
259 views
for vs foreach when iterating over SPWebCollection
I was just wondering which of the two methods below is more popular, when it comes to iterating over a collection of SPWeb objects.
for (int i = 0; i < SPContext.Current.Site.A …