Blog Posts

Wildcard search of Users using CSOM in SharePoint

In this blog, I will explain how to find users using ClientPeoplePickerSearchUser class. There are many ways in CSOM to get the users from SharePoint site or web but I did not find any proper way to perform wildcard search of users from SharePoint site using CSOM. For e.g lets, I want to find all users present in site collection where the first name starts with “John” or last name starts with “Patt”. This below-mentioned code sample will help us

Continue Reading

Add and Remove Site Columns from Site Content Type

In this blog post, I am going to add and remove site columns in existing site content type. Content types empower you to arrange, oversee, and handle content reliably across your sites. To view all content types used in the site collection. Open SharePoint site Navigate to site settings ->Under Web designer galleries -> Click Site content type or navigate to this url “<Site Url>+ /_layouts/15/mngctype.aspx” We can view all site contents type. To view details of the content type

Continue Reading

Configure SharePoint On-Premises Deployments for Apps in SharePoint 2019

This article describes how to configure the on-premise environment to support Apps in SharePoint 2019. Follow below steps to configure the environment: 1- Configure the domain names in DNS 2- Verify the newly created domain name 3- Configure the Subscription Settings and App Management service applications 4- Configure App URLs Configure the domain names in DNS: 1) In DNS Manager, right-click Forward Lookup Zones, and then click New Zone…. 2) In the New Zone Wizard, click Next. 3) In the Zone Type page, choose a Primary

Continue Reading

How to Create Web Part Page in SharePoint 2013/2016/2019 Programmatically using CSOM?

Basically, CSOM has not exposed any inbuilt functions which will help us in creating web part page template in SharePoint 2013/2016/2019. By using CSOM functions we can create wiki pages, modern pages and also publishing page but we cannot create web part pages. In this blog post I am going to use “Web Browser Control” to achieve this task. By using “Web Browser Control” we can create webpart page in destination page Library. We can create web part page by

Continue Reading

Retrieve SP list item’s column value in SPFx application customizer using PNP

This code snippet will help you to retrieve any column values of all list items present under a particular list. You just have to provide your list title and list field/column internal name in the following line: pnp.sp.web.lists.getByTitle(“My List”).items.select(“Title”, “Id”, “CustomField_1”, “CustomField_2”).getPaged() – In the above piece of code “My list” is SP list title and “Title”, “Id”, “CustomField_1”, “CustomField_2” are list field/column internal names. Accordingly: you can change these values on your end. This solution is brought to you

Continue Reading

Change User Regional Setting to “Always follow Web” using PowerShell

I have written this PowerShell script which is related to user regional setting. This below-mentioned code block will help us to change user regional setting to “always follow web” regional setting. This solution is brought to you by our SharePoint professionals. Softree Consulting employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements.

Continue Reading

Crud Operations on a List

This code block is related to create, delete, update and add list items to a custom list. This solution is brought to you by our SharePoint professionals. Softree Consulting employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements. Be it SPFx or SharePoint add-in developments, SharePoint 2019 developments, web part developments, migrating from

Continue Reading

How to Inject your Custom JavaScript in Modern Pages on Page Load

This SPFx functionality helps to inject your custom JavaScript file in your modern site pages on page load. This solution is brought to you by our SharePoint professionals. Softree Consulting employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements. Be it SPFx or SharePoint add-in developments, SharePoint 2019 developments, web part developments, migrating

Continue Reading

Get members from Office365 Azure Ad using Graph API

1.Create a WPF application 2. Add the below mentioned code in the App.xaml.cs page. 3.In mainwindow.xaml Add a button for calling the graph and a multiline textbox to show the result. I have attached the code below for mainwindow.xaml.cs Final Result:- This solution is brought to you by our SharePoint professionals. Softree Consulting employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the

Continue Reading

SharePoint 2019: Added and Depreciated Features

The strikingly easy user interface and versatile capability of SharePoint make it the most widely adopted platform by many organizations. With previous SharePoint versions fluidly working in harmony with many other technologies and helping people in the organizations to accomplish the most challenging jobs with perfection, everyone is eying for impeccability of newer version- The SharePoint 2019. With the announcement of SharePoint 2019 early this year, Microsoft offered insights into the newest features it aimed to bring in the new

Continue Reading

Site Footer