Where do I store custom data associated with a placeholder (CF API)?

WebDAV 106 Reputation points
2021-10-26T15:55:25.447+00:00

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:

143798-mydrivemsword.png

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?

@Xiaopo Yang - MSFT @Rita Han - MSFT @Fei Xue - MSFT

Windows development | Windows API - Win32
{count} votes

1 answer

Sort by: Most helpful
  1. Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
    2021-11-01T06:55:58.533+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.