Skip to main content

Posts

Showing posts with the label Modern SharePoint

Introduction to SharePoint site template and site script

In this article, we are going to learn about site templates, site design, and site scripts in SharePoint online. We will also create one template in SharePoint online. SharePoint's site template feature gives us the flexibility to do a common set of things on a SharePoint site. SharePoint templates can also be used on SharePoint sites that already exist, such as the Team site or Communication site. You can make site templates with common features like lists structures , or custom actions so that your users can quickly build new SharePoint sites with the same features by applying the templates. There are two parts to the site template. One is site design, and the other is site script, First, we'll figure out these two things. Site Script:    A site script is a JSON file with a list of actions that will be run when you apply site design. Site Design: Site design act as a container of the site script. Site scripts are attached to the site design, you can attach more than on...

"Append Changes to Existing Text " in SharePoint document library

You want to add a multi line text field in document library, which allows to append changes to existing text. When you create a multi line of text field in library and there is no option available to do this. In this post you will also get answer for the question "Append Changes to Existing Text" option is missing in SharePoint document library. There is no option available for "Append Changes to Existing Text " in SharePoint document library but this option is available in the List. But, you can get the append able column in SharePoint document library by following the steps mentioned below: Create a site column: 1 Go the Site Settings and click on the " Site columns " under "Web Designer Galleries" . 2 Click on the Create . 3 Give the name to the field and select "Multiple lines of text" and " Append Changes to Existing Text " to  Yes.  Add site column to document library: 1 Go to the Library Settings and Click on the ...

Everything you want to know about sharepoint groups

SharePoint group is collection of users. SharePoint group is useful when you want to assign a common permission to multiple users at once instead of assigning permission to one user  at a time. How to create a group in SharePoint?  To create a group in SharePoint, follow the steps mentioned below: 1 Navigate to your site and click on gear icon. 2 Click on the Site information and one section will appear. 3 From site information section, click on the “View all site settings” 4. You will be redirect to the Site settings page. Now move to the click on “ People and groups ” under the “Users and Permissions” section. 5 You will be redirect to the People and Groups page. Click on the “Groups” option available on top of the left panel and you will be redirect to the groups page. 6  Now click on the “New” option.   7. Now you are at Create group page. Type the name in textbox next to the “Name” field and choose the appropriate permission as per your ...

Create document library using SPFx solution

 In this article, we are going to learn how to create(provision) document library programmatically. We can create a list or document libraries programmatically with the SPFx solution.  In my previous article, I wrote about the  Provisioning of list with SPFx web part solution . SPFx provides flexibility to provision SharePoint assets with the solution. In this article, we are going to provision a document library. Create a client-side web part solution  Follow the steps for creating a client-side web part solution, run the commands using command prompt. Create a directory md test-webpart Move to the directory cd test-webpart   Run yo @microsoft/sharepoint command to create a client-side web part. Once you run the command mentioned above, you need to put some information related to the web part solution   What is your solution name? Give the name to your solution.  Which baseline packages do you want to target for your component(s)?  On w...

How to create sharepoint list using excel

List is important part of SharePoint. Feature to create list from spreadsheet is very useful. User can create the list using spreadsheet/excel using add list option in site content. Create a SharePoint List from Excel: 1. Log in to your tenant and move to the site . 2. Now navigate to the Site content and click on the New option and select List .   3. Select the From Excel option and Upload file or you can choose file from site also.   4. File you uploaded, if it's not in the table format, you need to do that.   Click on the link Go to file in this example it is Expense Info.xlsx, present above to the Refresh option.  Select the cells and Click on the Format as table.  Refresh it. 5. Once you refresh it, Give the name to the list and check the column type, if it's not appropriate you can change this from column type drop down. Now click on Create . 6. Now your list is created. Note: In this example I used date in one column but when I imported that excel,...

How to check user permissions for site using CSOM in SharePoint Online

In this article, we are going to learn, How to get the user permission on the site using csom or how to get the user permission programmatically, to get the permission of the user on a particular site we use GetUserEffectivePermissions() method in csom. In the SharePoint, user requires permission to perform any operation, when we work with provider-hosted add-ins and in some scenarios, we need to check the permission of user we use the GetUserEffectivePermissions() method and by passing the user name we get its effective permission on the site.  In this example, We have created a console application to check whether the user have edit person or not on site.  Pass the context of the site and email of the user into a method to check the permission of the user on the site. You must ensure users on the web before checking permission.  using System;   using System.Security;   using Microsoft.SharePoint.Client;   namespace PracticeC...

Save site as template option in sharepoint online

In this article, we are going to learn about "save site as template option missing in sharepoint". When  you want  to replicate a site that you have already created and to do this you want to save site as template. To save site as template,  you go  on  Site setting   and then   move to  Site  action,   but you did not  find  the option “ Save site as template ” option.    In the modern sharepoint "save site as template" option is not enable by default. There are several option available to enable "save site as template".   Optione 1: Custom script is not allowed  on tenant  : On the new office 365 tenants or we say in Modern SharePoint experience by default the custom scripting is not allowed  on the tenant. If custom script is not allowed on your tenant some features will not work  o n your tenants. In common terms you may not able to  save site as template , options to creat...