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

Anderson_Hamer
Community profile Anderson_Hamer Level 4
Job title here
Location here
18 BADGES
Level 4

Level 4

Learn more
Joined the community 26-09-2019 10:15:34 PM
Offline
Top badges earned by Anderson_Hamer
Customize the badges you want to showcase on your profile
Re: How to exclude node in aem using Query builder and JCR-SQL2?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thank you. notexists operation works!

Views

54

Like

1

Replies

0
How to exclude node in aem using Query builder and JCR-SQL2?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I am trying to get a page that do not have jcr:node node.Query builderTried with Query builder but it is not excluding the nodepath=/content/en_GB/about-us property=jcr:primaryType property.value=cq:PageContent nodeExists.notexists=jcr:content p.limit=-1 JCR-SQL2Tried to create a SQL for the same but query is giving exception while running, SELECT * FROM [cq:PageContent] AS s WHERE ISDESCENDANTNODE(s, '/content/en_GB/about-us') NOT (jcr:content) Can you please help me to understand why above sql...

Views

68

Likes

0

Replies

2
How to get browser details in AEM Servlet?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I am trying to get browser name in servlet but it is giving me all browser details. Is there any way to get accurate browser name ? String browserName = req.getHeader("User-Agent"); String secNa = req.getHeader("sec-ch-ua"); LOG.info("browserName !!!!!!!"+browserName); LOG.info("secNa !!!!!!!"+secNa);Below are log infoFF browser:-browserName !!!!!!!Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0secNa !!!!!!! nullChrome brwoserbrowserName !!!!!!!Mozilla/5.0 (Mac...

Views

236

Likes

0

Replies

8
Re: How to combine two queries in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Kishore - This dept "2_property.depth=5" works 🙂 thanks. But it is returning the pageContent(page). I need to see the node where cq:headerVal lives. Can you tell me why it is not retuning node?

Views

207

Like

1

Replies

1
Re: How to combine two queries in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Sorry, zero result. This groping is not helping.

Views

207

Like

1

Replies

0
Re: How to combine two queries in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Great. Thank you Ram. It works (y). Can we do index if in case of sql2 query?

Views

207

Likes

2

Replies

1
Re: How to combine two queries in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Seems regex is not supported - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/regex-in-querybuilder/td-p/295552

Views

222

Like

1

Replies

3
Re: How to combine two queries in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Please find below xpath //element(*, cq:Page) [ (jcr:content/@cq:template = '/apps/myproject/templates/full-content-page' and jcr:content/_x002a_/@cq:headerVal = 'col3') ]jcr:content/*/ became "jcr:content/_x002a_/" I think * is parsed as "_x002a_". I tried escape this * but no luck. can you tell if there any we can manage this?

Views

223

Like

1

Replies

0
Re: How to combine two queries in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
sorry, zero result. I think jcr:content/*/cq:headerVal is not working

Views

237

Like

1

Replies

0
How to combine two queries in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I am trying to get a node based on 2 conditions,Condition number 1 - It should be /apps/myproject/templates/full-content-page templateConditionnumber 2 - It should have property as cq:headerVal and value should be "col3" I have created a query for these 2 conditions. Below query will be meet 1st condition path=/content/myproject/sites/en-us 1_property=jcr:primaryType 1_property.value=cq:PageContent 2_property=cq:template 2_property.value=/apps/myproject/templates/full-content-page This query is ...

Views

252

Likes

0

Replies

12
Re: How do we maintain component config at site level in...
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thanks for your reply. The purpose of experience fragment is different. I dont want to create a XF for just to keep navigation component. Any others solution we have ?

Views

92

Likes

0

Replies

0
Re: How to customize the error message for required field...
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thank you KiranVedantam for your response. yeah, How do I override? Is there any prop to set ? or I should overlay/override the OOTB behaviour ?

Views

137

Like

1

Replies

0
How do we maintain component config at site level in Editable Template?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
We are using editable template for building website. It has 10 templates in total and all follow same header and footer. As per editable template, if you create a design dialog in component and it's properties gets stored in polices, in the /conf location but the problem here is we have to maintain the same config in 10 templates because it is not for the website instead it is for per template.Assume that tomorrow I need to make some change in header section of navigation component then I have t...

Views

128

Likes

0

Replies

3
Re: How to customize the error message for required field...
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
And I knew this can be done in foundation validation but just to change the error message I dont want to go custom validation.

Views

184

Like

1

Replies

0
Re: How to customize the error message for required field...
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
What you are mentioning it custom validation. I dont want to do any custom validation. just want to make it as required field. The OOTB required proper will do the job but just want to change the default error message to something else.

Views

185

Like

1

Replies

0
Re: foundation-contentloaded and dialog-ready event liste...
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Kiran Vedantam, No , I tried with dialog-ready but it is not giving me the value. The variable "val" is coming as empty

Views

173

Likes

0

Replies

0
How to customize the error message for required field in touch Ui in AEM
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I know we can make use of required boolean property to make the field as required. If you dont enter any field in dialog, aem gives "Please fill out this field." as per the default implementation. Can we change this error message with any property? I referred this API link - https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/form/textfield/index.html but this does not have any relevant prop...

Views

212

Likes

0

Replies

6
foundation-contentloaded and dialog-ready event listers fired before touch dialog loads all content - AEM 6.4
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I am doing some custom field level validation in touch UI. I can see the dialog-ready and foundation-contentloaded event fires before the dialog content is fully loaded which gives me empty value. I would want to know, Is there any event listener that i can use for triggering a call after my dialog is fully loaded with all widgets and its values. (function(document, $) { "use strict"; $(document).on("change", ".nutri-info-content", function(e) { var val = $(".nutri-info-dropdown").val(); // This...

Views

192

Likes

0

Replies

3
Re: Is Iparsys really not recommended to use in editable...
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Chitra & Jorg - Like you said XF can not replace iparsys behaviour. I could not format the content in comment hence let me update the msg in summary of this ticket. Please check.

Views

128

Likes

0

Replies

0
Is Iparsys really not recommended to use in editable template?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I heard that Iparsys component is not compatible in editable template and not recommended to use in editable template but I never seen any document from adobe on this. The fact is, Iparsys works in editable template in the same how it works in static template but it may not function properly when you are in editable template but the same will work in actual page. Can you one tell if it is really not recommended to use in editable template? If so please point me to adobe documentation. UPDATEAssu...

Views

172

Likes

0

Replies

3
Re: Layout Container vs Parsys component
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thank you Chitra for your detailed reply. It helps me to understand and relate the things.

Views

229

Likes

0

Replies

0
Is "use strict" required to be in every java script file in AEM?
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
The purpose of "use strict" is to indicate that the code should be executed in "strict mode". With strict mode you can not use undeclared variables.My question is, do we need to have this in every piece of custom Javascript file? Can it be set at global level or can we ask AEM to use "use strict" for all Javascript files at global or instance level? (function($,document) {"use strict";...})(Granite.$, document);

Views

149

Likes

0

Replies

2
Layout Container vs Parsys component
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I know the definitions and purpose of Layout Container and Parsys component. Layout Container:-I see that Layout Container in used in editable template. It act as Container which can contains other component plus it also have feature to divide the columns (12 columns)Paysys :- It act as Container which can contains other component I would like to hear the response on the below questions.Can Layout Container be used in static template? or Is it designed to use only in editable template?Is Layout ...

Views

272

Likes

0

Replies

2
Re: Best practice to handle Touch UI dialog field validation
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thanks for your input

Views

177

Likes

0

Replies

0
Re: Difference between Granite UI and Coral UI in AEM
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thanks for your input

Views

231

Likes

0

Replies

0
Re: Best practice to handle Touch UI dialog field validation
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thanks Bhuwan. I had already read above article. it is 3.5 years old document just want to know what is the current trend. Someone says Query based validator is deprecated. Can we start validate dialog fields using jQuery? Can you tell what is difference between jQuery validation and foundation-validation?

Views

195

Likes

0

Replies

0
Re: Best practice to handle Touch UI dialog field validation
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thanks for your input

Views

199

Likes

0

Replies

0
Re: Difference between Granite UI and Coral UI in AEM
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
Thanks for your input. Meaning that granite components are built with Coral UI so, can I say, coral UI is the foundation for all components in AEM?

Views

253

Likes

0

Replies

0
Best practice to handle Touch UI dialog field validation
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
In classic UI dialog, you would write a JavaScript function for dialog before/after submitting an event. How do we the same in touch in correct way?1. Jquery based validator. (I read out that this jQuery based validator is deprecated starting in AEM 6.2. Is that true?)2. Foundation validation validator Which one is the recommended one? Any document from Adobe on how to handle field validation?

Views

230

Likes

0

Replies

5
Difference between Granite UI and Coral UI in AEM
Avatar
Contributor 2
Level 4
Anderson_Hamer
Level 4

Likes

24 likes

Total Posts

69 posts

Correct reply

0 solutions
Top badges earned
Contributor 2
Applaud 25
Ignite 20
Give Back 25
Ignite 10
View profile
Anderson_Hamer
- Adobe Experience Manager
I have some question after I started using touch UI in AEM 6.4. AEM is maintaining both Granite UI and Coral UI on server not sure which one is the best fit and which one Adobe recommend us to use? What is the relation between these two?

Views

277

Likes

0

Replies

4