since ‎23-07-2018
‎10-12-2019
hanscy
Level 2
Re: Get runmodes value in client-side JS
Avatar

hanscy

hanscy
- Adobe Experience Manager
Hi Veena!Exactly I was thinking the same way as you do putting it on HTML as a hidden value. However I don't really feel that it is very correct approach

Views

2.5K

Likes

0

Replies

2
Re: Get runmodes value in client-side JS
Avatar

hanscy

hanscy
- Adobe Experience Manager
Thanks Jörg! when you said render it into a page? do you mean put it on the HTML as a hidden as what @Veena_07 ​stated?

Views

2.5K

Likes

0

Replies

0
Get runmodes value in client-side JS
Avatar

hanscy

hanscy
- Adobe Experience Manager
Hi guys,is there a way in AEM to get a value from AEM runmodes in client-side JS?I have a key value that is changing depending on the environment, it needs to be on client-side JS since it is calling a widget integration.Thanks before!

Views

3.4K

Like

1

Replies

8
Re: Retrieve latest content from AEM Repository
Avatar

hanscy

hanscy
- Adobe Experience Manager
Thanks Joerg and edubey! those are worth to try solutions! any some sort of recommendations which way is better? (or maybe I could say more efficient and effective?) the AJAX or SDI?

Views

483

Likes

0

Replies

1
Re: Retrieve latest content from AEM Repository
Avatar

hanscy

hanscy
- Adobe Experience Manager
Hi,Thanks for that! what will be the AJAX solutions looks like? do you have any example?I am keen to look at the solution example if you have any with AJAX.

Views

2.7K

Likes

0

Replies

1
Re: Retrieve latest content from AEM Repository
Avatar

hanscy

hanscy
- Adobe Experience Manager
the purpose is not to track pages that are being published, the purpose is to promote / display the latest published articles to users.

Views

2.7K

Likes

0

Replies

0
Re: Retrieve latest content from AEM Repository
Avatar

hanscy

hanscy
- Adobe Experience Manager
Hi Joerg,Thanks for the reply Joerg!What I wanted to say on the second paragraph is basically one of the possibility to fetch the latest published content from the JCR. However it is not a really good solution (ineffective) as it is using the JS Use API which is a server-side language and potentially put a heavily load on the server.so to summarise it, the question is basically, is there any other solutions that we can implement to fetch the latest published content so that the user can get sugg...

Views

2.7K

Likes

0

Replies

4
Retrieve latest content from AEM Repository
Avatar

hanscy

hanscy
- Adobe Experience Manager
Hi guys,I got a requirement to be able to retrieve content from AEM repository on a web page once it is published, ie. retrieve the latest publish content. Using the JavaScript Use API is somehow possible as well, however once the latest content published it won't display directly on the client/user machine as the dispatcher cache the content and we will need to flush the dispatcher cache to be able to retrieve the new content.Doing that is somehow ineffective if we have a large number of conten...

Views

2.9K

Likes

2

Replies

12
aem-core-wcm-components v2.2.2
Avatar

hanscy

hanscy
- Adobe Experience Manager
I figured that aem-core-wcm-components has some of new components, and I need the tabs component editor feature for a development requirement.However upon taking a look, the minimum system requirement required AEM 6.4.2 and I am on 6.4.0.is there any major effect if use the components v2.2.2 with AEM 6.4.0?below is the minimum requirement for the aem-core-wcm-componentsCore ComponentsExtensionAEM 6.4AEM 6.3Java2.2.21.1.06.4.2.06.3.3.01.82.2.01.0.86.4.2.06.3.3.01.82.1.01.0.66.4.2.06.3.3.01.82.0.6...

Views

611

Likes

0

Replies

2
Likes given to
Likes from