Now I am back to start some SharePoint 2013 development work. Then there are some issues and useful links that I need every day. I write them down here in case later I need it again.
1. Deployment solution from visual studio and have this error,
"recycle iis application pool' :object reference not set to an instance of an object".
Just close visual studio and start again, then it worked.
2. Search in ShaePoint 2013 is a great function and their search API in REST is very useful,
http://blogs.msdn.com/b/nadeemis/archive/2012/08/24/sharepoint-2013-search-rest-api.aspx
The search address is in http://server/_api/search/query/?querytext='...'&selectproperties=''&startrow=..&rowlimit=..
3. Remove a web part from a page,
Sometimes the web part is not functionall as expected and needs to be disconnected from the page then enter the http://server/page_address?contents=1
4. Force reinstall fetaure in visual studio
Sometimes I am getting this error in deployment,
"Error occurred in deployment step 'Add Solution': A feature with ID xxxx-xxx-xxx-xxx has already been installed in this farm"
Need to set the AlwaysForceInstall = "True".
By the way, ImageUrl can be added to show a different feature image.
5. How to find the list template ID
Go to Site Contents -> Create list -> then right click on the page to get the url, the template ID is there.
Also a similar way can be used to get the associated content type ID.
No comments:
Post a Comment