cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Impactful Individual
Impactful Individual

Moving Attachments from SharePoint to CDS

Hi,

I have a SharePoint list with a bunch of items that have attachments. I have the same list in a custom CDS entity with all the other data, but not the attachments. I have the ID field in the CDS entity to link to the corresponding SharePoint record.

I want to move all of the attachments out of the SharePoint list and into the attachments on the CDS entity.

This is what I have so far:

Annotation 2020-01-10 112338.png

Does anyone know how to finish this Flow off? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Moving Attachments from SharePoint to CDS

You would add a Create a Record step, and then pass in the parameters from the Get Attachments step into the Create a Record step.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Moving Attachments from SharePoint to CDS

You would add a Create a Record step, and then pass in the parameters from the Get Attachments step into the Create a Record step.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Impactful Individual
Impactful Individual

Re: Moving Attachments from SharePoint to CDS

Hi @Brad_Groux 

Thank you for your help. I was able to get attachments uploaded by using the Notes entity. I had to filter the custom entity I was using by doing a CDS List Records with:

Annotation 2020-01-10 143148.png

Then it was a matter of getting the Get Attachment Content and calling it from my Create New Record.

 

Thanks for your help!

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (9,006)