Posts

Showing posts from April, 2016

WebApplication ctreation issue continues to run forever and eventually

We often see that Web Application continues to run forever and eventually, it is not created. If you ever come across such situation then, Follow below steps to fix this issue :   Steps : Go to the  IIS Manager  in your system ( e.g  your VM) Select Central Administration Application Pool from  “Application Pools”  menu. Right click and select  Advanced Settings...  and, find out  “Shutdown Time Limits(seconds)". Increase it to e.g.  1200 . Note : Default value is  90  seconds Click on  OK Do  IISReset Finally, you will be able to create Web Application successfully.

REST list item delete does not go to recycle bin

To delete SharePoint list item, we can make use of REST API while customizing OOTB Delete item functionality in SharePoint list. To delete an item through REST API, we generally make use of following REST URL:             http://site_url/_api/web/lists(list_Id)/items(item_id) Now, this will delete the specified list item permanently rather than moving it to Recycle bin. So, how could we move a List Item to Recycle bin using REST API same as OOTB Delete functionality? We just need to append  recycle()  function to above REST URL. So, complete URL will be:  http://site_url/_api/web/lists(list_id)/items(item_id)/recycle()