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

Way to Update SharePoint file properties without overwriting the old?

So I have this approval process flow and everything works great, but I want to be able to update two columns in my sharepoint document library without overwriting the previous data and instead just appending to it. Basically this flow is for a document library that has forms that a lot of people need to review and either approve or reject and I want it so that the columns: 'Approved By:' & 'Rejected By:' will show everyone who has either approved the form or rejected the form. Right now as it is, I can get a users name in either of those columns depending on whether they choose "approve" or "reject" but the second another user lets say "approves" then the last user who approved it is gone from the "Approved By:" column and now the most recent user name is there. I understand why this is happening, but does anyone know if theres a way to just append all the names of the people who approve/reject the form to either instead of update and replace. Currently the "Approved by:" and Rejected By:" columns are multiple lines of text, but I've also had the same issue using of type person or group. 

 

1.PNG

2.PNG

3.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

 

Hi @bhanney2323 ,

 

It seems that the Approval action you are using is not the latest version, we now need to use the outcome to judge the approved result.

https://powerusers.microsoft.com/t5/Building-Flows/Response-Dynamic-Content-for-Approvals-does-not-a...

 

You could refer to the following image to append approval details to string variable and update it to file properties.

Image reference:

Spoiler
107.PNG108.PNG109.PNG110.PNG

Hope this helps.

 

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.

View solution in original post

3 REPLIES 3
Regular Visitor

I think what you need is a second SharePoint connector to first capture the current file meta data. Once you have that you use formulas to append the new data. You will be over writing the old data but you will be doing it with a string that is a combination of the old entry with the new entry added.

Super User III
Super User III

Hi!

Just before 'Update file properties' add a 'Get file properties', assign its 'Approved by' and 'Rejected by' outputs as inputs to 'Update file properties', and don't forget to concat 'Responder Ap...' from dynamic content menu to the 'Update file properties' target column also

Hope this make sense



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Community Support
Community Support

 

Hi @bhanney2323 ,

 

It seems that the Approval action you are using is not the latest version, we now need to use the outcome to judge the approved result.

https://powerusers.microsoft.com/t5/Building-Flows/Response-Dynamic-Content-for-Approvals-does-not-a...

 

You could refer to the following image to append approval details to string variable and update it to file properties.

Image reference:

Spoiler
107.PNG108.PNG109.PNG110.PNG

Hope this helps.

 

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.

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (28,420)