1.Create a WPF application 2. Add the below mentioned code in the App.xaml.cs page. [code lang=”c”] private static string ClientId = “0b8b0665-bc13-4fdc-bd72-e0227b9fc011″; private static PublicClientApplication _clientApp ; public static PublicClientApplication PublicClientApp { get { return _clientApp; } } static App() { _clientApp = new PublicClientApplication(ClientId); }[/code] 3.In mainwindow.xaml Add a button for calling the graph and a multiline textbox to […]
Get members from Office 365 Azure Ad using Graph API
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 […]
SharePoint Modern Sites to Load SP Components on Page Load
This code block is related to SPFx development. This below-mentioned code block will help us to register these specific JavaScript libraries in modern pages. This solution is brought to you by our SharePoint professionals… Softree Consulting has a team of excellent SharePoint consultants that aims to help companies achieve exceptional performance through SharePoint. Our steadfast team of SharePoint consultants is […]
Across academic and scientific institutions, companies around the world.
Must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give ut you a complete account of the system, and expound the actual teachings of the great explorers of the truth, the seds master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do pleasure rationally encounter consequences
Control allows you create a control where users can upload images
Must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give ut you a complete account of the system, and expound the actual teachings of the great explorers of the truth, the seds master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do pleasure rationally encounter consequences
Create Blank Site Template
For one of my requirement, I was trying to create a Blank Site Collection on SharePoint 2013. To do so, I navigate to Central Administration -> Create Site Collections. But I could not see the template called a Blank Site Collection listed on the Create Site Collection Page. Then later identified that the Blank Site Collection template, by default will […]
Create Custom List View using JSCOM
This below-mentioned code block will create the custom list view in a specific list. You can also set your custom view fields while creating the list view. [code lang=”c”] var oContext = SP.ClientContext.get_current(); var oWeb = oContext.get_web(); var oList = oWeb.get_lists().getByTitle(“MyList”); //Enter title of your list hostContext.load(oList); hostContext.executeQueryAsync(CreateListView(oContext, oList), function (sender, args) { //On Error console.log(args.get_message()); }); function CreateListView(oContext, oList) […]
Modify User Regional Setting using SharePoint JSCOM
This article will help you to change the user regional setting based on supported ui languages presents on SharePoint online site. [code lang=”c”] <a href=”http://blog.softreeconsulting.com/wp-content/uploads/2017/01/userregionsetting.png”><img class=”aligncenter size-full wp-image-669″ src=”https://blog.softreeconsulting.com/wp-content/uploads/2017/01/userregionsetting.png” alt=”userregionsetting” width=”1018″ height=”348″ /></a> SP.SOD.executeFunc(“sp.js”, “SP.ClientContext”, function () { SP.SOD.registerSod(“sp.userprofiles.js”, SP.Utilities.Utility.getLayoutsPageUrl(“sp.userprofiles.js”)); SP.SOD.executeFunc(“sp.userprofiles.js”, “SP.UserProfiles.PeopleManager”, ManageUserRegionSetting); }); function ManageUserRegionSetting() { var oContext = SP.ClientContext.get_current(); var web = oContext.get_web(); var peopleManager = new SP.UserProfiles.PeopleManager(oContext); userProfileProperties […]
How to Set Permanent Redirect in SharePoint Online for a Clean User Experience?
In case you ever feel the requirement of setting stable redirects in SharePoint Online, you can consider different ways to do that. However, for a clean user experience we have one solution that you might like. Whether you have a marketing site collection or a home site collection, redirects may look incredibly simple, but in some cases it is not. […]
How to Create Metadata?
Many of us have been told that metadata is very essential and should be implemented in our SharePoint environment. Furthermore, we are also instructed how to import managed metadata into SharePoint. You might think that it is that easy to covert nested folders in to metadata magically. However, there is sort of a challenge, which is “how to have the […]