Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

How can we test sightly code at runtime without a deployment?

Avatar

Level 2

Hi Everyone,

I have the following code in an AEM component:

<sly data-sly-test="${properties.showPinterestSave == 'true'}">
It works fine on most pages, but in our published environments, it's not behaving as expected on some pages. I checked in CRX and the showPinterestSave property seems correctly set to 'true'.

Unfortunately, I can’t quickly add debug output to the page due to the deployment process (PR + code promotion).

Is there any way to test or inspect ${properties.showPinterestSave} (or other component properties) at runtime on a published page without going through a deployment?

Any tips or tools you use to quickly validate component property values would be really appreciated.

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @SanaQu,

You can debug your HTL/Sightly expression at runtime without going through a full deployment - and one of the best tools for this is the AEM HTL REPL by Adobe.

It is a web-based tool you can install on your AEM instance (author or publish) to test and evaluate HTL code and server-side JavaScript without deploying changes.

 

Install the package on your local AEM Author/Publish via Package Manager, and you're ready to go.

repl.png

GitHub link: https://github.com/adobe/aem-htl-repl


Santosh Sai

AEM BlogsLinkedIn


View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @SanaQu,

You can debug your HTL/Sightly expression at runtime without going through a full deployment - and one of the best tools for this is the AEM HTL REPL by Adobe.

It is a web-based tool you can install on your AEM instance (author or publish) to test and evaluate HTL code and server-side JavaScript without deploying changes.

 

Install the package on your local AEM Author/Publish via Package Manager, and you're ready to go.

repl.png

GitHub link: https://github.com/adobe/aem-htl-repl


Santosh Sai

AEM BlogsLinkedIn


Avatar

Level 2

This helps! Thank you