I have a form that contains textboxes, dropdowns and cascading dropdowns. I have managed to use the Patch function to transfer the textbox contents to my sharepoint list columns but I am struggling with the dropdowns.
The sharepoint list is called TTSiteInfo, the Patch function (on a "Submit" button) so far is below:
Can anyone add to this so the selected dropdown & cascading dropdown values also transfer?
Thanks in advance
Solved! Go to Solution.
Very good, then based on your Items property, you should have those columns in your patch formula (not seeing them now)
They would be something like this (adjust column names as needed):
Product: ddproduct.Selected.Result, Size: ddSize.Selected.<columnYouWantHere>
Your ddproduct will only have a Result column because you used Distinct - and that creates a table with a single column record of Result.
Your ddSize will have the full record from the Size list. So, depending on what column contains the text that you want to store, just change that in the <columnYouWantHere> part. So if it is something like "Title", then it would be ddSize.Selected.Title
I'm getting closer, thanks. The ddProduct is working but the ddSize for some reason is not. Leave it with me and I'll try and work it out (I may be back).
Thanks for all your help so far.
Finally, got there. In the Size SP list I had renamed the first column "Size" however, Powerapps was identifying this column as "Title". The working formula is Size:ddSize.Selected.Title
Probably a basic beginners error.
Thank you very much for your help (and patience).