web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Use Launch function to...
Power Apps
Unanswered

Use Launch function to set a variable in another canvas app?

(0) ShareShare
ReportReport
Posted on by 294

Hi everyone,

Is it possible to set a variable in another canvas app using the Launch function? I would like the user to select a button that will open up another canvas app with a popup already triggered. The popup is triggered by setting a variable to "true".

If this is not possible using the Launch function, any suggestions on how to do this?

Thanks!

Categories:
I have the same question (0)
  • EdViegas Profile Picture
    436 on at

    You need to implement Param function in the launched app. The process is quite simple. First you need to add a condition in the App OnStart property 

    If(
     Param("myvar") = "popup",
     Navigate(
     Screen1,
     ScreenTransition.Cover,
     {
     VarPopUp: true
     }
     )
    )

     Then, append param name and value to app's url like

    Launch("https://your_app_url?myvar=popup", {}, "New")

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

  • karimabdelrazek Profile Picture
    294 on at

    Hi @EdViegas . Thank you for your reply. I am not able to add any "Navigate" commands to the OnStart property of the app. If I'm not mistaken, adding Navigate commands is no longer supported in the OnStart. Any ideas on how to overcome this?

  • Verified answer
    v-yujincui-msft Profile Picture
    on at

    Hi @karimabdelrazek ,

     

    Maybe you could try to create a new Screen and add a Timer Control to it, then select the Timer Control and apply the formula provided by @EdViegas .

    vyujincuimsft_0-1652775370759.png

     

     

    Best Regards,
    Charlie Choi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard