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
BedrockMission!

Learn more

View all

Sign in to view all badges

darren_hoffman
Community profile darren_hoffman Level 2
Chief Engineer
Engineering
12 BADGES
Level 2

Level 2

Learn more
Joined the community 25-06-2015 2:50:09 PM
Offline
Top badges earned by darren_hoffman
Customize the badges you want to showcase on your profile
Re: Iceberg at Adobe
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Platform
Fascinating

Views

315

Likes

0

Replies

0
Re: how do we use AEM SIGHTLY to populate drop down values (values will come via js file) for "SELECT" html tag
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
The code solution is to merge the translated lists with the base mapping list using a simple text manipulation command, such as sed. This can be easily be done six times by hand or in a short loop. The resultant JSON can be attached to a Component instance via a Property then parsed via Sightly.

Views

2.1K

Likes

0

Replies

0
Re: how do we use AEM SIGHTLY to populate drop down values (values will come via js file) for "SELECT" html tag
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
Thank you for your quick reply. Could you please describe the reasoning behind your opinion?I think it will be time consuming to create 6 * 230 = 1380 entries in Generic Lists, and the benefit of Author modifications seem irrelevant when these will change very infrequently.When I compare the Generic Lists option with the option to store a JSON object in a Component Property and then parse it via Sightly, my estimate is that time is better spent coding rather than managing 1000+ options via a GUI...

Views

2.1K

Likes

0

Replies

0
Re: how do we use AEM SIGHTLY to populate drop down values (values will come via js file) for "SELECT" html tag
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
Is the Generic Lists tool the best way to manage a large list of options, such as 230 countries listed in 6 different languages?

Views

2.1K

Likes

0

Replies

0
Re: Creating a node in the JCR when a component is rendered
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
Thank you, kindly, Jörg. I will try this and see if I can get it to work.

Views

6.5K

Likes

0

Replies

0
Re: Creating a node in the JCR when a component is rendered
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
When I use "${resource.path}" in my Sightly template, I do get the correct path in the JCR to where the node _should_ be. The node does not exist, however, until I configure it via the component dialog. What I want is for the node to exist without my needing to configure the component via its dialog.As far as "selectors" go, it is my attempt to describe what is failing to the best of my understanding. To reiterate:I'm requesting an image at the URI "${resource.path}.image.png?key=123" I imagine ...

Views

6.5K

Like

1

Replies

3
Re: Passing data to an embedded component via data-sly-resource
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
I'm sorry, I don't see anything relevant to my situation. I see that you're using the :data-sly-resource" directive, and that it includes a "path" variable, but I'm pretty sure that doesn't fit my use case.I'm sure I don't fully understand the "path" parameter here, but I infer that you're directing the embedded parsys to find its parameters in the "tab-1" and "tab-2" tabs in the relative path of this component. This means that the author can configure the "tab-component" and that embedded compo...

Views

3.0K

Likes

0

Replies

0
Re: Creating a node in the JCR when a component is rendered
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
My page has a node under /content when the page is created and rendered, but my embedded component does not. That is, my embedded component does not have its own node in the JCR until I use the dialog to configure its parameters. I don't want to require that an author use the dialog in order to make this component function properly.The reason I am trying to render an image, rather than simply serving a static image, is that I am creating a Captcha component that developers can embed into their c...

Views

6.5K

Like

1

Replies

5
Re: Passing data to an embedded component via data-sly-resource
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
I don't know exactly how the selectors implementation can be leveraged, but my first understanding will not meet my needs. "Selectors" implies a set of parameters that Sling can use in the selection of resources from the JCR. What I need is to use this value client-side in the javascript backing the page.Can selectors be used that way?

Views

3.0K

Likes

0

Replies

3
Creating a node in the JCR when a component is rendered
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
I am creating a component that contains an image-rendering (Java) servlet as part of its implementation. When the component is first rendered, it does not have a node under /content in the JCR, which is preventing the image from loading. What I think is happening is that since I am requesting an image from AEM based on the location of the instance of my component in the JCR, Sling cannot properly find and invoke the servlet, since no node exists with the given selectors.Specifically: I haven't f...

Views

7.7K

Likes

2

Replies

18
Passing data to an embedded component via data-sly-resource
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
I am following the documentation and other posts (stackoverflow, etc.) to find a way to pass parameters to an embeded component. My goal is to create the embedded component that can receive and make use of this data; I also have control over the wrapper component.In the wrapper component I am embedding using this syntax:On the server, I have a Java Use class:public class MyHelper extends WCMUse {private String myParam = "myDefaultValue";@Override public void activate() throws Exception {this.myP...

Views

4.8K

Likes

0

Replies

5
Deciphering the "Custom Node Types" document
Avatar
Ignite 3
Level 2
darren_hoffman
Level 2

Likes

4 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Seeker
Engage 1
Springboard
Establish
View profile
darren_hoffman
- Adobe Experience Manager
I'm trying to learn how to create new Nodes in the JCR programmatically, and I am getting ConstraintViolationExceptions. I have found this guide on the Adobe site describing various custom node types that are implemented in AEM and their properties and dependencies.Unfortunately, this document does not clearly communicate the node definitions--it lists some properties but doesn't explain the meanings, rules, or relationships between the properties and the node type. For example:[cq:AuditEvent] -...

Views

311

Likes

0

Replies

1
Likes from