Paging with Client OM and CAML
CAML can be used in the Client OM to query for example a list. When the list contains a lot of items it’s not a good idea to show all the items at once. CAML supports row limits, so a … Read More »
Ideas that work
CAML can be used in the Client OM to query for example a list. When the list contains a lot of items it’s not a good idea to show all the items at once. CAML supports row limits, so a … Read More »
Ribbon customizations are not that easy to troubleshoot. If something is wrong, the customization simply doesn’t show up. Beside debug the JavaScript (SP.Ribbon.debug.js), checking the sequence of e.g. the button definition (not multiples of 10 or 100, because SharePoint uses … Read More »
Lately there are some questions about the AddUserToGroup and RemoveUserFromGroup functions of the SPServices library. Here some examples: Replace <groupname>, <displayname of the user>, <domain>, <loginname>, <emailaddress of the user> and <note to add> with yours, without the < and … Read More »
Back in MOSS 2007 the onet.xml file had to be edited to disable editing in SharePoint Designer. This option was a setting for everybody and all aspects at the whole site collection, no exceptions here. Fortunately this is much better in … Read More »
Instead of CAML you can also use a search query by using SQL or keyword syntax to search the SharePoint environment client-side by using the Search web service. The SPServices library supports the Query operation to do this. Hereby I … Read More »
On SharePoint lists you can receive email notifications when items change in a list, the ‘Alert me’ function in the Actions menu of a list. In some occasions there are multiple lists where the data in it is interesting to … Read More »
Today I am playing around with the dialog framework and simple ribbon buttons. I want the user to select one or more items from a list and update the Status field for all the items selected. The user can edit … Read More »
While investigating and playing with the dialog framework of SharePoint 2010 I really missed some intellisense of the client object model for the javascript(ECMA) code. It seems real easy to enable intellisense and saves a lot of time! First create … Read More »
Be careful with the use of GetItemById(), there are two options to use it: SPList.Items.GetItemById() SPList.GetItemById() The difference between the two is that the SPList.Items.GetItemById() loads every item into memory and then filters the set. Trust me: this can cause … Read More »
A very easy way to retrieve the guid of a list with SPServices: