Hi @aanchal-sikka,Thanks for responding. Actually, in component dialog the tag or CF path is given & used on page via Sling Model. You can say its default. Now I want the ability such that whichever option/dropdown, outside of dialog but will be in components HTML, is selected the path for tag/CF as...
Hi @ShivamKumar @AMANATH_ULLAH,Thanks for the suggestion. But isn't any other way to achieve this? Can we do something with JavaScript?If possible, could you please share example of what Servlet would be like?
Hi @Mahesh_Gunaje,Thanks for replying. By resource path I mean it can be image, content fragment or tags. For e.g. my tag path in Sling Model, added via component's dialogue, is {base.path}/dam/fruit/apple/braeburn. Now, depending on the option selected I want to change it.
Hi All,I am having a requirement where I need to change the tags or resource path that's in Sling Model depending on the option selected by user on page.There's already one default tag or resource path in my Sling Model with logic on it & used on page to display. Now, I want to change this by givin...
Hi @Imran__Khan,Thanks for the reply. I have also tried the approach you suggested. But still result is same. I have shared the snippets in my post as well. Anything apart from parsys or any resource is generating.
Hi All,I'm working on a component which will add multiple parsys, via Sling Model. The parsys isn't generating but any html apart from that is working as expected.Java @inject
private Integer pNumber; //input
public String getPContent() {
StringBuilder contentBuilder = new StringBuilder();
f...
Hi @Gaurav_Sachdeva,Thanks for the reply.Could you please share the screenshot of node structure or xml? I override the path you shared but customizations not reflecting. I might be doing something wrong.Thanks again!
Hi,As the title says, I want to add some text fields in the content fragment properties. These properties are kind of Meta Data that we have in our pages also. So, can someone please suggest as how can achieve this?