cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Matthew_tu
Frequent Visitor

cascading dropdown choices are displayed in APP, but can not save to share point list

Hello! I have a problem to save choices of cascading dropdown to share point list.

1. I have created a "5s check" app by starting my data from share point list in phone layout (list name: 5S Check),like below pictures:

Matthew_tu_0-1626661416857.png   

Matthew_tu_1-1626661441053.png

2. I create another share point list of "Department and line" which will be used as data source of drop down of "Dept." and "Machine"

Matthew_tu_0-1626677282814.png

3. And I change the formula in 2 drop downs in Items,

  Dept:  Distinct('Department and lines', 'Dept.')

 Machine:  Filter('Department and lines', 'Dept.' = DataCardValue8.Selected.Result)

 and change Data source of COMBO BOX of as below:

Matthew_tu_1-1626677329024.png

 

4. I have a test of app. It works. It can display the contents of 2 drop downs in app:

Matthew_tu_2-1626677498954.png

But, the contents of 2 drop downs can not be saved into share point list of "5S Check".

Pls help me to solve this problem. Thanks!

 

Matthew_tu_3-1626677577352.png   

 

Matthew_tu_5-1626677609044.png

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Matthew_tu ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

8 REPLIES 8
WarrenBelz
Super User
Super User

Hi @Matthew_tu ,

The detail you have not mentioned is the type of field you are writing back to. The Update of the relevant Data Card would depend on this - if a Text field (first)

DataCardValue8.Selected.Result

 or a Choice field

{Value:DataCardValue8.Selected.Result}

 second one (I am assuming the selected field is Machine) - Text

DataCardValue9.Selected.Machine

or Choice

{Value:DataCardValue9.Selected.Machine}

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

The type of field I am writing back to is listed below:

For the field of "Dept." : 

Matthew_tu_0-1626742486150.png

For the field of "Machine" : 

Matthew_tu_1-1626742553050.png

 

 

 

@Matthew_tu ,

I need the type of field in your SharePoint data source - go to your Field Definition (although it looks like a Choice field) - did you try

{Value:DataCardValue8.Selected.Result}

and 

{Value:DataCardValue9.Selected.Machine}

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

Hi WarrenBelz,

 

The type of field "Dept."&"Machine" in my share point list of "5S Check" is "choice".

Matthew_tu_2-1626744128940.png

 

    

 

 

  

 

 

@Matthew_tu ,

Then the first code 

{Value:DataCardValue8.Selected.Result}

should certainly work on the card Update 

The second

{Value:DataCardValue9.Selected.Machine}

will work on the valid output of DataCardValue9.Selected.xxxx (I have assume Machine)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

WarrenBelz
Super User
Super User

Hi @Matthew_tu ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hi WarrenBelz,

 

Many thanks for your help! It works when I update the formulas following your instruction.

 

Powerplatform01
Post Patron
Post Patron

No worries ,you can watch this video to resolve your issue

https://youtu.be/Jq_qSZv98OI

 

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (3,787)