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

Sunil_Chowdhary
Community profile Sunil_Chowdhary Level 2
Job title here
Location here
4 BADGES
Level 2

Level 2

Learn more
Joined the community 14-06-2013 4:27:42 AM
Offline
Top badges earned by Sunil_Chowdhary
Customize the badges you want to showcase on your profile
Re: Expression language in jsp, not putting the HTML markup correctly
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi Anton,Thanks for your suggestion( change " to ' ), it's working fine when value is .May be we need to request third party to change double quotes to single quotes or need to figure out another workaround to make it work.

Views

441

Likes

0

Replies

0
Re: Expression language in jsp, not putting the HTML markup correctly
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Yes @smacdonald2008.

Views

359

Likes

0

Replies

0
Expression language in jsp, not putting the HTML markup correctly
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi Experts,Issue : double equals(==) gets changed to single equal(=)Issue explanation : If a property(say named "abc") with value "" is saved in a node(can be jcr:content node of page or any component node below it).Code to read the property value in jsp :${pageProperties.abc}Instead of o/p as : It gives below o/p : One equals sign gets removed from src value resulting in image not getting loaded.[Note : We don't have access to change the src value as we are getting such valuefrom third party se...

Views

973

Likes

0

Replies

4
Re: Issue with url.infinity.json
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Thanks @Kautuk."APACHE SLING GET SERVLET" config. 

Views

1.4K

Like

1

Replies

0
Re: how to pass request parameters to edit dialog
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi Kuanqi,Assumption based on "I know the way to hidden the tabs according to the value of dialog itself, but I don't know how to pass request parameters to component's edit dialog." : You already have listeners to show/hide tabs.Requirement : To show/hide tabs based on query parameter available.Solution : Use same logic you already have in your listener, may be on loadcontent event. Just add condition/logic using appropriate url parameter which can be easily read using js. For reference : http:...

Views

311

Likes

0

Replies

0
Re: Problem with ACS Common Package
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi @Maddy737,Could you please post snapshot of issue from console tab of developer tools along with line where it is happening(will get it once click on console error , I guess) ?It might help to understand the issue.

Views

1.2K

Likes

0

Replies

0
Re: Using JavaScript with a Sightly Component
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Article in nutshell :- Do we have to use "data-sly-unwrap" even if we used "sly" ?

Views

479

Likes

0

Replies

2
Re: using the sling post servlet to create new nodes under a cq:Page
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi B Stockwell,,The issue is most probably due to request trying to create nodes directly under cq:Page node type.Possible solutions : Solution#1 :Submit form to :/etc/news/users/jcr:content/ instead of /etc/news/users/Solution#2 :Create page for each new user under /etc/news/users/with following request:Ref. : http://www.wemblog.com/2011/09/how-to-create-pages-using-curl-command.htmlHope it helps. Take care.

Views

905

Likes

0

Replies

0
Re: SQL2 Query to find out DAM Asset Expiry Date
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi @Himanshu,I hope you already have got solution.But just for others :-Assuming prism:expirationDate as expiry date, if offTime as expiry date replace accordingly.SQL2 query : SELECT p.* FROM [nt:base] AS p WHERE p.[prism:expirationDate] >= CAST('2016-01-01T00:00:00.000Z' AS DATE) AND p.[prism:expirationDate] <= CAST('2016-01-07T23:59:59.999Z' AS DATE)(Note the date might need to be formatted using Java API to make this query dynamic)Reference :-http://labs.6dglobal.com/blog/2014-10-07/9-jcr-sq...

Views

587

Likes

0

Replies

0
Re: Is there a way to get List of Servlets running in AEM ?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi @Steve Cave, thanks for your suggestion , but could not get much there.Hi @kunal23 , yes there is no point getting list of all servlets running in AEM and we don't need it either. But thanks for pointing out the API , though could not get much from them or may be I am still missing something.The code which seem to do what needed is : ServiceReference[] registeredServices = FrameworkUtil.getBundle( .class).getRegisteredServices();registeredServices[i].getProperty("sling.servlet.selectors") //u...

Views

3.4K

Likes

0

Replies

1
Is there a way to get List of Servlets running in AEM ?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Needed it to configure default AEM forms (Not AEM adaptive forms) to display list of Servlets in Action dropdown, as it seems better to have Servlets as bundle instead of GET.jsp or POST.jsp nodes in crx.Any help is highly appreciated.TYA,Sunil

Views

5.0K

Likes

0

Replies

5
Re: /apps not populating in crxde
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi hemanta78169562Would it be possible for you to confirm with a CQ5.6 installation, as I doubt there exists such functionality in CQ5.6 .Please confirm.Thanks.

Views

326

Likes

0

Replies

0
Re: Hiding remove icon of a multifield Item
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
The property which we can use , in this case may be is : cls[example : /libs/foundation/components/page/tab_basic/items/vanity/items/vanityPath]It allows to add custom class on component container.This class then can be used by css/js (which loads only in author environment ) to hide remove icon.~Thanks.

Views

430

Likes

0

Replies

0
Re: How to access a js function inside dialogs
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
I think you have done it right, the only modification we have to do is to load clientlibs path instead of jquery file .So instead of plugin/js/jquery-1.11.3.min.js just use your clintlibs path which is basically based on the category name provided in clientlibrary folder.

Views

861

Likes

0

Replies

0
Re: How to access a js function inside dialogs
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Looks like solution to problem suggested is to use listener or dialog event to load clienlibs/js+css.+ Points:- Not dependent on page jsp or siteadmin or site. The js will get loaded before the dialog opens and gets rendered.- Points:-The js events may not bind properly but it basically depends on js library included.

Views

776

Likes

0

Replies

0
Re: Link is not working for Custom Text Component
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
For tags apearing in new line:-Seems like a css issue.Please inspect the element and check the applied css.For 123 not appearing in html:-Check the value saved in node and how the value gets retrieved in jsp.It should work.Please let it know if any issue and, let us know the solution if you already got it.

Views

214

Likes

0

Replies

0
Re: Any ideal use-case of injecting servlet in Sling Model ?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Thanks for your reply.Went through the mentioned article, but still not able to get the use of below code available athttps://sling.apache.org/documentation/bundles/models.html @Inject@Filter("(paths=/bin/something)")private List servlets;

Views

467

Likes

0

Replies

0
Re: Any ideal use-case of injecting servlet in Sling Model ?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
https://sling.apache.org/documentation/bundles/models.html http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html

Views

473

Likes

0

Replies

0
Re: Any ideal use-case of injecting servlet in Sling Model ?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Yes, reason being calling servlet methods do not makes much sense. May be I am missing something here in case of servlet. Injecting any other service seems reasonable though.

Views

472

Likes

0

Replies

0
Any ideal use-case of injecting servlet in Sling Model ?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Any ideal use-case of injecting servlet in Sling Models ? @Model(adaptables=SlingHttpServletRequest.class)public class MyModel {@Inject@Filter("(paths=/bin/something)")private List servlets;}Ref. :-https://sling.apache.org/documentation/bundles/models.html

Views

1.1K

Likes

0

Replies

7
Re: Customize position of dialog window in xtype 'paragraphreference' in AEM 6.1
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
I hope the better idea will be to use "cq:editConfig" node with cq:dialogModeStringfloatingThis will allow the primary dialog of component to detach from document and "browse dialog" in this case will also open at same level as primary dialog.

Views

488

Likes

0

Replies

0
AEM 6.1 | Oak 1.2 configuration to not index subassets created under dam:Asset documents
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Hi all,In CQ 5.6 we have configuration to not index subAssets created under pdf files, so that they don't appear in search results. Do we have similar configuration for Oak 1.2 ?

Views

478

Likes

0

Replies

2
Re: CRX Package Import Order
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
If Folder node primaryType is nt:Folder or sling:Folder , the child nodes should be alphabetically sorted.If folder type is sling:OrderedFolder, the results might contain nodes ordered the way it were put into repository by a package or code.

Views

594

Likes

0

Replies

0
Re: Boost Value not working in full text search in AEM 6.1
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Support boost:-https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes.htmlTo update Oak version to 1.2.7 or wait till Service Pack 1 gets released, which is scheduled for end of Q1 2016.

Views

573

Likes

0

Replies

0
Re: xpath query to search for text "/wordprefixedwithslash" in entire content structure i.e. pages?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Yes bsloki, tried with that, but it do not seems to be making any impact.

Views

244

Likes

0

Replies

0
xpath query to search for text "/wordprefixedwithslash" in entire content structure i.e. pages?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Need to search for "/wordprefixedwithslash" text in content tree so that all these matches can be replaced with "/someotherwordprefixedwithslash".So that the search query do not matches only text "wordprefixedwithslash" in content structure. Tried with "/jcr:root/content/websitepath//element(*, nt:hierarchyNode)[jcr:contains(jcr:content, '/wordprefixedwithslash')]" but it's returning all nodes where we have "wordprefixedwithslash" even though our goal is to search for pages having "/wordprefixed...

Views

273

Likes

0

Replies

2
Hi All, Can we package some specific i18n values(jcr:mixinTypes -sling:Message) and install it in another instance?
Avatar
Validate 1
Level 2
Sunil_Chowdhary
Level 2

Like

1 like

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 1
View profile
Sunil_Chowdhary
- Adobe Experience Manager
Requirement: The easiest possible way to add specific i18n values in an instance from another instance, without disturbing existing ones.Solution attempted:Created package, selecting specific required keys using CRX package manager.Installing the package in another instance do not adds the required node.While doing "Test Install" from package manager getting following: Dry Run: Skipping node types installation (might lead to errors). Any idea on how to achieve this. Any help will be highly appre...

Views

208

Likes

0

Replies

2