Skip to main content


Showing posts from October, 2019

How to save list template in SharePoint ?

In this blog, we are going to learn, how to save the list as a template. We can save the list template with the content and without content also but there is a restriction of size for the content.

Using this list template we can create a list with the same structure(same column name and same type) anywhere we wanted to. In Modern SharePoint, we need to enable custom scripting to view this option.
Please follow these steps to save the list as a template.
1. Navigate to your target list which you want to save as a template.

2. Click on the List setting.

3. Now click on the Save list as template.

4. Now give a file name and template name, you can also check the include content option if you want to save the template with content but there is a limit for the content size and if you want to save the template without content do not check the include content option and click on OK.

5. After clicking on OK. Click on the list template gallery to view your template. You can also download that …

How to clear sharepoint designer cache?

SharePoint designer may not work as expected, sometimes when you try to connect with the SharePoint site and you face the issue also when you try to create SharePoint designer workflow you may get some issue. To correct this SharePoint designer error you need to clear the cache and to clear the cache of SharePoint designer follow the steps.

Follow the steps mentioned below:
Press window key + R and paste the location one by one.
1. %APPDATA%\Microsoft\Web Server Extensions\Cache
2. %APPDATA%\Microsoft\SharePoint Designer\ProxyAssemblyCache
3. %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache
4. %APPDATA%\Microsoft\SharePoint Designer
Once you remove clear the cache and restart the SharePoint designer, it starts working and if still not worked. You need to check this blog SharePoint designer error.
Happy coding!!!!!

How to check which permission user have on the list.

In this blog, we are going to learn how to check the permission of the user on the list. Some times we need to show and hide several things as per the permission assigned to the user. SharePoint has different permission levels.

We are using the function of "sp.js", to use function of sp.js we need to include the sp.js file.
In this example, we are checking for the delete permission.

SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function () {

function checkPermssion(){
var web,clientContext,currentUser,oList;
clientContext = new SP.ClientContext.get_current();
web = clientContext.get_web();
currentUser = web.get_currentUser();   
 oList = web.get_lists().getByTitle(' List Title');
 if (oList.get_effectiveBasePermissions().has(SP.PermissionKind.deleteListItems))