Posted on April15th, 2014
In this post we will share the SharePoint tips in this month. From this Part 3 on-wards we will separate the useful links related to SharePoint in to separate post and share with you on weekly basis.
Updating custom masterpage is a common task in SharePoint sites to apply the branding. It is easy to update the masterpage in case of publishing sites. You can go to site settings and change the masterpage for the respective site.
The tip I want to share here is in case of Office 365 we cannot use above options because the server side code is not allowed and at this point of time we do not have the equivalent powershell scripts to update the masterpage for all the sub sites within the site collection. An option we have here is using JSOM to apply the custom master page. Another one using the combination of CSOM + Powershell to apply the master pages for team site.
SharePoint 2013 you need to load sp.js and sp.runtime.js explicitly when you are working with publishing pages. Please see the below example of calling the scripts.
For today i want to share a tip regarding troubleshooting the workflow issues. We often come across issues when building the workflows and from SharePoint 2013 onwards all workflows are declarative. I often see in MSDN TechNet forums about issues regarding workflows.
You can use "Log to History List Action" activity to log each and every action of your workflow so that whenever you execute workflow it will log all the details to workflow history list. By using the details in workflow history list you can find what how your workflow executing and what went wrong.
You are welcome to share the useful SharePoint Tips and Tricks that you know and come across while working or learning with SharePoint. Please use below comments sections or send me an email at email@example.com.Thanks in Advance.
Devendra Velegandla is a four-time recipient of Microsoft's Most Valuable Professional (MVP) award (2014-2017) for Office Servers and Services MVP and SharePoint Server. He received the MCC award for his contributions in Microsoft MSDN/TechNet forums. He loves sharing articles, videos, and tutorial on SharePoint and Office 365.