cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Reset dropdown box value based on another dropdown box in Edit Mode on SharePoint

Context:

 

I have created SharePoint form in Power Apps. The form includes a dropdown box based off a SharePoint choice column (we will call this dropdown box “Access Type”). The Access Type dropdown box has two choices, “Global BU” and “Entity Local”. Depending on the selected choice, a child dropdown box will become visible. So for example, if I select choice “Global BU” from the “Access Type” dropdown box, dropdown box A will appear. If I select choice “Entity Local” from the “Access Type” dropdown box, dropdown box B will appear.

 

Issue:

 

If I select “Global BU” from the Access type dropdown box, and then select a value from dropdown box A, and then change my mind and select choice “Entity Local” from the Access Type dropdown box, any value already selected in dropdown box A will reset via the following formula (added to the Reset property in drop down box A):

 

Not(Find(ACCESSTYPE.Selected.Value,"Global BU")>0)

 

This works fine in New Form Mode but does not work in Edit Mode on SharePoint. Data previously entered in dropdown box A still gets saved to SharePoint.

 

Could anyone advise a workaround?

1 ACCEPTED SOLUTION

Accepted Solutions
Advocate I
Advocate I
6 REPLIES 6
Community Support
Community Support

Hi @imranamikhan 

 

Are Dropdown A's items and Dropdown B items SP columns?

What column type of them?Could you please share more details of your DropDownA and DropDownB?

 

Best Regards.

Yumia 

Hi Yumia - Yes Dropdown A and Dropdown B are SP choice columns. Although the columns are different, they do contain the same choices .

Advocate I
Advocate I

Hi everyone - if anyone else could help that would be appreciated.

Hi @imranamikhan 

 

You want the DropDownA and DropDownB to show based the Access Type's value?

And Access Type and DropDownA,DropDownB are all choice type columns in SP list?

You can test as this:

visible&value.gif

 

Best Regards.

Yumia

Hello,

 

I appreciate your response but you have completely misread the question. The issue has nothing to do with conditionally making fields visible.

 

I am trying to reset/clear data previously saved to SharePoint if a user makes a change to a dropdown value in Edit Mode.

 

Best regards,

Advocate I
Advocate I

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,526)