Is it possible to pass parameters in SubmitForm to callback "OnSuccess"?
The case is to create multiple items in SharePoint list with attachements. So I use "ForAll" function. And I need to patch "Submitted" items in callback "OnSuccess" with unique parameters.
Example of my code:
Note: ItemsCollection - is a repeatable set of inputs.
ForAll(ItemsCollection, SubmitForm([@Attachements]); )
And this code in "OnSuccess":
So in this case it patches all submitted items with params of the last item of collection.
Hi @SotaSil ,
Did you mean that you want to create multiple repeated items with only attachments different for them?
SubmitForm function only works with form control's name. You need to include all the required fields in the data source.
Not only the attachments data card inside it.
Keep up to date with current events and community announcements in the Power Apps community.
Check out the latest Community Blog from the community!