cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MT-Pisaris
Frequent Visitor

PowerApps Param() function not working

I am wondering if anyone can assist with a PowerApps issue I am currently trying to resolve.

 

Background

I am trying to configure a deep link into a specific PowerApps Screen by using the Param() function.On the App OnStart, I have set the below condition

 

If(Param("DeepLink") = "Display", Navigate(Display, Fade))

 

however if you click on the Param, it throw up an error as shown below

(PowerApps encountered an internal error trying to evaluate this expression)

 

@OliverRodrigues @OOlashyn @justinburch @ragavanrajan 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
MT-Pisaris
Frequent Visitor

I think i found the issue... Its now working as expected. Thanks

View solution in original post

3 REPLIES 3
timl
Super User III
Super User III

Hi @MT-Pisaris 

What you have there should work. The most likely reason why you receive this error in the designer is because at design time, your "DeepLink" parameter won't be set.

If you find that this doesn't work at runtime, can you confirm that you've published your app?

MT-Pisaris
Frequent Visitor

I think i found the issue... Its now working as expected. Thanks

View solution in original post

@MT-Pisaris 

To debug this, if you add a label on your initial screen and set the text property to the following, does the label display the parameter value that you pass?

Param("DeepLink") 

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,854)