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
Dual Super User
Dual 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...

Dual Super User
Dual 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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 365 members 5,736 guests
Please welcome our newest community members: