Good day,
I am collecting some pictures and they are being saved in the attachment column of a sharepoint list, with a specific name.
Collect(
ColImages,
{
DisplayName: "CloseUpShot1" & ".jpg",
Id: "CloseUpShot1" & ".jpg",
Value: Camera1.Photo
}
);
I am then trying to send an email via Flow to notify users that a new item has been added. I wish also to include the link to the item and also the link to the attachment.
i am however getting an error - which i think is because i have hardcoded the name of the picture.
How can i proceed with this please?
Rgds,
Arshad
Solved! Go to Solution.
Hi @AOZ ,
Try the below flow.
1. Get the ID of your list item. I hardcoded it but you use Get Items and pass a filter. Lo
If you have multiple attachments, save them to an array first. Refer here to my previous reply.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Hi @AOZ ,
Try the below flow.
1. Get the ID of your list item. I hardcoded it but you use Get Items and pass a filter. Lo
If you have multiple attachments, save them to an array first. Refer here to my previous reply.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Hi @AOZ ,
Can you check the parameters of your Get attachment content against my screenshot?
Id - List Item Id
File Identifier - Id returned from Get File Attachments
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Hello @eric-cheng
I have succeeded in getting the attachment pictures inside the mail.
Can you just help me for getting all the pics in one single email?
I have used the array as you suggested, but i think something is missing since i am still receiving multiple emails with one picture each time inside the mail.
Hi @AOZ ,
No problems.
Please move the Send an email outside of the loop and it should only send 1 email at the end of the flow.
You will only need to append to the array inside the loop. Once the loop finishes, you will have a list of all attachments and you can just send it.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
User | Count |
---|---|
23 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
48 | |
29 | |
28 | |
25 | |
23 |