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

Mohit_KBansal
Mohit_KBansal
Online

Badges

Badges
28

Accepted Solutions

Accepted Solutions
23

Likes Received

Likes Received
136

Posts

Posts
94

Discussions

Discussions
18

Questions

Questions
76

Ideas

Ideas
1

Blog Posts

Blog Posts
3
Top badges earned by Mohit_KBansal
Customize the badges you want to showcase on your profile
Re: Return servlet response as json data. - Adobe Experience Manager 16-08-2022
You can use google.gson api to pass json in response. try this. @Override protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) { ResourceResolver resourceResolver = request.getResourceResolver(); Resource resource = resourceResolver.getResource("/content/myproject/language-masters/en/jcr:content/root/container/container/mycomponent"); ProductDetails productDetails = ProductDetails.builder().id("component-id").name("modelname").build(); String jsonString = this...

Views

86

Like

1

Replies

0
Re: Dispatcher redirecting requests from https:// to http:// and then again to https:// - Adobe Experience Manager 11-08-2022
@tb1687196 - Thanks for your response. I will check with updating the ServerName and ServerAlias to https:// Meanwhile one query, if the domain is listening to dispatcher at port 80 is the issue, then shouldn't we upgrade the vhost configuration to both 443 and 80 ports ? This will ensure that http:// request is handled at 80 and https:// at 443

Views

40

Like

1

Replies

0
Re: Overlaying /sling/servlet/errorhandler on AEM as a Cloud Service - Adobe Experience Manager 10-08-2022
Solve it! Thanks a lot.

Views

55

Like

1

Replies

0
Re: Load device specific HTML - Adobe Experience Manager 09-08-2022
@s1101v As you know, for every unique URL, there can be only a single response which will be further cached by Dispatcher. So to get a device-specific response from the publisher, you need to generate different URLs, one for each device. Selector based approach is the best solution in this case. Now, you do not need to implement a selector in all components. Just implement in the page component, and if you do not need page level changes, call your page.html from mobile.html under the page compon...

Views

41

Like

1

Replies

0
Re: AEM SPA URL Shorten in Model Exporter - Adobe Experience Manager 09-08-2022
Hi @Mohit_KBansal , Thanks. This substitute module seems a very good option till Adobe comes up with OOTB support.

Views

42

Likes

2

Replies

0
Re: AEM 6.5 find all pages that use a specific Template - Adobe Experience Manager 08-08-2022
Thank you very much. It worked nicely.

Views

48

Like

1

Replies

0
Re: my child tittle is not coming in list in sightly - Adobe Experience Manager 08-08-2022
Use below way to print title of all child pages: ${industryModel.linkPath} ${item} //gives title of all child pages as it is the current item in the iteration.

Views

75

Likes

3

Replies

0
Re: Drag and Reordering not working in Container Component - Adobe Experience Manager 05-08-2022
I made it work, its strange but both child and parent (container) component need to belong to same group. My child component was .hidden group. also we need to add cq:actions as copymove, paste, edit plus i need to loop items dynamically as below: code here otherwise nodes will reset because i was reading nodes statically. we would also need one more loop to load un-authored components.

Views

30

Likes

0

Replies

0
Re: Need to change the JS order change in AEM clientlibs - Adobe Experience Manager 04-08-2022
The script clientlibs are loaded by your code. So you should update your code to change the script rendering sequence. Do you see any challenge in it?

Views

50

Like

1

Replies

0