cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
vermaaman
Level: Powered On

Navigate to another screen based on dropdown selected value

Hello,

 

I have created this app, in this app there are screens, dropdowns and input fields on the form1.

 

One of the dropdown (ddtemplates) is holding items related to templates. i have a submit button too.

 

Requirement: - OnSuccess of form1- If ddtemplates = "scrnExSubmit" else "scrnSubmit"

 

i have used many other formulas but none of them seems to be working, some of them are as followed...

 

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

If(DataCardValue3.Selected.Label = "External Workspace",Navigate(scrnExSubmit),Navigate(scrnSubmit))

 

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

If("External Workspace" in DataCardValue3.Selected.Value,Navigate(scrnExSubmit, ScreenTransition.Fade),
If("BID/RFP/RFQ Workspace" in DataCardValue3.Selected.Value,Navigate(scrnSubmit, ScreenTransition.Fade),
If("Community of Practice Workspace" in DataCardValue3.Selected.Value,Navigate(scrnSubmit, ScreenTransition.Fade),
If("Event Workspace" in DataCardValue3.Selected.Value,Navigate(scrnSubmit, ScreenTransition.Fade),
If("Operational Workspace" in DataCardValue3.Selected.Value,Navigate(scrnSubmit, ScreenTransition.Fade),
Navigate(ScreenProductC, ScreenTransition.Fade)))

 

-------------------------------------------------------------------------------------------------------------------------------------------
If(DataCardValue3.Selected.Value = "BID/RFP/RFQ Workspace", Navigate(scrnSubmit, Fade), DataCardValue3.Selected.Value = "Community of Practice Workspace", Navigate(scrnSubmit, Fade), DataCardValue3.Selected.Value = "Event Workspace", Navigate(scrnSubmit, Fade), DataCardValue3.Selected.Value = "Operational Workspace", DataCardValue3.Selected.Value = "Project Workspace", Navigate(scrnSubmit, Fade), Navigate(scrnExSubmit, Fade))

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

If(DataCardValue3.Selected.Label = "BID/RFP/RFQ Workspace", Navigate(scrnSubmit, Fade), DataCardValue3.Selected.Label = "Community of Practice Workspace", Navigate(scrnSubmit, Fade), DataCardValue3.Selected.Label = "Event Workspace", Navigate(scrnSubmit, Fade), DataCardValue3.Selected.Label = "Operational Workspace", DataCardValue3.Selected.Label = "Project Workspace", Navigate(scrnSubmit, Fade), Navigate(scrnExSubmit, Fade))

 

Thank you!

Aman

 

3 REPLIES 3
Super User
Super User

Re: Navigate to another screen based on dropdown selected value

Hi @vermaaman 

 

Can you share more details about the items in the dropdown?
For the expression, expression should be something like:
If("Value to Test" in DataCardValue12.SelectedItems.ColumnName, Navigate(screeniftrue,Fade),Navigate(screeniffalse,Fade))
 
Also is multiple selection enabled on the datacard control?
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
vermaaman
Level: Powered On

Re: Navigate to another screen based on dropdown selected value

Hello @yashag2255 

 

Yes, i have used that formula as well, didn't work, datacontrolvalue doesn't have multiple selection enabled on it,

 

i do have multiple screens though...

Super User
Super User

Re: Navigate to another screen based on dropdown selected value

Hey @vermaaman 

 

Are you getting any errors? Please share more details so we might be able to help you better.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
 
 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 135 members 4,551 guests
Please welcome our newest community members: