A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi Robert,
This post will talk about attachment sync. The flow will do things below:
- Get original list item attachment name and content.
- check whether there's any existing attachment in list item that copied from original list.
(1) if yes, deleting existing attachments then add new attachments copied from original list.
(2) if no, directly add new attachments copied from original list.
Get attachments
Site Address: the original list site
List Name: the original list name
ID: dynamic ID from “When an item is created or modified”
After that, add action “get attachment content”
Site Address: the original list site
List Name: the original list name
ID: dynamic ID from “When an item is created or modified”
File Identifier: dynamic ID from “Get attachments”
Then add “condition”
Choose a value: dynamic “has attachments” from “Update item”.
“is equal to”
“true”
Then set condition yes to delete existing attachments and add new attachments.
Set condition no to add new attachments directly.
Regards,
Rena