Powerapp to manage site designs and scripts

%3CLINGO-SUB%20id%3D%22lingo-sub-360064%22%20slang%3D%22en-US%22%3EPowerapp%20to%20manage%20site%20designs%20and%20scripts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360064%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20you%20are%20managing%20site%20designs%20and%20scripts%20in%20your%20tenant%2C%20you%20may%20find%20this%20Powerapp%20useful.%26nbsp%3B%20I%20built%20this%20to%20make%20it%20easier%20for%20our%20internal%20team%20to%20update%20these%20without%20needing%20to%20use%20Powershell%20or%20custom%20code.%3C%2FP%3E%0A%3CP%3EThe%20Powerapp%20uses%20Flow%20and%20the%20Send%20HTTP%20to%20SharePoint%20action%20to%20call%20the%20REST%20API's%20for%20managing%20scripts.%26nbsp%3B%20You%20can%20add%20scripts%20to%20a%20design%20including%20adding%20new%20scripts%2C%20delete%20scripts%20and%20designs%20and%20add%20and%20update%20designs.%3C%2FP%3E%0A%3CP%3EThings%20to%20note%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EYou%20need%20to%20be%20a%20SharePoint%20Administrator%20role%20to%20call%20these%20API's%3C%2FLI%3E%0A%3CLI%3EThere%20is%20no%20error%20handling%20except%20you%20will%20see%20the%20Flow%20fails%3C%2FLI%3E%0A%3CLI%3EYou%20need%20to%20create%20a%20blob%20storage%20to%20put%20the%20uploaded%20image%20as%20the%20Add%20picture%20control%20does%20not%20have%20a%20DataURI%20format%3C%2FLI%3E%0A%3CLI%3EImages%20are%20added%20to%20Site%20Assets%20in%20SharePoint%20root%3C%2FLI%3E%0A%3CLI%3EYou%20need%20to%20update%20the%20settings%20to%20your%20blob%20storage%20location%3C%2FLI%3E%0A%3CLI%3ESome%20User%20Experience%20updates%20needed%20to%20make%20it%20easier%20to%20use%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-360064%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Contributor

If you are managing site designs and scripts in your tenant, you may find this Powerapp useful.  I built this to make it easier for our internal team to update these without needing to use Powershell or custom code.

The Powerapp uses Flow and the Send HTTP to SharePoint action to call the REST API's for managing scripts.  You can add scripts to a design including adding new scripts, delete scripts and designs and add and update designs.

Things to note:

  • You need to be a SharePoint Administrator role to call these API's
  • There is no error handling except you will see the Flow fails
  • You need to create a blob storage to put the uploaded image as the Add picture control does not have a DataURI format
  • Images are added to Site Assets in SharePoint root
  • You need to update the settings to your blob storage location
  • Some User Experience updates needed to make it easier to use
0 Replies