Copy file option successfully but it is not retaining the version history - Power Automate - MS Flow

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/289772

質問

I have used the Copy file option successfully but it is not retaining the version history in the destination. For ex. if I copy Document1 from x library in site collection 1 to y library in site collection 2 it creates version 1.0. Next time if I copy the same file after doing some updates to the file, it replaces the existing file in the destination and the created file still shows version 1.0, instead of version 2.0. Instead of copying it from Flow if I upload the same document directly to the destination library then it creates version 2.0. We need to keep the version history in the destination list. Any ideas?

Thanks!

役に立ちましたか?

解決

[Copy file] action in Power Automate doesn't have an option to retain version of the file. However, maybe versions can be retained using _api/site/CreateCopyJobs REST API call in Power Automate via IgnoreVershionHistory option.

For a detailed example, visit this article

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top