I have reproduced the problem. It should be a Microsoft Office defined behavior and You‘d better send Microsoft Office Feedback to Microsoft with the Feedback Hub app.
Where do I store custom data associated with a placeholder (CF API)?
I am creating a virtual drive using a Cloud Filter API. I need to store a file eTag and other custom data as part of my file/folder. The file/folder may be moved or renamed within my drive and the data should move with a file/folder.
As far as I see, Cloud Files API provides a place for storing such information inside the FileIdentity property. For example CfConvertToPlaceholder() function provides FileIdentity parameter.
However, Microsoft Office documents are being renamed and replaced with a new file when a document is being saved. So all data inside FileIdentity is being lost:
Where do I store my custom data associated with a file/folder placeholder? Is there any dedicated place for the data associated with a placeholder? Or is there any technique to prevent the FileIdentity from being deleted during MS Office save operation?
1 answer
Sort by: Most helpful
-
Xiaopo Yang - MSFT 11,501 Reputation points Microsoft Vendor
2021-11-01T06:55:58.533+00:00