cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
clphumi
Frequent Visitor

Launch a canvas app from another canvas app - What should be the value of parameter Record?

Hi, 

 

I would like to launch a canvas app from a button in another canvas app. I searched for the code but have no idea on the parameter required.

 

Launch and Param functions in Power Apps - Power Apps | Microsoft Docs

 

Launch( "/providers/Microsoft.PowerApps/apps/YOUR-APP-ID",
        { Navigate: "Second Screen", Record: 34 }
)

 

In the tutorial, it is told to fill in the App ID, Navigate Page name, and Record.

What should be the value for the Parameter "Record"?

 

Thanks

3 REPLIES 3
shoog
Solution Specialist
Solution Specialist

If your second app doesn't need any parameters (read using the Param function), you can just leave the parameter section blank.

clphumi
Frequent Visitor

Thanks for your reply shoog!

 

Actually I have tried not adding any parameter because my second one do not need one, like:

Launch("/providers/Microsoft.PowerApps/apps/YOUR-APP-ID");

But it turns out the app lead to the PowerApps maker page instead of the second app 😞

 

clphumi_0-1637225700952.png

 

shoog
Solution Specialist
Solution Specialist

That should work, most likely there is a typo in your app-id.

Make sure you copy and paste the App ID from the details page of your app.

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (3,244)