Thanks theop76211228. I am able to resolve all my issues with your
direction. @ScriptVariable was NOT the problem, when i try to do
currentStyle.get("somedesign"), it throws an error of sling model NOT
instantiating. NOT sure why. However, i solved the problem by following
your code.mycurrentnode_inside_etc_design =
then in HTL,I iterated accordingly, though it was 4 level of iteration.
LOL 😂Thanks Again for your help.
hi Team, As my organization uses a docker container to run local AEM
instance, I am NOT able to find log files or even crx/quickstart folder
to play with.I understand this question is more specific to AEM with
docker, but has anyone in this forum happen to find the AEM log files
for the local instance ? Otherwise, how we can debug our code while AEM
running inside docker ? I have been asked to use the below command to
tail the logs, but I want to know the actual location of the AEM logs
Thank you so much theop76211228 for your reply. I have already tried
this approach of getting the currentStyle using @ScriptVariable. But
whenever, i try to use that in HTL, i get an error saying "model cannot
be correctly instantiated by the use api". Once I remove the
@ScriptVariable , page loads properly. NOT sure what is this happening.
Any inputs on that ?? Also, we are still NOT using editable templates so
we do not have a policy node under /etc/designs. The storage of the
multi-field is s...
hi Team, I am trying to fetch composite nested multifield values under
Design Dialog implemented in coral3/Granite. I have tried using sling
model but it is NOT able to inject the resource as the multifield values
are stored under /etc/designs/PageXYZ/ComponentABC and am trying to call
the model from the component path
Nested field storage looks like
below:+-/etc/designs/PageXYZ/ComponentABC | +- Item0 | +-ABCItem |