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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Manipulate URL

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have a URL parameter ticketid: "https://apps.powerapps.com/play/appid?ticketid=" + id_variable

 

I also have a timer object on my Homescreen. The timer navigates to a Form view (checks URL for ticketid parameter every 600ms) and loads the ticket with the id in the paramater.

 

When Im done editing that ticket and I click my save button or cancel button, I navigate back to my homescreen. However the logic in the Timer object gets executed again and im send back to the Form view.

 

Is there a way for me to write some code that will remove my URL parameters when I click on my save or cancel buttons?

 

The app works fine when I open it without the parameter.

 

 

---------------------------

 

What could also be a workaround for me atleast is the load("www.etc.com") function but it opens up a new tab which should not be the case. Is there a funtion that changes the URL of the current tab (where the powerapp runs).

 

 

Kind Regards

 

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @Anonymous ,

    I do something similar but for a difference reason (dynamic URL depending on whether the app is on a PC or mobile device).

    Simply make the URL a Variable and change it to "" when you don't want it to launch.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I never thought about that, thank you ill try it as soon as i can, 😀

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sadly it did not work with a variable...

     

    It would aso be a problem when you use multiple deeplinking mails....

     

    Timers for me seem to not work.

     

    However I found a solution to my problem

     

    I now use the Apps OnStart property to check if there is a Url param and trigger the entire logic if so.

     

    this video helped alot:

    https://www.youtube.com/watch?v=EZyxlYtzqTQ

     

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    HI @Anonymous ,

    I assumed you were doing this from the start - the Variable certainly works as I use it on about 20 apps.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes I needed to trigger some code when the apps gets opened. Start works just fine for that

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard