PDF Viewer configuration for publish

Avatar

Avatar
Level 1
Gowtham_ford
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
Gowtham_ford
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
Gowtham_ford
Level 1

02-07-2021

How will a make changes to the jcr:content for sling:configRef, if my author domin and publish domin is different?

ex: author: www.author.xyz.com 

publish: www.publish.abc.com

I have created 2 client id for it, but how to make it working when i need to configure sling:configRef in content node. 

If an author replicates the content then the author "sling:configRef" will move to publish which will make this inconsistent.

 

Please suggest.

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 250
MVP
shelly-goel
MVP

Likes

250 likes

Total Posts

410 posts

Correct reply

107 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
Ignite 3
Give Back 10
View profile

Avatar
Boost 250
MVP
shelly-goel
MVP

Likes

250 likes

Total Posts

410 posts

Correct reply

107 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
Ignite 3
Give Back 10
View profile
shelly-goel
MVP

03-07-2021

@Gowtham_ford  If I understood your question correctly, I think you have to provide sling:configRef as the relative path (/conf/brand1, etc.) for the CA config and not absolute path and in the respective site config, you can add the client id as needed.

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,329 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,329 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

03-07-2021

Hi,

CAC doe snot support the run mode.

In your case if you have 2 client ids , you need to extend the core component and inject the id based on run mode.

https://github.com/adobe/aem-core-wcm-components/blob/e3b725d62509499778ccb21c21ba60f115abd0b6/bundl...