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 Screens Script

RichardMesenVasquez
Level 2
Level 2

I can change the content of a Screen application using a console script dynamically?

Thanks

3 Replies
smacdonald2008
Level 10
Level 10

Going through the AEM Screens docs - there is no mention of using a script to perform this use case:   Configuring and Deploying Screens

I am also checking with internal ppl as well.

smacdonald2008
Level 10
Level 10

Our team replied:

Content within a Screens app is HTML.  As with any HTML app, the HTML content can be written to load content dynamically (client side).   You can also leverage contextHub to personalize a specific piece of content to display based off a value changes in the ContextHub data layer & a client side script doing an external lookup can change these values… effectively allowing for personalization.  On a Server level, you can use console scripts to change values within AEM itself… the players are designed to ping the server every 5 seconds to get updates so changing the correct value will cause the player to request updated content.

RichardMesenVasquez
Level 2
Level 2

Thanks for your answer, I'm more clear, do you have an example of the script to dynamically change the content of a screens application?