
Announcements
Hi Fellows,
Goal is to save all Outlook email properties to a single Sharepoint item, including attachments and its names. I have knowledge to save the attachment contents to one single line item using (Add attachment) action by referring to the ID of Sharepoint line item.
My challenge is, when i loop the incoming attachment property (Attachment Names), for every loop system creates a new line item in sharepoint. All i want is the names of attachments need to be stored as a comma separated string in Sharepoint column.
My understanding is, the logic should be - Converting Apply to each output to a single comma separated string and then add it to the column when creating Sharepoint item. But i do not know how to do that. Please can you help?
The answer to this, will help me solve few more related doubts. Thank you in advance.
You want to setup a string variable and then append the item to the string on each loop. If you want the new string to be comma seperated, instead of dropping in the attachments name, you would need to build an expression instead and use concat([AttachmentName......],',').
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien