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 API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,431 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Xiaopo Yang - MSFT 11,501 Reputation points Microsoft Vendor
    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