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 Platform Community / Forums / Power Apps / Launch external URL us...
Power Apps
Unanswered

Launch external URL using field value as parameter

(0) ShareShare
ReportReport
Posted on by 11

Hi,

 

I am struggling with launch syntax that would enable me to pass the value of a datafield as a parameter when I click a button. for example, if I wanted to pass the value of MyField to the URL to get the resulting URL opened in the browser where the value of MyField = '123'. The final URL would be: "https://somewebsite.com/account/account.nl?id=123"

 

Any guidance is appreciated. 

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

    Hi @ckelsoe ,

    Try

    "https://somewebsite.com/account/account.nl?id='" & MyField" & "'"

     

    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.

  • CK-22072023-0 Profile Picture
    11 on at

    Hi @WarrenBelz ,

     

    This example helped me a lot. I could not get the exact example to work as expected - I cannot figure out the reference to MyField directly. What I was able to get working is to pull the value from MyField_DataCard via Launch("https://somewebsite.com/account/account.nl?id=" & DataCardValue6).  While this works, I really do not want to show the actual data from MyField_Datacard. I want to use the value of that field in the URL. I think that is what your example may represent. However, I am still not able to get it to work as expected. 

  • WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    Hi @ckelsoe ,

    Firstly the single quotes in my example are used if the parameter is Text (a hyperlink will accept either single or double quotes but double have a different meaning in Power Apps).

    Also if you have a numeric value in DataCardValue6

    Launch("https://somewebsite.com/account/account.nl?id=" & Value(DataCardValue6.Text)) 

    If MyField is selected in a records from a gallery

    Launch("https://somewebsite.com/account/account.nl?id=" & GalleryName.Selected.MyField). 

     

    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.

  • CK-22072023-0 Profile Picture
    11 on at

    MyField is the column in the underlying Sharepoint list. Is there not a way to select a column from the list that is not in the gallery? 

  • WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    If the Gallery has the ID of the relevant record containing MyField

    With(
     {
     wField:
     LookUp(
     ListName,
     ID=GalleryName.Selected.ID
     ).MyField
     },
     Launch("https://somewebsite.com/account/account.nl?id=" & wField)
    )
    

     

    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.

  • WarrenBelz Profile Picture
    153,781 Most Valuable Professional on at

    Hi @ckelsoe ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

  • CK-22072023-0 Profile Picture
    11 on at

    I was not successful in pulling the data from the underlying data source. I just added the column to the form then hid it. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard