Tag Info

Hot answers tagged

2

You cannot clear the ID field out of the box in SharePoint Instead the list can be taken as template and then delete and recreate it with the saved template


1

Probably because your browser or firewall doesn't like the "MERGE" request type... Generally you use POST as the type with MERGE or PATCH (as you have used) as the X-HTTP-Method Try changing your second $.ajax to: $.ajax({ url: "/_api/web/Lists/getbytitle('IconLinkList')/Items(" + id + ')', type: "POST", data: ...


1

There is definitely no OOTB way of doing this. You have many options. As mentioned by XristosK, use JQuery to hide the column. Use a Content Query WebPart and customize the columns through the XSLT code used there. This will help you add conditions Use JavaScript CSOM and write a simple JQuery to display and you will have full control.


1

You can't disable showing columns OOTB. You need to use jquery to delete them. For example: http://stackoverflow.com/questions/1068881/jquery-remove-html-table-column http://stackoverflow.com/questions/1068881/jquery-remove-html-table-column But, what will happen if you show two items and item1 has Yes and item2 has No? Feel free to ask and specify that ...


1

In addition to IAfanosov's solution, I've written a method to clear the recycle bin from all items that were deleted from the given list: /// <summary> /// Deletes all items from the recycle bin in a web that originally came from the given list /// </summary> /// <param name="sourceList">List where the items originated from</param> ...



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