Is attachment sharing between documents supported in reference mode?

Question on behalf of Trung Quang Phan:

Does A12 support the reference mode for Attachment? Where we can use one file as reference for many documents. In my project, a document can be copied many times, so I don’t want to clone the attached file

Answer on behalf of @tomas-thin-gale:

In 2022.02 we have introduced a way how to copy attachments so the same attachment can be copied on new document assign. True attachment sharing will be only available in 2022.06.

  1. In version 33.0.9 we have introduced a new configuration key mgmtp.a12.dataservices.attachments.temporary.fileDelete.enabled=true to enable projects to not delete the attachment from the temporary location after assignment to the document. Attachments with the same UUID will still be available for assignment for other documents. I want to make it clear that this is not a share of the attachment but an actual copy. Therefore, once document A will unassign the attachment it will not disappear from document B. This functionality will, however, be removed in version 34.0.0 because we introduce a new version of attachment handling that will allow sharing of attachments.

  2. In version 34.0.0 will provide rich attachments with metada and possibility to change the persistence of attachments (Filesystem/DB/Mongo/…) There will no longer be a temporary location therefore the key mentioned in the previous section will no longer make sense. Here is a Wiki descibing scope <INTERNAL_LINK> the documentation will be available once the version 34.0.0 will be released.

Answer valid for Data services 33.0.9, 34.0.0