How to populate the Finder comments field from NSFileProviderItemProtocol

In NSFileProviderItemProtocol I am able to use the extendedAttributes property call to add my custom extended attributes to my NSFileProviderReplicatedExtension extension files.

Given that the Finder uses com.apple.metadata:kMDItemFinderComment extended attribute for file comments I thought it would be possible to populate my files with useful comments provided by the third part API.

Unfortunately I seems to be unable to do so as if com.apple.metadata.... fields were inaccessible from the FP extension.

Is there any way to achieve this ?

That is not possible to sync today. Can you file a feedback to request this feature?

How to populate the Finder comments field from NSFileProviderItemProtocol
 
 
Q