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

snbaem
Community profile snbaem Level 6
Software Developer
Washington DC
29 BADGES
Level 6

Level 6

Learn more
Joined the community 05-08-2014 12:39:47 PM
Online
Top badges earned by snbaem
Customize the badges you want to showcase on your profile
Re: How can I test whether both the field are not empty i...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi,Please try My Text or However this or condition can be checked in model and passed as a boolean to be checked in the html

Views

42

Likes

2

Replies

0
kernel.min.js based clientlib references in AEM social communities
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi All, I see community group pages there is a clientliblist node with property scg:requiredClientLibsThere are lot of references to personalization based kernel.min.js eg personalization.core.kernel,personalization.clientcontext.kernel, personalization.stores.kernel,personalization.kernelI am not using personalization, and looking to explore if these property values can be edited and removed. On page load these js calls are taking significant time.. Please let me know if these could be updated ...

Views

22

Likes

0

Replies

0
Re: Custom Step Workflow with Ecma script
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi,Please follow https://experienceleague.adobe.com/docs/experience-manager-65/developing/extending-aem/extending-workflows/workflows-customizing-extending.html?lang=en#ecma-scriptsYou can see example scripts under /libs/workflow/scripts/ but as mentioned in the documentation do not change anything there. You will have to create a structure under /apps and add the file there. Egvar workflowData = graniteWorkItem.getWorkflowData(); if (workflowData.getPayloadType() == "JCR_PATH") { var path = wor...

Views

30

Likes

2

Replies

0
Re: Calling USE API script from JSP
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, What is the use case here? Please see https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/calling-custom-utility-methods-in-jsp/qaq-p/188661 if that is useful.Ideally if you have backend implementation already as a Model try to use HTL. Keep the backend implementation logic in service components so that if you have to use jsp, it can be called within jsp.Another way (may be not ideal) use a .html file to use the data-sly-use attribute. Use or include this HTL file withi...

Views

34

Like

1

Replies

0
Re: SonarQube Issues - ThreadSafe and finally block
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Are your service user based resolvers operated within a try-with-resources block? https://cqdump.joerghoh.de/2018/11/14/try-with-resource-or-i-will-never-forget-to-close-a-resource-resolver/ request resolvers and session resolvers need not be closed. Also curios if adding @SuppressWarnings annotation helps..

Views

18

Like

1

Replies

0
Re: minimize this java code
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi @sampath_kumar_g You can check following- Use try-with-resource instead of basic try-catch and closing resolver at the end. See -https://cqdump.joerghoh.de/2018/11/14/try-with-resource-or-i-will-never-forget-to-close-a-resource-resolver/- There is a for loop that is looping conditionPagePathsList in which the gethits based page paths were added. Instead Get a List of nodes or resources directly using results.getNodes() or results.getResources(). You will prevent a for loop there. - There is a...

Views

24

Like

1

Replies

0
Re: Junits services and servlets
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi @sampath_kumar_g If there no question here and rather an intent to demonstrate usage of Junit services and servlets, please consider adding this as a discussion.

Views

21

Like

1

Replies

0
Re: Custom quiz component approach in AEM
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, - Look to create a basic one level quiz component. The authoring options will be a question and say 3-5 Answers (fieldsets or tabs) The lower limit can be set as required. In answer field you can provide Display Answer option and the value (correct/incorrect) All the answer options can be displayed as list. And on click just display the equivalent answer option.- If the answer selection needs to pop another question explore providing a parsys within the component to allow the same component....

Views

31

Like

1

Replies

0
Re: Boolean property not exported
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi,Curious to know what is the difference between the other boolean values that are exported fine, but just not the new check box added.Suppose you have a boolean property prop1 working, can you assign a same(delete the old one)/similar name to the property name which is not working and see what is the response? Also check that the values for both working and non-working properties are same. Try both scenarios (true and false)

Views

38

Like

1

Replies

0
Re: Is "use strict" required to be in every java script f...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, In any custom file where we need the strict scope to be applied, the 'use strict' must be added there itself. So far not came across a global way to do that. We can see if Adobe staff can confirm.

Views

54

Likes

2

Replies

0
Re: Publisher getting down frequently in production.
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Is this happening in all publishers or just a publisher instance?

Views

89

Likes

0

Replies

0
Re: AEM 6.5.6/Day CQ Linkchecker +Handlebars: a/link tag...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, Can you try to update the Link Checked Transformer and check?Also try to delete the config, reload and save the desired config again?For me just Checking the "Disable Checking" checkbox helps. AEM 6.5.8

Views

26

Like

1

Replies

0
Re: Variable value to granite:class
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Thanks. The above is what I tried and was trying to get something I could do to have variable class values for multifield items. The above does not seem to work for multifield since one selection applies to all because of same class value.

Views

24

Likes

0

Replies

0
Re: Can Foundation Form Components and Core form componen...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
So it will be possible to use both and as I was trying to say that if a bulk change to core form can't be afforded for any reason, this can be tried. But it may prove to be a longer change based on your project content and usage of the component. When we say update from foundation/../text to core/../text/v2/text does it mean a manual authoring change? If not and if we can run a script/code to update the resourcetype of the existing text component to point to core, can you see if that works? Need...

Views

39

Likes

0

Replies

0
Re: List of packages getting exposed without logging in o...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, I don't see it on 6.5.8 This is the response for me. Doesn't look like an issue in 6.5.8{"results":[],"total":0}Could it be a difference in permissions for everyone group or anonymous user?

Views

60

Like

1

Replies

0
Re: Can Foundation Form Components and Core form componen...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, As far as I have seen both can co exist in same project. Also see the "Existing Projects" point at https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/overview.html?lang=en#when-to-use-the-core-components Gradual move to use of core component should be possible if a bulk change can't be afforded.

Views

68

Like

1

Replies

2
Re: Getting "null" of configuration admin service in my l...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, Can you please add more code snippet to get the context and idea on the type of service annotations used?

Views

48

Like

1

Replies

0
Re: Aem Reports Title does not accept underscore(_)
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Looks like js side errors, Can you please check error logs too? If nothing is seen, can you please add debug logs to com.day.cq.dam.api.reporting? In case some details are found there.Also what version and url are you on to see this or any steps to recreate this?

Views

61

Like

1

Replies

2
Re: Is there a way to limit Replication to publish nodes...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Usually (Ideally) there should be firewall restrictions on Prod servers to avoid such scenarios (and others).

Views

56

Like

1

Replies

0
Re: Variable value to granite:class
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Thanks a lot for quick response Arun. Will try that out 🙂

Views

70

Likes

0

Replies

0
Re: Variable value to granite:class
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Thanks a lot for your response.I am looking to show and hide an item inside a multifield.So case is I have a multifield with say 3 items. With selection of first two no action required. For selection of third item, I am showing a textfield (required). Now since this is a multifield suppose I author three items. First two with options 1 and 2 (no condition items) and the third multifield item with third option for which the show-texfiield should show up. The issue is since I am using a class name...

Views

90

Likes

0

Replies

0
Variable value to granite:class
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hello All,I am trying to add a dynamic value to a granite:class property. (To be used inside a multifield) ..... In above eg, ${requestPathInfo.suffixResource} is surely not a variable. however I am looking for something I can use here that would be unique. Does anyone have any idea what else is accessible here? Like RequestPathInfo interface are there any other interfaces available that can be accessed here? Thanks

Views

145

Likes

0

Replies

6
Re: Error: page node showing as null
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Is this for pdf stored in AEM?

Views

89

Likes

0

Replies

0
Re: Error: page node showing as null
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Trying to get more information. If the third party software scanning the nodes under content, is there a node with name 9118480 under the content tree? If the node exists we can check if the node is corrupted (Or different from other nodes that were successful) or removing that node for just checking if the software continues scanning or fails on another node that exists. We need to know how the third party reads the AEM repo (which is understandable the support team may not have much idea)

Views

111

Like

1

Replies

3
Re: Best way to design header and footer in editable temp...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
I understand neither is a permanent option. Traditional implementation will be usually header and footer components included in header and footer via base page editable template. But not as initial content, that might not be ideal. Straight forward to follow. Using XF can provide an advantage of using header/footer variations if any in different site templates

Views

108

Like

1

Replies

0
Re: Components not getting removed after giving delete in...
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hi, On deletion are there any console errors or unsuccessful network calls? Error logs can also indicate if something dependent is stopping the deletion. Also to be sure you can try to delete the component via component viewer on LHS of the authoring view.

Views

87

Like

1

Replies

0
Re: How to embed clientlibs in webpack projects
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
I am assuming the change at the component level is not included in webpack settings. the webpack additions to ui.apps will be at a somewhat higher level than the /apps/project/components, like /apps/project/clientlib-from-wp/clientlib-template1, 2 and so on. So we can manually in the code add that desired clientlib name to be embedded since we know what name webpack will generate

Views

150

Likes

0

Replies

0
Re: How to embed clientlibs in webpack projects
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Hmm right. Although at the component level, under clientlibs content xml, could we add embed (or dependencies) if that works?

Views

160

Likes

0

Replies

0
Re: How to embed clientlibs in webpack projects
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
Would it be possible to try - Let webpack generate a desired clientlibd in apps say 'clientlib-component1' and in the content.xml node of the component add that to the 'categories' field?

Views

170

Likes

0

Replies

0
Re: How to embed clientlibs in webpack projects
Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
- Adobe Experience Manager
I may be off here, I am not clear on the webpack set up you have. But can you see if you can have the file/s to be embedded (included) in a common place and just import them in the entry points of templates (or any other structure you have followed)? Webpack should be able to handle import duplications I think. Not ideal probably since we won't be able to import the clientlib as whole itself may be. Otherwise, According to https://www.npmjs.com/package/aem-clientlib-generator I see within the cl...

Views

185

Like

1

Replies

6