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

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
imranamikhan
Level: Powered On

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

6 REPLIES 6
Community Support Team
Community Support Team

Re: Reset dropdown box based on another dropdown box in Edit Mode

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 

imranamikhan
Level: Powered On

Re: Reset dropdown box based on another dropdown box in Edit Mode

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

imranamikhan
Level: Powered On

Re: Reset dropdown box based on another dropdown box in Edit Mode

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

Highlighted
Community Support Team
Community Support Team

Re: Reset dropdown box based on another dropdown box in Edit Mode

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

imranamikhan
Level: Powered On

Re: Reset dropdown box based on another dropdown box in Edit Mode

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,

imranamikhan
Level: Powered On

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

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 (Last 30 Days)
Users online (4,391)