SharePoint

How to return custom date format with localization in TypeScript / JavaScript

Obviously, true developers prefer to return the date in a digital format, for example, ‘24.01.2024’, ’24-01-2024′ and various combinations of this. But customers often want to work with human dates. In this post you can find how to return the custom localized date and how to use it with a Fluent-UI component DatePicker. Read more»

TypeScipt / Javascript

Get Groups for AD User with PowerShell or C#

In apps with different Roles and permissions you may need to get information about AD Groups. Here are some snippets which can help you with this part of the task. Read more»

.Net & C#

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

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

Add external CSS or styles to SPFX solution

SharePoint 2016 Logo

When I started to work with SPFX solutions for SharePoint, I couldn’t understand how to load external CSS files. I came up with one solution, but it was a crutch. I did it with embedding <styles> tag into JSX. It looked like this: Read more»

React

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

EventCalendar by Mobiscroll – month timeline to fit screen

SharePoint 2016 Logo

I used EventCalendar component with resources and timeline view, the default interval is 1 month, I also add week numbers to the header. I wanted to fit the calendar to the page without horizontal scroll. Read more»

SharePoint

Popular Posts