Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM 6.2 DAM Collections. Share Link Button leads to localhost:4502

olegs4054924
Level 1
Level 1

Hi everyone,

I ran into the problem of creating shared links for DAM Collections.

Versions:

     AEM : 6.2 (No SP or fix packages installed)

Steps to reproduce:

  1. Navigate to http://localhost:4502/libs/dam/gui/content/collections.html/content/dam/collections
  2. Choose any existing collection and click 'Share Link'

Share_Link_btn.jpg

Observe Shared Link in dialogbox:

dialogbox.jpg

It leads to http://localhost:4502/linkshare.html​, But I need to make it direct to external url (like, http://www.myassetstorage.com/linkshare.html )

It could be done by Changing OSGI config for com.day.cq.commons.impl.ExternalizerImpl , but this solution may affect other parts of application, which is unacceptable.Externalizer_config.jpg

Can someone advise, if I'm missing something and there is a way to change shared link host in some other way?

Thanks in advance.

2 Replies