cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ideaguy1974
Regular Visitor

is there a Default.Parent equivalent for a Combobox

In "New" mode, my combo box references a list called "companies".  And folks can pick multiple selections (from the combo box) and I have a hidden text field that holds/saves those selections.

 

In Edit mode, my combo box doesn't reference my hidden text box... it sure would be cool if it did.

 

My combo box is titled "cbCompanies" (probably don't need this info)

My hidden text box is titled "CompaniesBenchmarkedValue"

The SharePoint column is titled "CompaniesBenchmarked"

 

Any help would be appreciated. 😁

2 REPLIES 2
timl
Super User
Super User

Hi @ideaguy1974 

I assume that the intent of your question is to work out a way to populate your combo box with the existing record value in edit mode.

If you place your combo box inside a card with the Datafield property set to your data field name, you can reference Parent.Default in the default selected items property of your combobox.

Hi Timl, thanks for the idea.  How can I have to fields with the same name though?

cbCompanies is my combo box, if i change the name of it, it would need to be CompaniesBenchmarkedValue... but that field needs to be in my card (hidden to receive the choices from the user... (doesn't it?)

image.png

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,515)