Hot answers tagged


You may need to get a new reference to the item after each update: // code before first update item.SystemUpdate(false); item = myList.GetItemById(itemid); // get new reference // next bit of logic here... // ... item.SystemUpdate(false); item = myList.GetItemById(itemid); // etc, etc


You can do this by changing InheritsThemedCssFolderUrl in AllProperties bag Something like spweb.AllProperties["__InheritsThemedCssFolderUrl"] = "True"; **Updated: ** datatype is string.


The error is really not self-explanatory, however the only problem is that you don’t have enough permissions on the Site or Web. Even if you are a farm admin and local admin on the server, some SharePoint PowerShell Commands will not allow you to run at the Site or Web level. Easiest way to fix it, since you already have access to the server, give yourself ...


Event Receiver will always trigger when we do inline editing for a list item. In ItemUpdating of my event receiver class, I am using properties.AfterProperties['Field1'].But this 'Field1' column is not visible in my inline editing that makes the return value as null always and stops Aborting the event. To overcome this issue,i just call the ...

Only top voted, non community-wiki answers of a minimum length are eligible