Hi Prateek,As explained, this only works for server-side JavaScript, so I'm assuming that this is the case for you.This is how a simple example would like like:<div data-sly-use.logic="logic.js"> <p data-sly-test="${logic.foo}">${logic.foo}</p> </div>Assuming that you have something like following c...