Hi all, I am building a questionnaire with power apps, while on the landing page there is a gallery leading to all existing questionnaires & a button leading to a new questionnaire. In the questionnaire, besides the form, I've created several cascading dropdowns, and the dropdown's item property are:
1. Distinct(' sharepoint list', 'sharepoint column'), and the following one
2. If(dropdown1.Selected.Result= "a", ["c", "d"] , dropdown1.Selected.Result= "b",["e","f"])
and for the submit button, to make sure the value returns to the same sharepoint list and the same record for both form & dropdowns, the onselect property for the button is
SubmitForm(Form1); Patch( 'Sharepoint list name', Gallery1. Selected, {'column for dropdown value 1: Dropdown 1. Selected.Result, 'column for dropdown value 2: Dropdown 2. Selected.Value})
So far everything went well and I have no problems submitting the questionnaire & have everything on my sharepoint list. However, when i want to revisit the existing questionnaire via gallery, dropdowns will show no record. (data in forms are fine and shown properly because the item property for forms is set to "Gallery1. Selected")
Therefore,my main question will be, how can I see the pre-filled-in data in the dropdown lists after clicking on the gallery?
Thanks a lot in advance!