cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
neeesz
Regular Visitor

Updating SharePoint LIST (including attachment )

I've 2 SP LISTS , source &target 

TARGET is kept sync whenever an item changed/modified at SOURCE 

 

Flow is simple with condition to update an item if it exists - it works well 

BUT I want to include attachments as well ?

 

 

neeesz_1-1614244203297.png

thanks 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @neeesz ,

yes, you can put it into the 'If yes' branch where you're creating the new item.

You can use the same flow also in the 'If no' branch, but in that situation I'd extend it by 2 more actions:

  1. Get attachments from the existing item
  2. Delete the attachments from the existing item
  3. Then upload the attachments again using the piece of flow above


[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

4 REPLIES 4
tom_riha
Super User II
Super User II

Hello @neeesz ,

Power Automate has dedicated actions to work with attachments. 'Get attachments' from the source item, for each attachment 'Get attachment content' and then 'Add attachment' to the item in the target list.

image.png



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Thanks a lot , is it workable to include Get Attachments actions within my workflow  above ? 

somewhere  insert in both sides - after  If condition 

Hello @neeesz ,

yes, you can put it into the 'If yes' branch where you're creating the new item.

You can use the same flow also in the 'If no' branch, but in that situation I'd extend it by 2 more actions:

  1. Get attachments from the existing item
  2. Delete the attachments from the existing item
  3. Then upload the attachments again using the piece of flow above


[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

Thanks a lot - it works perfectly

Update/create LIST item from another with Attachments

 

neeesz_1-1614680461009.png

 

 

neeesz_2-1614680524978.png

 

 

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (52,369)