cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nikhil2
Resolver II
Resolver II

Hold the Current or Previous selection of the dropdown

Hello Team,

 

Greetings for the day !

 

I have four screens first HomePage, Second DropDown Selection, Third Display, Fourth EditForm.

 

1. I have button on HomePage Which Navigates to Second Screen, On the second screen i have OnVisible Property set to Collection to this 

ClearCollect(temp,
{Result: ""
}
);

Collect(temp,
Sort(Distinct('01. Project Information',Title),Result,Descending));If(ProjectA,UpdateContext({ProjectA:true}))

 

2. DropDown Items: temp and Default to First(FirstN(temp,20)).Result && Last(LastN(temp,20)).Result.

3. On Editform Screen i have set the OnVisible property to Collect(temp,Distinct(DataSource,DropDown4.selected.value))

 

As as per the request, when i select from the dropdown and click on the item to edit it navigates to editform after editing when i click on save it navigates back to dropdown screen. But my Previous selection will not hold its value again i have to select the value.

 

F.e : Second Screen from DropDown i have selected ABC and DataTable filters the ABC with 3 Results.

I Click on one of the ABC, i will navigates me to EditForm. I will edit the Name and i click on Save. After Saving From the Second Screen again i have to select from the DropDown ABC. So i need to hold the previous record.

 

Thanks in advance and appreciated !

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Top Solution Authors
Users online (1,869)