How to Customize the URL and Embed Buttons in AEM Dimensional Viewer for 3D Assets | Community
Skip to main content
October 30, 2025

How to Customize the URL and Embed Buttons in AEM Dimensional Viewer for 3D Assets

  • October 30, 2025
  • 3 replies
  • 210 views

Query:
In AEM, when using the Dimensional Viewer for 3D assets in DAM, we navigate to the asset's detail page, select Viewers → Dimensional Viewer, and see two buttons — URL and Embed. Clicking the URL button provides a link like https://s7.scene7.com.

Where can I find the actual code or configuration responsible for generating these URL and Embed buttons, so I can modify the output URL to use https://abc.com instead of https://s7.scene7.com

 

Regards,

Srinivas

3 replies

Saravanan_Dharmaraj
Community Advisor
Community Advisor
October 30, 2025

@srinivasch4  Please check this DM configuration in your AEM Author instance.

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/assets/dynamic/dm-general-settings

If you want to create a alias domain name and deliver the assets from that , please follow the steps mentioned here.

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/assets/dynamic/dm-alias-account 

October 31, 2025

Hello @saravanan_dharmaraj ,

 

Thank you input. We are currently using Dynamic Media Classic, and the alias domain name has not been set yet. Because of this, I’m unable to configure it properly within AEM.

 

Could you please share a code reference or example that I can use to implement this change — for instance, by copying from /libs to /apps and making the necessary modifications?

Regards,
Srinivas

Vishal_Anand
Level 5
February 11, 2026

@SrinivasCh4 you’ll find the code that builds the Dimensional Viewer URL in two places: the AEM viewer UI (server-side component + overlayable client JS) and the Scene7/Dynamic Media configuration that supplies the base host. Change options:
 

Quick locate steps

  • Search the repo for the literal host "s7.scene7.com" (CRXDE / repo query). That will show the template/JS that builds the URL.
  • Search for viewer code under these areas: /libs/dam/gui/components (viewer components) and /libs/dam/gui/content (asset preview UI).
  • Search clientlibs for Dynamic Media/Scene7 (categories like dynamicmedia, scene7, dam.scene7) under /etc/clientlibs and /libs/clientlibs — the URL button is typically rendered with client‑side JS there.

Two places to change behavior

  • Server/UI override: overlay the viewer component (copy from /libs to /apps) or override the clientlib JS that concatenates the host, and modify the output to use https://abc.com.
  • Config approach (recommended): change the Scene7/Dynamic Media host mapping so AEM uses your custom host. Check OSGi config pages (/system/console/config) for Scene7/Dynamic Media settings (names like “Scene7” or “Dynamic Media”), or set up a CNAME / domain mapping in your Scene7/Dynamic Media account so the generated links use your domain (no code changes needed).

How to safely implement?

  • Prefer domain mapping in Scene7 or update the OSGi Scene7 config so other features keep working.
  • If you must change UI, overlay the specific viewer component or clientlib into /apps and update the JS/template. Keep backups and test in author/publish.

Note: Open an Adobe support case to request a custom alias for your Dynamic Media Classic account

kautuk_sahni
Community Manager
Community Manager
February 17, 2026

@SrinivasCh4 I wanted to follow up and see if your issue has been resolved. If you were able to find a solution—either from the responses above or on your own—we’d appreciate it if you could share the details for the benefit of others. Additionally, if any reply was helpful, marking it as accepted helps future members quickly identify effective solutions. Thank you for helping improve the community experience.

Kautuk Sahni