cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yjamous
Advocate II
Advocate II

Copy file attributes from source document library

Hi

I've a flow the copies a file from one document library (source) to another (destination).

 

The files in source document library has many attributes (e.g 10). The destination document library has less attributes (e.g. 5). There are 3 common attributes between source library and destination library.

 

I want to be able to copy the file from source document library to destination document library and also copy the common attributes from source to destination. 

 

I managed to copy the file successfully but seeking help for copying attributes. 

Thanks in advance. 

 

4 REPLIES 4
v-bacao-msft
Community Support
Community Support

 

Hi @yjamous ,

 

You need to use Update file properties action to copyfile attributes.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks

Can you please elaborate by giving an example on how to copy specific attributes from source to destination?

 

Hi @yjamous ,

 

Add a Get file properties action under Copy file action to get the property values in the source document library.

 

Add an Update file properties action below the Get file properties action to fill in the value of the obtained property into the corresponding field.

 

Hope that makes sense.

 

 

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-bacao-msft 

I followed your instructions, but I'm getting the error message below. I've added the config

yjamous_0-1596733199066.png

 

yjamous_1-1596733685745.png

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (937)