Extending of article resource package

Avatar

Avatar
Validate 1
Level 1
o_neal
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
o_neal
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
o_neal
Level 1

08-09-2016

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.

Accepted Solutions (0)

Answers (0)