Delete media asset attachments automatically after the last document has been deleted

Delete media asset attachments automatically after the last document has been deleted

Changed default behavior.
Until this release, if a Product 360 user deleted all media asset documents assigned to an object (e.g. item, product, structure group), the empty media asset attachment was still remaining as their container in the system. The media asset attachment could then only be removed manually in the Desktop UI (via "Multimedia attachment" view).
Delete media asset attachments automatically after the last document has been deleted
This new behavior could be disabled by setting the configuration property
com.heiler.ppm.mediaasset.core/removeAttachmentWhenLastDocumentIsRemoved.enabled
in
plugin_customization.ini
to
false
. Default value however is
true
and should lead to a better overall experience for business users working with media assets.
plugin_customization.ini # --------------------------------------------------------------------------- # MediaAsset CORE Settings # --------------------------------------------------------------------------- # # Specifies whether a media asset attachment should be automatically removed while its last media asset documents(sub entity) is removed. # This property has an impact only on deletion action of media asset document, not for other cases. E.g, if a media # asset attachment is created without any media asset document, it will not be automatically removed by this creation action. # Default value is true # com.heiler.ppm.mediaasset.core/removeAttachmentWhenLastDocumentIsRemoved.enabled = true
The following details are worth to take a note:
  • The new behavior is active for all object types which can be assigned with a media asset document, i.e. for item, product, variant, and structure group.
  • The new behavior is active for deletion actions via Desktop UI, Web UI and REST calls.
  • If a media asset attachment is automatically deleted, all its sub entities including
    MediaAssetLang
    and its fields (e.g. English description, German alternative text) will be deleted as well.
  • It is still possible to create an empty media asset attachment in the "Multimedia attachment" view of the Desktop UI.
  • Product 360 Media Manager as asset provider: Media asset attachment will be deleted, once the last media asset document with quality
    originalimage
    has been deleted, which leads to the deletion of all other derivative media asset documents automatically. No changes on this behavior.

0 COMMENTS

We’d like to hear from you!