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

Extending of article resource package

o_neal
Level 2
Level 2

As far as I know we have two ContentSync configurations within any AEM Mobile project:

  • Article ContentSync config (dps-article.xml).
  • Shared Resources ContentSync config (dps-HTMLResources.xml).

There is no problem with extending of Shared Resources config, though extending of Article config by default does not make any sense since the links in the built HTML code will be relative to HTMLResources folder, e.g.:

<img src="../HTMLResources/content/dam/demo/slick-1.png"> (custom image handler)

<link rel="stylesheet" href="../HTMLResources/etc/designs/epm-aem-mob/clientlibs/article.css" type="text/css"> (clientlib handler)

Would like to clarify, is there any solution or workaround which could allow set custom relative paths for specific used within HTML page?

Any suggestions would be appreciated.

0 Replies