Announcements
I am trying to figure out why launch will pass a string parameter but not a choice field value like Choice.Selected.Value, any ideas? I have tried Concatenate(Choice.Selected.Value) to see if I can convert it to a string, it shows the parameter field in the URL but no value.
Thanks,
-Erik
@Erik63
Try using the Text function, ie
Text(Choice.Selected.Value)
Thanks @EddieE, but unfortunately that does not work either. I cannot seem to pass text or selected.Values. The only thing I can pass is a label, what was generated with a Concat function, or a text/label input that has its text set to a hard coded "" value.
I tried Concatenate(Choice.Selected.Value) just to see what would happen. When I did that I could see the parameter assignment in the URL but not assigned to anything.
Test-text is the concat function and projectType is the Concatenate(Choice.Selected.Value)
https://apps.powerapps.com/play/e99bc44c-2497-4383-bdf3-ddf607604303?projectName=Test-text&projectType=
Can you share the code that builds the URL. It may also be to do with spaces in your Project Type. If this is the case you’ll need to replace those with %20 using the Substitute function.
A URL cannot contain any spaces.
Sure. This is what I have in OnSuccess for the form:
esetForm(Self);Launch("https://apps.powerapps.com/play/e99bc44c-2497-4383-bdf3-ddf607604303",{projectName:FinalName.Text,projectType:Text(ProjectType.Selected.Value),boardType:EnterParam.Text});RequestHide()
Thanks!
Sorry, forgot the question mark at the end of the code above when I pasted it. Should be https://apps.powerapps.com/play/e99bc44c-2497-4383-bdf3-ddf607604303?
So, would this code ever have any spaces in the projectType?
ProjectType.Selected.Value
No, but I did not think of that, thanks for the heads-up!
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 395 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 260 Most Valuable Professional