Expand my Community achievements bar.

FEATURE REQUEST: Publish Assets to Preview Server

Avatar

Employee

8/6/24

 

@tushargu@adobe.com @karmakar@adobe.com @carltonr@adobe.com

Request for Feature Enhancement (RFE) Summary: Publish assets to the preview server
Use-case: The requirement is to build an EDAM where all the assets reside. A key requirement for image management is the ability to expose an image for internal preview by other users/systems, without exposing the image publicly.
Current/Experienced Behavior: Currently, there is no way to publish assets to the preview server for Assets customer.
Improved/Expected Behavior: We would expect there to be an OOTB way to directly publish assets to the preview server.
Environment Details (AEM version/service pack, any other specifics if applicable): Adobe Experience Manager as a Cloud Service
Customer-name/Organization name: Starbucks
Screenshot (if applicable):  
Code package (if applicable):  
2 Comments

Avatar

Administrator

9/13/24

@Ankita-Das 

Thanks for proposing this idea.
This has been reported to the engineering under the internal reference ASSETS-41886. The product team will triage this request to verify feasibility based on the prioritization model. This post will be updated according to the Jira status.
Status changed to: Investigating

Avatar

Level 1

10/25/24

After examining the source code under /libs/, I discovered that the deployment of the asset is deliberately disabled for reasons I cannot explain.
To enable these feature, Adobe developers should make the following changes because the /lib/ is read only from the perspective of the external developers:

  1. Turn to show Preview radio in "Manage Publication" wizard
    Path: /libs/dam/gui/content/commons/assetmanagepublicationwizard/jcr:content/body/items/form/items/wizard/items/optionsstep/items/fixedColumnContainer/items/fixedColumn/items/destinationfieldset/items/destination/items/preview
    remove property: granite:hidden
  2. Remove explicit hiding of the Preview radio in JavaScript
    File: /libs/dam/gui/coral/components/admin/managepublication/clientlibs/assetmanagepublication/js/managepublication.js
    Remove lines:
    662: // Hiding preview destination for assets
    663: var PREVIEW_DESTINATION_SELECTOR = DESTINATION_FIELD_SELECTOR + " coral-radio[value=\"preview\"]";
    664: $(PREVIEW_DESTINATION_SELECTOR).hide();