What i am trying to achieve.
I want my combo box to display custom option set depending on another custom box.
but the items are custom entities.
Hi @Anonymous ,
You do not need the Text references around the DataCardValues unless their value is numeric. Try removing them.
You also do not need the brackets around the second Control reference, although this should not affect the validity.
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 Thanks for answering
but i get the error below.
Would you be able to replicate what i am trying to do ?
-So basically I have a Edit Form. That has a Field called XXX from CDS entity, which is a dropdown(Optionset). I want that Drop downbox to be able to have a conditional to choice between two set of choices. Choices as in (optionset values).
-So hence i have put IF(true, choices(1), Choices(2)) in the items property of that field
But then i get an error in the Update property
@Anonymous Unfortunately, I can't recreate your situation because I don't have access to CDS. However, OptionSets sounds like Choices in SharePoint, maybe?
One thing you could try is building a single table based on both option sets, schema example
OptionSet data || fromTable
[... || Table1
...]. || Table1
[... || Table2
...]. || Table2
Then depending on your other dropdown selection, Filter the above table for your records?
The other question I have is, what type of field in Update patching back to? If it's a Choice/Option Set field I'd be pretty certain you can't do what you want here because your trying to change the database schema. However, If it's a simple text Field I think you'd be ok.
@PowerAddict may be able to help here with his CDS knowledge?
Check out new user group experience and if you are a leader please create your group
Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.