Hi Family,
I am working on the below scenario.
"List A" has ID, Name columns with Employee data.
"List B" has all the main columns related to my App & I created ID, Name columns as lookup columns in "List B" to get all the data of IDs, Names from "List A".
Now in my app, I created a Form control in which I am displaying ID, Name fields.
Now My Requirement is: whenever I select a value from drop down options in ID field I need to prepopulate the relative Name dropdown value in the form & submit data into Main List "List A". how can I achieve this?
I hope I made this requirement clear.
Thankyou!
Solved! Go to Solution.
Hi @Anonymous,
I am so confused that the main listA has employee data including ID and Name, why you want to save the ID and Name data from the form to List A?
Get ID and Name from ListA and then save ID and Name to List A? So confusing.😂
To prepopulate the Name dropdown, set the DefaultSeletcedItems property as below:
Filter(LisA,ID=ComboBoxID_listB.Selected.Id).Name
Anyway, set the OnSelect property of the submit button as below:
Patch(ListA,Defaults(ListA),{ID:ComboBoxID_ListB.Selected.Id,Name:ComboBoxName_ListB.Selected.Value})
Hi @Anonymous,
I am so confused that the main listA has employee data including ID and Name, why you want to save the ID and Name data from the form to List A?
Get ID and Name from ListA and then save ID and Name to List A? So confusing.😂
To prepopulate the Name dropdown, set the DefaultSeletcedItems property as below:
Filter(LisA,ID=ComboBoxID_listB.Selected.Id).Name
Anyway, set the OnSelect property of the submit button as below:
Patch(ListA,Defaults(ListA),{ID:ComboBoxID_ListB.Selected.Id,Name:ComboBoxName_ListB.Selected.Value})
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
186 | |
45 | |
45 | |
36 | |
35 |
User | Count |
---|---|
262 | |
83 | |
78 | |
69 | |
67 |