Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

akash143143143
akash143143143
Offline

Badges

Badges
11

Accepted Solutions

Accepted Solutions
0

Likes

Likes
4

Posts

Posts
13

Discussions

Discussions
0

Questions

Questions
13

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by akash143143143
Customize the badges you want to showcase on your profile
Re: How to access nested properties? - Adobe Experience Manager 22-10-2017
The other answers have been very helpful. I have also tried something with server-side-Javascript and this snippet of code is what i'm working with:var carouselImageNodes, carouselImages;//setCarouselImageNodes();setCarouselImages();//function setCarouselImageNodes(){ carouselImageNodes = {}; if(typeof this.currentNode != 'undefined') { carouselImageNodes = this.currentNode.hasNode("carouselImages") ? this.currentNode.getNode("carouselImages").getNodes() : {}; }}function setCarouselImages() { ca...

Views

1.6K

Like

1

Replies

0
Re: How to access nested properties? - Adobe Experience Manager 15-10-2017
Hi awadheshv​,This sure is helpful and thank you for replying. The only issue with hard-coding item0 is that there could be n number of items and cannot be known when building the component. Is there a way to iterate over the items that is under carouselImages?Something like: ${item.isActive} ${item.url}Regards...

Views

1.4K

Likes

0

Replies

0
How to access nested properties? - Adobe Experience Manager 15-10-2017
Hello,I have the following nested properties in one of my pages:I'm unable to access these properties with HTL:Any info on this will be great.Thanks...

Views

3.4K

Like

1

Replies

4
Re: data-sly-resource | Cannot find servlet to handle resource error - Adobe Experience Manager 04-10-2017
Hi Veena,The data-sly-resource="" would work anytime the node with that particular 'name' is available either under the template(/apps//templates//jcr:content) or under page(/content//jcr:content). Screenshots are included for reference:template.../apps//templates//jcr:contentpage....(/content//jcr:content)Saying this, I would now prefer to include the entire path of the component to reference it to avoid manual work of inserting the component on every page that is created.Thanks & Regards,

Views

1.4K

Like

1

Replies

0
Re: data-sly-resource | Cannot find servlet to handle resource error - Adobe Experience Manager 04-10-2017
Hi Veena,Also, wouldn't a shorter version of referencing a resource be:instead ofright?

Views

1.4K

Likes

0

Replies

0
Re: data-sly-resource | Cannot find servlet to handle resource error - Adobe Experience Manager 03-10-2017
Hi Veena,Yes, i think that is what I will do. I saw the shorter version in the example Archetype11 app and though it is simpler to write, it can result in some additional manual effort to update each page-node if a new component is included. Here's a screenshot of the Archetype11 app:Archtype11 - /apps//components/structure/page/partials/main.htmlThanks

Views

1.4K

Likes

0

Replies

0
Re: data-sly-resource | Cannot find servlet to handle resource error - Adobe Experience Manager 03-10-2017
Hi Veena,What if I add another line of code in the HTML (after creating a page) such as this:Now, since the page is already created and the above line of code is inserted later, the sidebar resource will not be available for this page. In such case, the sidebar resource will be have to added to every page node on which we want the sidebar? What if there are many number of pages on which we want the sidebar?Please suggest.

Views

1.4K

Likes

0

Replies

0
Re: data-sly-resource | Cannot find servlet to handle resource error - Adobe Experience Manager 03-10-2017
Hi Veena,Thank you for your response.I'm basically trying to be able to reference a component in my HTL template by simply writing the name. Like so:instead of:

Views

1.4K

Likes

0

Replies

0
data-sly-resource | Cannot find servlet to handle resource error - Adobe Experience Manager 02-10-2017
Hello,I am new to HTL (formerly known as Sightly) and am trying to understand its data-sly-resource attribute. I've added a node to my template which has a jcr:primaryType=nt:unstructured and sling:resourceType=/apps/myproject/components/structure/templates/sitenav (this is a navigation bar component). Also, the template has a sling:resourceType set to /apps/myproject/components/structure/templates/basepage.apps/myproject/templates/page/baseFurther, the data-sly-resource="sitenav" is added in th...

Views

5.2K

Likes

0

Replies

15
Re: Unable to create node from eclipse. - Adobe Experience Manager 24-09-2017
Hello,Most of the times, for some unknown reason, it is not possible to create a node from Eclipse. The steps to create nodes on Eclipse project are as follows:-Step 1: Create Template in CRXde as usual.Step 2: Import in Eclipse project. Right-click on the jcr:root or rep:root folder and click on Import from server...Additional notes :AEM Server needs to be setup on Eclipse environment. (Eclipse AEM Plugin is available for that)Suggest you to save your changes before 'importing' as those changes...

Views

1.9K

Likes

0

Replies

0