Skip to main content

Posts

Showing posts with the label SharePoint online

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

How to find app catalog site URL in SharePoint Online

SharePoint App Catalog is a special site collection that holds all custom solutions, apps. App catalog is used to deploy the custom solution like SPFx solution package or SharePoint add in app package or other solutions. But, when you have  large number of sites in your sharepoint environment and user do not know the url of  app catalog site then question will came in mind of user, How do I find the app catalog in sharepoint online , How do i get url of app catalog site in sharepoint  etc. We will provide you the ways to easily locate app catalog site in sharepoint online. Option 1: 1 Sign into Office 365   as a global or sharepoint admin. 2 Go to the apps and select Admin .  3 Now under the Admin Centers click on the SharePoint admin center . 4 In SharePoint admin center, go to the Active sites. 5 Now go to the right section where all the sites are listed and filter by template with " App Catalog Site ". 6 Once you apply the filter SharePoint App catalog site...

Site Assets Library missing in SharePoint Online

 In SharePoint online when you create a communication site and you go to Site contents and search for  SiteAssets, you will not find  SiteAssets Library.  It will get created when you set a site logo or when you enable site feature. This article will answer your questions like  Site assets missing in sharepoint online? or Site assets library missing in communication sites? There is several options available to get the  SiteAssets  library.  To get the SiteAssets library back by this options: Option 1 : 1. Click on the gear icon and then Change the look option. 2. Then move to the Header section and set the Site Logo . Once you set the site logo.  SiteAssets  library will get created. Option 2 : By enabling the site collection features, we can achieve it. 1.  Go to your Site collection  and  click on “Site Information”.   2. Go to Site Settings   and  click on “ Site Collection Features ” under the Manage ...

Update list metadata Created By,Modified By, Created,Modified Field using PowerShell

In this article, we are going to learn "How to update list metadata using PowerShell". In some cases  we want a particular person to be the created by and modified by and we also want to update the time stamp of modified at and created. We can achieve this using PowerShell. Power shell to update Created By,Modified By, Created,Modified field values --Load SharePoint CSOM Assemblies-- Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"     -- Replace the tenantName and listName with your site name and list name -- $SiteUrl = "https://tenantName.sharepoint.com/sites/training/" $ListName= "listName" $ID=1 ---- Replace the Username and Password with your one-- $Username = "userId"   $Password = "pwd" |  ConvertTo-...

Permission XML for SharePoint Add-in

In this article, we will be discussing the permission XMLs, which are used to provide permission to SharePoint add-in. Permission XML for the SharePoint app. You can set the App only permission, by setting "true" or "false" in  AllowAppOnlyPolicy=“true” in these permission XMLs.   If add-in granted permission to tenant scope, It includes all children in scope. Before granting access to the app, need to register an app. Follow this link for step by step guide to  How to register an app/add-in in SharePoint   Providing access to add-in at tenant level: To provide access at tenant level user must have the tenant admin level permission. To grant this permission tenant admin can use this URL   https://tenantName-admin.sharepoint.com/_layouts/appinv.aspx Search the App Id (Client ID) and it will fetch all the information which you provide at time of registration of app.   Assign full control at tenant level : <AppPermissionRequests AllowAppOnlyPolicy=...

"You can't add this app here" error in SharePoint

Once you add your app to app catalog and then you go to the site collection and you select the add an app option, and you search the app and you see the error message “You can't add this app here”.  You can't add this app here is the common issue users get while installing the SharePoint apps or SPFx packages.   This is a generalize message shown in various situations. You can check the reason on clicking "Find out why". Some of the causes and there solutions are listed below:  Cause 1 : Good news - you already have this on your site.   First Scenario : Meaning of this message is that app is already added on the site, go to the Site content and check that app is already exist or not, If exist and still you want to add it, uninstall the app and also remove it from the recycle bin and then you will be able to add this app. Second Scenario :  If you checked the site content and app is not installed, go to the recycle bin (also to admin recycle bin ) and if app...

"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 ...

Issue while embedding content using iframe in SharePoint

In this blog post, we'll explore the necessary settings required prior to embedding code within a SharePoint page. Failing to configure these settings correctly may result in issues when utilizing the embed code.  The HTML field security setting is useful to allow or restrict the ability to embed content on SharePoint pages if you use external images in JSON formatting.  Common issue like: External Icon/Image URLs not working in JSON Formatting. Embedding content from this website isn't allowed. "Embedding content from this website isn't allowed, but your admin can change this setting. They will need to add 'www.techrobbers.com' to the list of sites that are allowed." This issue came when you try to add embed code from the site which is not added into the "Allow iframes from this domain". To embed the content from the site you need to add the site in the  HTML Field Security . To resolve this issue, follow steps mentioned below: 1. Click ...

Utilize the out of the box web parts and add social media feeds on modern pages SharePoint online

In this article, we are going to learn, how to add social media feeds. There are several web parts available out of the box to add social media on the modern page. Those web parts are quite useful in building the intranet. Add social media feeds to the SharePoint page. To add twitter feeds to on the page, follow the steps mentioned below: 1. Edit the page and click on the add icon for adding the web part. 2. Search for the twitter web part and add it. 3.  Now go to the web part properties and add the twitter handle you want to add.  You can also change the theme color and the numbers tweets to show on-page. 4. Once you done all the settings. Republish the page. You can embed Facebook public feeds on your site by following these steps:  First, we need to get embed code from  Facebook page plugin .  Now paste the Facebook page URL and set the height - width.          3.  Now click on the get code. Select IFrame and copy the code. ...

Provisioning list through SPFx solution

In this article, we are going to learn H ow to provision SharePoint  assets with SPFx  and  How to provision multiple instance of assets with SharePoint Framework Solution(SPFx) . SharePoint Framework tool chain allows us to package and deploy SharePoint items with SPFx solution. We can  also  provision multiple list instances with SharePoint Framework solution. Follow the steps mentioned below to provision list instance with the SharePoint framework solution: 1. Once you are ready with your SharePoint Framework solution. 2. Create folders for the SharePoint assets:      A.  Create folder with  " sharepoint"  name  to the root of the solution.        B. Create folder with "assets" name inside the " sharepoint " folder.    3.   To provision SharePoint assets to sites with SharePoint Framework(SPFx), we need to create the required xml files.    ...