since ‎09-11-2018
‎13-02-2020
sunitac70336244
Level 2
Re: Exception: Cannot get DefaultSlingScript while dragging component in Editable Templates
Avatar

sunitac70336244

sunitac70336244
- Adobe Experience Manager
Dear All,The issue is fixed now. I was getting null pointer exception in my TopNav JAVA class. So changed like below and it is working fine. if (currentPage != null) { Page homePage = currentPage.getAbsoluteParent(SiteConstants.HOMEPAGE_PARENT_DEPTH); if (homePage != null) { locale = homePage.getLanguage(true); } } }

Views

1.0K

Likes

0

Replies

0
Re: How to Use POST Response from Alfresco API in AEM6.4
Avatar

Gaurav-Behl

MVP

Gaurav-Behl
- Adobe Experience Manager
Enable/Configure debug logs on "com.sunita.wpr.aem", "org.apache.http" and "org.apache.sling" and checkDo you see this servlet/service registered and enabled in felix console?What do you see in the browser console logs? Use developer tools or Fiddler or any other proxy and check the headers on request/responseCheck if there are any errors related to CORS/CSRF/Referrer Filter?

Views

2.0K

Likes

0

Replies

0
Re: Sending Request to Dispatcher not Publish
Avatar

Gaurav-Behl

MVP

Gaurav-Behl
- Adobe Experience Manager
Use case #1 is not an issue as you mentioned because it picks up the cached content from dispatcher, however, the hostname and port# in dispatcher.any file should be of the "publish server" that is supposed to serve the content to dispatcher and not apache server's.You have configured 'statfileslevel' to 5 which I assume is intentional based on your app architecture/design.When I will change my page in author http://localhost/content/trainingproject/en.html and activate the page then the updated...

Views

1.2K

Likes

0

Replies

0
Re: intercepting the page request in AEM-6.4
Avatar

Himanshu_Singhal

MVP

Himanshu_Singhal
- Adobe Experience Manager
The easiest way, please debug the code by breaking into multiple statements and check if the value exist in valuemap or not. Resource contentRes = page.getContentResource();ValueMap map = contentRes.getValueMap();String templatePath = map.get("cq:template").toString();Put the null check and add debug statements or simply debug the code while hitting the servlet and check values. You'll get to know why null pointer!

Views

5.6K

Likes

2

Replies

0
Re: get all the child node name in the parent nodepath
Avatar

Tuhin_Ghosh

Tuhin_Ghosh
- Adobe Experience Manager
sunitac70336244​,It seems there might be multiple nodes under the parent node that you have. If you know that there would always be two levels of nodes inside "/content/VignetteContent/plan" node you could continue using this code with a little twich.Other wise if you are not sure on the number of levels, you should be using a query to get all the nodes.resourceResolver = request.getResourceResolver(); Session session1 = resourceResolver.adaptTo(Session.class); if (session1.nodeExists("/content/...

Views

4.6K

Likes

0

Replies

0
Re: Match Request VS Content URL in AEM-6.4
Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883
Arun_Patidar
- Adobe Experience Manager
I am not sure what is your requirement but you can try with setAttribute if possible filter coderequest.setAttribute("planID","197881");request.setAttribute("locationId","1234");request.getRequestDispatcher("/servletpath").forward(request, response);servlet codeString planId = request.getAttribute("planID");String locationId = request.getAttribute("locationId"); OtherwiseYou can add Query String in the url like belowresponse.sendRedirect("servletPath?planId="+planId+"&locationId="+locationId);St...

Views

634

Likes

2

Replies

0
Re: DefaultHttpClient is depricated in AEM-6.4
Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
- Adobe Experience Manager
I just checked (AEM 6.5, but 6.4 should be very similar), and there is a bundle "org.apache.httpcomponents.httpclient", which exports the java namespaces "org.apache.http.{auth,client,conn, impl}". You should be able to adapt your code to fix this deprecation easily.(If it's working can you raise a ticket with Adobe support and ask if this example can be adapted? Thanks!)Jörg

Views

1.9K

Like

1

Replies

0
Re: Pause for Custom Carousel
Avatar

Gaurav-Behl

MVP

Gaurav-Behl
- Adobe Experience Manager
try this -var currentSlide = 0;var playing = true;var slideInterval = setInterval(nextSlide,3000);function nextSlide(){ var slidesC = document.querySelectorAll('#myCarousel .carousel-inner .item');if(undefined != slidesC[currentSlide]) {slidesC[currentSlide].className = 'item';currentSlide = (currentSlide+1)%slidesC.length;slidesC[currentSlide].className = 'item active';}}function pauseSlideshow(){document.getElementById('pauseButton').innerHTML = 'Play';playing = false;clearInterval(slideInterv...

Views

762

Likes

0

Replies

0
Re: Carousel Image Responsive in AEM-6.4
Avatar

Gaurav-Behl

MVP

Gaurav-Behl
- Adobe Experience Manager
this is an issue with container-width. Add width:100% to the container class along with appropriate margins as applicable.In this case, you've applied your style on hero_marquee rather than parent hence try below code:#hero_marquee {.....width:100%;}

Views

350

Likes

0

Replies

0
Re: coral-checkbox issue in Carousel
Avatar

sunitac70336244

sunitac70336244
- Adobe Experience Manager
Hi Gaurav,Now it is working fine after I removed the space for removeClass$(el).parent().parent().siblings('.button-option-enable-showhide-target').first().removeClass("hidden"); // TODO: this selector can be optimized } else { $(el).parent().parent().siblings('.button-option-enable-showhide-target').first().addClass("hidden");Thanks a lot for your help. I am not able to mark as correct the above post.

Views

558

Likes

0

Replies

0
Re: Decrease the height of Richetext in Touch UI Dialog
Avatar

sunitac70336244

sunitac70336244
- Adobe Experience Manager
Dear All,Now it is working fine in carousel also . I had some typo mistake.Thanks a lot for your help.

Views

533

Likes

0

Replies

0
Re: Issue with Custom Carousel in AEM 6.4
Avatar

sunitac70336244

sunitac70336244
- Adobe Experience Manager
Yes Correct , As we have 2.2.0 core component in our AEM 6.4. Sure we will check for 2.2.2.

Views

709

Likes

0

Replies

0
Re: AEM6.4 - Multifield with Show checkbox in javascript
Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008
- Adobe Experience Manager
I am very happy to hear you have it working.

Views

1.2K

Likes

0

Replies

0
Re: Vertical Carousel with number
Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008
- Adobe Experience Manager
Great answer. For this requirement Arun provided the correct response.

Views

322

Likes

0

Replies

0
Re: teaser styles is not coming fine after adding less file.
Avatar

sunitac70336244

sunitac70336244
- Adobe Experience Manager
After I put background: color_code_in_HEX; after.cmp-teaser , it is coming fine. .cmp-teaser{ background: color_code_in_HEX;

Views

910

Likes

0

Replies

0
Re: Out of Box Column control is not working in AEM 6.4
Avatar

charityh8448708

charityh8448708
- Adobe Experience Manager
Several Core Components come with client libraries that need to be included on the page in order for the component to function properly.

Views

1.5K

Likes

0

Replies

0
Re: Component is coming 2 times when refreshing the pages
Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008
- Adobe Experience Manager
I am happy to hear it's working after you started using Maven Arch 15.

Views

221

Likes

0

Replies

0
Re: After migrating From AEM 6.2 to AEM 6.4 Clientlib is not working in Publish
Avatar

sunitac70336244

sunitac70336244
- Adobe Experience Manager
Thanks Arun ,Now it is working fine after , I changes all my images/ path to the below path. background-image: url("/etc.clientlibs/SUNITA/clientlibs/global/resources/images/arrow-background.png");

Views

684

Likes

0

Replies

0
Re: Is Polls component available in AEM 6.4?
Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
- Adobe Experience Manager
OOTB they are not available since 6.1 [1].You would have to create your own or integrate 3rd party apps. [1]Tally Essentials

Views

300

Likes

0

Replies

0
Re: Multi-filed is not working after upgrade to AEM 6.4
Avatar

Ratna_Kumar

MVP

Ratna_Kumar
- Adobe Experience Manager
Hi,As AEM 6.4 is very advanced version and its built on granite framework, AEM 5.6 classic UI components may not work pm 6.4.Some components needs to be updated to Touch UI and multifield is very main component. Its recommended that you use granite as Scott suggests. Thanks,Ratna Kumar.

Views

1.3K

Likes

0

Replies

0
Re: Radio button values not persisting in coral multifield component
Avatar

sunitac70336244

sunitac70336244
- Adobe Experience Manager
Dear All,We are also facing the same issue.Any solution for this ?

Views

1.2K

Likes

0

Replies

0