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

davids23429739
Community profile davids23429739 Level 2
Job title here
Location here
8 BADGES
Level 2

Level 2

Learn more
Joined the community 06-06-2016 4:05:31 PM
Online
Top badges earned by davids23429739
Customize the badges you want to showcase on your profile
AEM Targeting (Contexthub) - Avoid default context to 'flash'
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi All,I'm setting up Targeting using ContextHub as the engine for a project and it's pretty much done.However, I noticed that when an audience matches a defined segment and the ContextHub replaces the default content with the targeted content it looks kinda ugly.Is there a way to not display the default content for a component if it has a matching segment? I just don't want the end user to see how the default content appears and then when the JS runs it gets replaced with the targeted content. ...

Views

799

Likes

0

Replies

2
Re: How to add a query parameter to generated Clientlibs URLs.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
I tried this option and it worked! I had to adjust your code a little bit but I could add the query param at the end of the URL.Thank you all for your responses, I really appreciate it.

Views

1.0K

Likes

0

Replies

0
How to add a query parameter to generated Clientlibs URLs.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi guys,I would like to know if there is a way to add a query parameter at the end of the generated URLs when loading the Clientlibs.Consider the following scenario:This is the code I have to load the Clientlibs.The previous piece of code generates the following script tag.We currently use Amazon CF to deliver these scripts so I would like to add a query parameter at the end of the URL as a cache busting technique so that the final URL would be like:The value of the query parameter is the versio...

Views

1.8K

Likes

0

Replies

5
Re: What's the proper way to query all the users of an AEM installation.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi,Thanks for your response.Is there another way to optimize this (besides adding the required OAK indexes) ?

Views

1.1K

Likes

0

Replies

2
What's the proper way to query all the users of an AEM installation.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hello,Do you guys know what's the proper way (if exists) to query all the users in the system (under /home/users)?We have a site for one of our clients in which in one component they need to select a user from the system, it can be any user. Currently we use the following query to retrieve the users based on a search term ("%s").SELECT * FROM [nt:unstructured] AS p WHERE (ISDESCENDANTNODE([/home/users]) AND (CONTAINS(p.email, \"*%s*\") OR CONTAINS(p.givenName, \"*%s*\") OR CONTAINS(p.familyName,...

Views

1.4K

Likes

0

Replies

4
Cannot retrieve component properties from granite.resource object.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi guys I have a project running on a recently upgraded 6.4 instance.There are several components in the solution but just for one specific component the object granite.resource is acting weird.The first problem I'm experiencing with granite.resource is that the properties object is empty (granite.resource.properties) in fact if I run a JSON.stringify with the whole granite.resource object I get the following.{ "path":"/content/guidelines/logo/jcr:content/par/guidelines_hero_b", "properties":{},...

Views

846

Likes

0

Replies

0
AEM 6.4 | JS from Communities libs not loading
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi guys!I've been testing out a AEM 6.4 server to start working on a migration from a previous version. The problem I'm experiencing is with a built in component, basically the component at "/libs/social/calendar/components/hbs/calendar" is not loading. Its client libraries are being ignored therefore its JS and CSS are not being loaded.We do need that JS to load for internal proposes so when our own client libraries run, some of the JS files blow up as they need that previous file to had run be...

Views

628

Likes

0

Replies

1
How detect a replication event in the Author environment?
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi people I've got a process in which after each replication to the Publish environment I need to clean up some flags in the Author environment, therefore I need to know in Author when a replication event to Publish is done.I have a replication listener but of course this event is only triggered in the Publish environment so I don't know exactly what to do to catch in Author an event when the replication is completed. Is there a way to get something like that?Thank you!

Views

308

Likes

0

Replies

1
Re: How to detect a deleted node from page in a replication event?
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Exactly that's what I mean with sub nodes. So there is nothing already built to track this?

Views

255

Likes

0

Replies

0
How to detect a deleted node from page in a replication event?
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi everyone! To put you in context I've got this page, let's call it List Page, with several components of the same type, let's call these components Task Component (it's a regular AEM component).So the List page have a lot of Task components, when I replicate the List page from Author to Publish I need to detect on Publish which tasks were deleted or added in comparison with the previous state of the page before the replication.I have set up a replication listener but the ReplicationActionType....

Views

518

Likes

0

Replies

3
Double Quotes are removed from Textarea (dialog)
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager
Hi everyone.I've got a dialog for a component that has been created with a slideshow. Inside of each slide there is a textarea component.The problem I'm facing is that the textarea removes any double quotes that are added. Like if you were to modify the component to add some text and this text includes a double quotes, it removes them and anything that comes after.For example let's say this is the text I were gonna add:This is a sample text "double quoted text" more textAfter the component has b...

Views

812

Likes

0

Replies

2
Re: How to pass a variable (not hardcoded value) to a data-sly-use statement.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager Forms
I changed the way I retrieve the value in the js rihno file based on what you proposed and now it works good!Thank you very much susheel for keep up with me in this, I appreciate your help.

Views

684

Like

1

Replies

0
Re: How to pass a variable (not hardcoded value) to a data-sly-use statement.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager Forms
It's the same. Regardless of the type I want to adapt the property, it is still null.Both get("maxLinks", Integer.class); and get("maxLinks", String.class); returns null.

Views

691

Likes

0

Replies

0
Re: How to pass a variable (not hardcoded value) to a data-sly-use statement.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager Forms
Yes the property info.maxLinks is fine, I could print it like you mentioned and I would be able to see it. maxLinks contains a number that comes from the dialog of the component.The problems appears when trying to send it as a parameter to the java handler. I want to know if it is possible to send variables as parameters to java handlers.Actually in my handler I can for example do the following:getProperties.get("maxLinks", String.class);If I do so the maxLinks property will be there not null BU...

Views

686

Likes

0

Replies

0
Re: How to pass a variable (not hardcoded value) to a data-sly-use statement.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager Forms
I tried the solution susheel suggested but still I'm getting null.This is the complete snippet:HTML: ${info.title} ${question.title} nc-questions-and-answers.js:'use strict';use([], function() { var title = properties.get("title", ""); var showMore = currentNode.hasProperty("showmore") ? String(currentNode.getProperty("showmore")) : ""; var maxLinks = currentNode.hasProperty("maxLinks") ? Number(currentNode.getProperty("maxLinks").getString()) : 5; return { title: title, showMore: showMor...

Views

684

Likes

0

Replies

0
How to pass a variable (not hardcoded value) to a data-sly-use statement.
Avatar
Give Back 5
Level 2
davids23429739
Level 2

Likes

2 likes

Total Posts

16 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Ignite 5
Ignite 3
Give Back
View profile
davids23429739
- Adobe Experience Manager Forms
Hello Guys,I've got an issue in which I'm unable to pass a variable to a data-sly-use.This is a small snippet of the code I have. ${info.title} Basically the first data-sly-use (questions-and-answers.js) returns an object with several properties in which one of those (maxLinks) needs to be send to the second data-sly-use. The problem is that when I tried to get the variable in the java handler I'm always getting null.String maxLinks = get("maxLinks", String.class);The variables maxLinks is alwa...

Views

2.8K

Like

1

Replies

10
Likes given to
Likes from