Changing the Access Requests Settings of a SharePoint Online site with JavaScript (JSOM)

Recently I got a requirement from a client that wanted to be able to modify the Access Requests Settings of a SharePoint online site to: Prevent users from Sharing the site and individual files and folders. Prevent users from inviting others to the site members group. Prevent non authorized users from sending access requests. This needed to b...

Continue Reading →

Linking a custom column to the Item and the Item Menu on SharePoint

Sometimes, you might want to link a custom column to a SharePoint list item and item menu rather than the default Title column. This post will show how to link any column to a SharePoint item and to achieve it using JavaScript and the SharePoint Client Object Model.There are four properties from the SPField class that need to be modified in orde...

Continue Reading →

Setting the document template for a content type in SharePoint Online with PowerShell

In my previous post, apart from creating a content type using PowerShell, I also showed a way of setting the document template of the content type. In that scenario I used a document template already uploaded into a normal SharePoint document library. In this post, I’m going to demostrate another way to set the document template of a content typ...

Continue Reading →

Creating a content type with its document template on SharePoint Online using PowerShell

Recently I had a requirement where I needed to create some content types with their own Document Templates using PowerShell. With the following function I was able to create a content type in a SharePoint Online environment and set up the document template I wanted. The function assumes that the document template has already been uploaded to the...

Continue Reading →

Attaching to the correct process when debugging a SharePoint On-Premise solution

When I started working with SharePoint and wanted to debug a WebPart that I was developing, I used to attach the visual studio instance to all the “w3wp.exe” processes running in the server. In this post I will show an easy way to attach Visual Studio to the process that is running the web application you are working on and not all the “w3wp.exe...

Continue Reading →

© 2018 js 231 sp All Rights Reserved.
Theme by hiero