Say I have multiple pages under /content/practice/articles. Now in /content/practice/articles/firstpage/jcr:content there is a property named myImage. I want to read and fetch that value from myImage property which is a path basically.
Now I want to navigate to /content/practice/articles/firstpage...
I was asked in an interview to explain step by step how sling model resolution works. I tried my best but as per the interviewer it wasn't enough. Can anyone please let me know stepwise how the sling model resolution occurs (interview-level). Thanks!
I've a multifield where-in I can add multiple tags. Now what I'm trying is to fetch the title of the tag. Attached are the screenshots of the dialog.
Resource Type of the field is : /libs/cq/gui/components/coral/common/form/tagfield
This is the method with which I had tried - Problem is it th...
Hi @Avinash_Gupta_ , I tried with the above script but it just prints cq:featuredimage and not the path of the image although the path is shown when checked in crx. Please advice.
Hi @SantoshSai ,Thanks for the link, but I couldn't figure out much. Will it be possible for you to help me with the code snippet that I can put in my sling model?
This is the hierarchy of the page located under /content.
Now there's a property fileReference in the cq:featuredImage node and I want to fetch it in the sling model. How do I do it.As mentioned by @Avinash_Gupta_ I've used the following piece of code to fetch the page title.
PageManager pm = resou...