SharePoint Tips and Tricks - Part 3

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.

You can check the Part1 Part2 of SharePoint tips here.

How  you can help other readers:

In this article you can also join by posting the tips and tricks which will be useful for our readers.

Please post tips and tricks you know about SharePoint/Office 365 /Yammer in the comments sections below.

We welcome you all to help others.

You can suggest us if there is better way or improvements to SHARE the tips and tricks.


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.

In case of Team sites we do not have the option to update the master page from OOB. To update the master page for Team sites we need to use server side code using feature receiver or powershell.

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.

<script type="text/javascript" src="_layouts/15/sp.runtime.js">

</script> <script type="text/javascript" src="_layouts/15/sp.js"></script>


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.

Do you have any useful SharePoint Tips and tricks to share with us?

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 in Advance.

› SharePoint Tips and Tricks Part 3

Join 8,000 subscribers and receive instant access to

Devendra's Library of Resources for SharePoint Developers

About Author

Devendra Velegandla is a five-time recipient of Microsoft's Most Valuable Professional (MVP) award (2014-2019) for Office Apps and Services, 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.