Skip to the content

Launch a Canvas PowerApps from SharePoint List "New" Button

You can launch a Canvas Power App by clicking the new button in a SharePoint list, by setting the Customised SharePoint List form to open your Power App.

  1. Go to your list, Expand the dropdown Power Apps >> and click on Customize forms
    Power Apps will open. 

  2. In the Tree view you will see SharePointIntegration and FormScreen1. Delete all the Data cards under FormScreen1.

  3. Select the SharePointIntegration and choose the property OnNew and enter:

    Launch("https://apps.powerapps.com/play/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX?tenantId=XXXXXXXX-XXXX-XXXX-XXXX-XX...");
    RequestHide();


    The launch URL is the WebLink of the Power App you would like to run plus "&hidenavbar=true"

    The WebLink can be found in the Power App Details screen.




    You can also pass additional parameters for example &ID=0 and in your Power App App>>OnStart you can handle the parameter. For example:

    If(Param("ID")=0,NewForm(FORMNAME))


    When all done save your "Customised SharePoint List form" and Publish it to SharePoint.
    When you click on the new button in your list your Power App should launch.

About the author

Giorgio Capisani

Giorgio Capisani

I am an experienced IT professional specialising in Microsoft technologies (SharePoint 2010/2013/Online, Power Platform, Office 365), with over 10 years of experience in large public and private sector organisations. 

comments powered by Disqus

Tech

Visit my blog

So you landed on my website … Why not have a look at my blog and leave a comment or ask a question.