Solution: clientcontext.executequeryasync not working for Some Users

Reading Time: 1 minute Issue: While executing Asynchronous call to get users list or any SharePoint lists data executequeryasync function not working for some users. My requirement: When loading the page I need to get the user name and validate the user belongs to one of the group in SharePoint. First I created a code …

SharePoint Framework reaches general availability—build and deploy in production

Reading Time: 1 minute What is the SharePoint Framework? The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data and support for open source tooling. With the SharePoint Framework, you can use modern web technologies and tools in your preferred …

SPFX client-side web part with the WebPart Properties

Reading Time: 4 minutes The Modern SharePoint Framework have a new WebPart Property pane.The property pane allows end users to configure the web part with a bunch of properties. The property pane has three key metadata: Pages Pages provide you the flexibility to separate complex interactions and put them into one or more pages. …

How to create new Web Part to an existing in SPFx Project

Reading Time: 2 minutes In this article, I am showing How to create new Web Part to an existing  in SharePoint Framework Project. When Creating a new SPFx project using the SharePoint Yeoman generator you can add a new Web Part, Always everyone prefer same project with multiple web parts. Step 1: Create new folder Go …

Deploy SPFx client side web part to a SharePoint library

Reading Time: 2 minutes In this article, you will deploy the client side webpart to a SharePoint Library. SharePoint Framework build tools provide out-of-the-box support for deploying to an Azure Storage account, but this involved extra cost. Azure Storage account is the best practice to maintain our webpart. Prerequisites Setup SharePoint Tenant Setup your machine First Webpart In …

Clone or Copy SharePoint Pages/Sites Pages Library Files, Folders and Webparts from one site to another using CSOM

Reading Time: 3 minutes Always we have a limitation to copy the pages and Site Pages to another site Issues Copy a page across different site collections Moving SharePoint Pages from one site to another Publishing feature enables site it is not supported to migrate root sites into sub sites or sub sites into …

Clone or Copy SharePoint document Library Files and Folders from one site to another using CSOM

Reading Time: 2 minutes While migrating share point documents we need to migrate document Library Files and Folders from one site to another. It is easy to copy the files from one document library using the Open with Explorer command under the Library tab in Library Tools, but it won’t copy the meta data. Also we …

SharePoint display templates – Link to “open in browser” with Office 365 Online

Reading Time: 2 minutes In Office 365 SharePoint, you probably want to take advantage of Office 365 on-line to to open and edit Office documents (Word, Excel, Power Point, One Note, PDF, etc…) in the browser. All the document libraries Microsoft implemented, if you are using search results display templates (like Two Lines template), …

Unable to Edit SharePoint Office files in IE – The file is corrupt and cannot be opened /The URL for this file is too long for the application

Reading Time: 2 minutes While Edit the Office files in SharePoint, if you receive below errors The file is corrupt and cannot be opened The URL for this file is too long for the application.  A temporary copy of this file will be opened on your computer.  You must save this copy as a …