Omar El-Anis – 365 Developer

My experiences with SharePoint, Flows, PowerApps, JavaScript and all of the other lovely web technologies out there!

SharePoint Services

Start a workflow programatically using JavaScript & JQuery

A few projects I’ve worked on required the need to start a workflow programatically using JavaScript, this is achieved by having the user click a link somewhere (such as in an e-mail) which takes them to a page where the…

Export all tags from the term store taxonomy in SharePoint Online

To extract all of the terms within a term store taxonomy use the following PowerShell script changing the fields to match your own tenancy details

Add a new User Custom Action to a site collection in SharePoint

Use the code below to create a new User Custom Action which will automatically run on ALL pages within a site collection, this is very useful for creating global design themes or code files that you want to run across…

Get all custom user actions on a site collection in PowerShell

If you ever need to get a full listing of all of the customer user actions setup within a site collection this is a simple way of achieving this, simply enter the code in PowerShell and update the relevant fields…

Enable or disable a site feature in SP 2013/Online

Use the code listed in the embed below to add or remove a feature on a site – un-comment the relevant section to set the script to enable or disable the feature

Create Modern Communications site in SharePoint Online using powershell

With the introduction of Modern Sites in SharePoint there are a few ways you can create Modern sites including via the GUI screen, however what do you do if the creation of sites has been locked down to only allow…

Create Modern Portal SharePoint site in SharePoint Online using powershell

Use the script below to create a new Modern Portal site within SharePoint Online using c# PowerShell

Programmatically check-in files in a library

Use the code below to programmatically check-in and publish all files within a document library in SharePoint Online

Setting up app access from SharePoint to Azure Active Directory via Microsoft’s Graph

If you’ve ever come across the problem of not being able to access certain information outside of sharePoint then you’ll probably need to take a look at Microsoft Graph, the multi-platform API repository for connecting all of Microsoft tenancy services…

Code Snippet JavaScript JQuery SharePoint Services SharePoint Workflow SP Workflowservices

One very useful tool at our disposal is the ability to start Workflows via JavaScript with the use of JQuery (you can replace the JQuery parts to make it full JavaScript if required) This is great for creating custom actions…