SharePoint

PowerShell script to update SharePoint online list items

I had a SharePoint online list and I added a new column into it. And then I wanted to work with a data, which is close to be real. So I needed to generate the data and insert it into the list. For the tasks like this I like to use division by module to […] Read more»

SharePoint

Nice way to store Connection strings for external databases in Secure Store SharePoint 2019

SharePoint 2016 Logo

How to store credentials? It’s always a question because nobody wants to demonstrate the passwords, neither for the databases, nor for web services or anything else. SharePoint has a built-in tool to store a sensitive data – technical user accounts, databases or any data like this.  Here is how to create variables in the secure […] Read more»

SharePoint

Determine with C# if a user exists in the SharePoint group or in the included AD Group

SharePoint 2016 Logo

Class to determine if a user is in the SharePoint group or is in the AD Group, which is added to the SharePoint group. So, the admin access to a custom SharePoint module is that everybody, who exists in the admin group, has more data. The admin group is a SharePoint group, which contains SPUsers […] Read more»

SharePoint

Fix the error for SPFX development ‘Access to XMLHttpRequest at … from origin … has been blocked by CORS policy’

SharePoint 2016 Logo

While the development SPFX for SharePoint 2019 once the loading of the webpart at ‘workbench.aspx’ page stopped. SharePoint server is installed at my virtual machine, the development of SPFX is local. At first I totally could not understand what’s wrong. But soon started to look for the reason. Read more»

SharePoint

8 steps to add SVC service to SharePoint on-premises solution programmatically

SharePoint 2016 Logo

When you make a SharePoint 2019 on-premises solution, you can make not only SPFX solutions, but also old-school WSP-solutions. It allows you not only to use SharePoint API, but also to use your own API services. With SharePoint 2019 you can use WCF service. For example, it’s a good way when you develop an application […] Read more»

SharePoint

Get Author Email from SharePoint Rest API request

SharePoint 2016 Logo

If you want to get the Author login from the SharePoint object, for example, list item, you should use ‘expand=Author’ in the query. It’s necessary, but not sufficient. There’s one more option, which you must use. Read more»

SharePoint

How to find and use FluentUI Icons in SPFX applications

SharePoint 2016 Logo

Icons make a better view to any application. And for a developer it’s always a problem to find how to use Icons and especially where to find them. If you work with SharePoint Online solutions, this will help you (and also me) to find a place of icons and how to use them. As far […] Read more»

SharePoint

Fix System.UnauthorizedAccessException with C# code for SharePoint on premise service

SharePoint 2016 Logo

I developed a service for SharePoint 2019 (on premise) and this service should move files from document library to an external storage. The client part is made with SPFX solution – command set. It added buttons to the interface of the document library. Read more»

SharePoint

How to make workbench.aspx for a full width solution in SharePoint online and SharePoint 2019 OnPrem

SharePoint 2016 Logo

When you are developing SPFX application for SharePoint online, you use a page https://{sharepoint_url}/sites/{some_subsite}/_layouts/15/workbench.aspx. For non-fullwidth webparts it fits normally, but if you need to create a wide or full-width webpart, it’s not very comfortable. Read more»

SharePoint

Rename SharePoint List Field with PNP

SharePoint 2016 Logo

While writing the script to create lists for my solution for SharePoint Online I had to rename Title field in a list. It’s not so obviously as just to create a new field. Read more»

SharePoint

Popular Posts