35
Views
2
Comments
[Multipart/form-data] How to use PartAdd with foreach loop on a list of Files ?
multipart-form-data
Service icon
Forge asset by Kilian Hekhuis
Application Type
Service

I am trying to create a Multipart/form-data request in which I need to add files as parts of the request. But when I add PartAdd Server Action in the flow it asks for Parts input parameter. My question is how to refer to that in a loop since I can't add manual PartAdd Server Actions for each file.  

2021-01-04 08-13-48
Toto
 
MVP

Hi,


I have success with this :

So this will need :

  • a variable Part with datatype of Part (from structure of Multipart/form-data)
  • a variable ListPart with datatype List of Part

Then you can do assign in loop like screenshot below


UserImage.jpg
Dhawal Shah

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.