Skip to main content

Posts

Showing posts with the label Microsoft Sharepoint

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

Useful commands for SPFx development

In this blog, we are going to learn all the commands which are very useful in developing SharePoint Framework client side solutions. These commands are useful in both web parts and extensions development using SPFx Framework. You can install node modules and use them in SharePoint Framework and either you can use things from CDN also. Clean and build the SharePoint Framework (SPFx) client side solution. gulp clean gulp build Create app package of SharePoint Framework (SPFx) client side solution. gulp bundle --ship gulp package-solution --ship Install Jquery in  SharePoint Framework (SPFx) client side solution. npm install jquery --save npm install @types/jquery --save-dev Install bootstrap in  SharePoint Framework (SPFx) client side solution. npm install bootstrap --save npm install @types/bootstrap  --save-dev Install bootstrap with a specific version in  SharePoint Framework (SPFx) client side solution. npm install bootstrap@4 --save npm install @types/bootstrap@4 ...

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

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 get the Sharepoint Field Internal name by display name using CSOM

In this article we are going to learn  “how to get the sharepoint internal field name using the display name” of field. To perform any operation on the field. First we need to get field collections, every SharePoint list have fields and we can get it as FieldCollection . By iterating the field collection we can get information about all the fields. Call the method and pass the context , name of the list from which you want to get data and display name.  GetInternalFieldName( ClientContext clientContext ,string listName, string fieldDisplayName){        string fieldInternalName= " ";        var web = clientContext.Web;       clientContext.Load(web);       List listEventSource = web.Lists.GetByTitle(listName);       FieldCollection fields = listEventSource.Fields;       IEnumerable<Field> fieldsColl = clientContext.LoadQuery(fields); ...

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