Hi Everyone,
I 'm not sure what I'm doing wrong. I have created a form (UHForm) with multiple combi dropdowns which saves data into my Sharepoint list (HFACSUHList).
My multiple entries from the combi dropdown saves as 1 entry per line each in my sharepoint list.
Now in Powerapps I'm trying to have 1 form as both an edit and new Form,
I have a gallery with all the ID numbers from my SharepointList (HFACSUHList)
When I select the arrow Icon from the Gallery, it will take the user to the UHForm. On the onselect of the arrow Icon I have the following formulas:
OnSelect = Set (varRecordID; ThisItem.ID;;
ResetForm(UHForm);;
EditForm(UHForm);;
Navigate (UHScreen1)
)
On the UHForm I have under Item:
Item= LookUp(HFACSUHList;EID=varRecordID)
But I have noticed that when I look at the dataset in this formula (by clicking at the end of the formula and then the arrow that appears), i can only see one dropdown entry although 2 dropdowns were filled in for this EID.
I have a text field for the description and in this datacard I have in Default:=ThisItem.Description (Description is the name of the colum in my sharepoint list). This works.
My next Datacard is a multiple value dropdown. Here I have in Default=ThisItem.HFACS4UH (HFACS4UH the name of the colum in my sharepoint list). This gives me the data that is in the sharepointlist.
For the Items of the dropdown I have Items=Filter(HFACStbl;HFACS2="Error"). This is a reference to an excel table t hat I have set up, which I used to show the dropdown values when entering new data.
I think this is where my problem is because in edit mode I don't just want a list of values for the dropdown, I want it to first show the dropdown value that was previously chosen and then when you click on the dropdown, the values are available in case you want to change it.
In my next Datacard, I have another multiple value dropdown. Here I have in Default=ThisItem.HFACS4UH (HFACS4UHs the name of the colum in my sharepoint list).
I'm not sure what to put in my Items of the multiple value dropdown, to retrieve the data from the Sharepoint List when editing values.
Thanks for your help!