since ‎29-07-2016
‎21-04-2020
rachanam1547401
Level 3
Re: Lots of content - AEM Author performance issues
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi,I think your AEM instance might not be tuned properly. I have written short summary of "Sling Memory Deep Dive" here https://medium.com/the-telegraph-engineering/four-highlights-from-adaptto-2018-3781782a6b7a and a detailed session video available here adaptTo() 2018 I found it very interesting in terms of memory usage, you may want to check it.Running compaction will obviously help and 6.4 does online compaction already so make sure it's happening.Creating indexes based on your queries will ...

Views

1.3K

Likes

0

Replies

0
Re: Dynamically populate Touch UI dialog - select options
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hiwrote a small blog about this approach, thanks all for your valuable inputs.https://medium.com/the-telegraph-engineering/saying-more-with-less-how-to-build-components-for-aems-two-uis-without-repe…

Views

1.2K

Like

1

Replies

0
Re: RTE in AEM 6.4 touchUI
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Arun,Thank you for your reply. We are not using core components, we managed to fix it by using extraClientlibs="cq.authoring.dialog.rte.coralui2" in touchUI dialog. RTE is now showing up but it didn't show "paraformat" options as we were using sling:resourceSuperType and loading RTE from xml file, we had to copy all the RTE options and add uiSettings node to the dialog xml file in order for us to have completely working RTE in touchUI dialog. Classic UI dialog still loads them from generic xm...

Views

2.9K

Likes

0

Replies

0
Re: Custom RTE not working with aem page template/property
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Have you found any solution, we are facing similar issue too.

Views

1.8K

Likes

0

Replies

1
Re: Dynamically populate Touch UI dialog - select options
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi all,Thank you for your replies, we ended up using acs commons generic lists using data source option.

Views

1.1K

Likes

0

Replies

0
Re: RTE in AEM 6.4 touchUI
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi @hamidk92094312 @JaideepBrar Thank you for your messages.What are you doing when you get the error ? Steps that leads to the errorAs soon as I open the touch ui dialog with RTE configured, I see that javascript error and it's not showing rich text editor.What version of the product ?AEM 6.0I tried to use sling:resourceSuperType as well but that didn't help. Another interesting observation, We have another template A where I tried to drop this component with RTE configured, I can see it workin...

Views

2.9K

Likes

0

Replies

2
RTE in AEM 6.4 touchUI
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi,Rich Text Editor in touchUI dialog is not working for us even in out of the box text component.We are getting this error in the console whenever we try out of the box text component or our custom component. richtext.min.5-42--0.js:1148 Uncaught TypeError: a.rte.ui.cui.DefaultFullScreenAdapter is not a constructor at c.initializeEditorKernel (richtext.min.5-42--0.js:1148) at c.startEditing (richtext.min.5-42--0.js:1160) at c.start (richtext.min.5-42--0.js:1161) at c (richtext.min.5-42--0.js:81...

Views

3.1K

Like

1

Replies

6
Dynamically populate Touch UI dialog - select options
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi team,I want to populate touch UI dialog's select field from json file, is it possible without writing any backend/java code?I am looking for an option similar to class UI dialog where we can specify options="" for selection widget which automatically populates widget with the options from json file.Thanks & Regards,Rachna

Views

2.6K

Likes

0

Replies

5
Re: AEM Search
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Ok thanks!, I thought they want to make indexing faster and offloading it to somewhere else can make life easier so I replied for this question. "When I add a property/node in my custom index, then it takes a lot of time to re-index. Any suggestion to make the reindexing go any quicker ?" - offloading won't make indexing faster but it's just makes primary usable and minimal or no downtime to apply index changes on prod!

Views

4.2K

Like

1

Replies

0
Re: Dispatcher cache clearing from publisher
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
I think recommended way to clear publish dispatcher cache is always from publisher via replication agent on publisher as oppose to author.Not sure why do you need to clear publish dispatcher cache from author directly.Regards,Rachna

Views

2.6K

Like

1

Replies

0
Re: AEM Search
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
You may want to try "out-of-band" indexing Jackrabbit Oak – Oak Run Indexing

Views

4.7K

Like

1

Replies

2
Re: Dispatcher cache clearing from publisher
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi,The way AEM works is, publisher sends flush call to dispatcher to either flush or rebuild the cache depending on replication agent serialization type.If I understand your question correctly(it's asking about publish dispatcher and not author dispatcher), this is how AEM should work - Page is activated from author, as soon as it reaches to publisher, publisher sends flush/re-fetch call to dispatcher to either flush or rebuild it's cache for the activated page.Regards,Rachna

Views

2.6K

Like

1

Replies

0
Re: AEM Preicate query with cq: tags
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi,you can try something like this1_tagid.property=jcr:content/cq:tags1_tagid.1_value=we-retail:equipment1_tagid.2_value=we-retail:season/summer

Views

2.5K

Likes

0

Replies

0
Re: Moving components inside container component.
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Thanks for your suggestion, could you please tell us from where to start for using AEM Responsive grid? Also, will it work on Classic and Touch UI?I heard that Responsive grid css floats and old css standards that can yield unexpected results especially in new browsers?Also, it's too many lines of code i.e. 840 lines of css per breakpoint per layout? Also regarding this move thingie, I had to put sub component in parsys and then it allowed me to move without parsys it didn't allow me to move.Tha...

Views

1.3K

Like

1

Replies

0
Re: Moving components inside container component.
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi guysThanks a lot for your response. I added cq:actions to sub component and it started working however moving cards inside container is not smooth operation, it's so flaky and doesn't move cards very easily, not a great user experience. Is it possible to pre-populate parsys with the sub component as soon as user configures parent container component?We are not using AEM responsive grid, we have got custom grid. We are building custom component that contains child components and these child co...

Views

1.3K

Like

1

Replies

0
Moving components inside container component.
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Team,I have a container component which on configuration adds another sub components inside it. The issue is I am not able move/delete/cut/copy those sub components.Any idea?Thanks in advance!Regards,Rachna

Views

3.5K

Likes

0

Replies

6
Re: Removing wrapper div in author & publisher view
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Both,Thank you for your help. We are going to use Arun's solution to fix grid in author mode.Also, we are using custom grid and not AEM responsive grid.Regarding unwrapping div in publish mode, I couldn't use because we are adding parsys and dropping components in parsys. I have to use getRequest().setAttribute(ComponentContext.BYPASS_COMPONENT_HANDLING_ON_INCLUDE_ATTRIBUTE, false); Basically I wrote a class extending WcmUse class and added above code in activate method of it. Called the cla...

Views

4.2K

Likes

0

Replies

0
Re: Removing wrapper div in author & publisher view
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi All,Thanks for your replies. We want to remove wrapping div in author because it breaks the grid layout and will require extra css to fix it. We also don't want to stop edit functionality of the component.Thanks

Views

4.2K

Like

1

Replies

3
Removing wrapper div in author & publisher view
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi,I was trying to remove wrapper div on components for a specific page types using following code. getRequest().setAttribute(ComponentContext.BYPASS_COMPONENT_HANDLING_ON_INCLUDE_ATTRIBUTE, false);It does remove the wrapper div but it also remove edit functionality on components. My requirement is to preserve edit functionality and remove wrapper div as well in both author and publish mode.Anyone has any idea on how to achieve this or it's not possible because the reason for wrapper div is to e...

Views

5.1K

Like

1

Replies

7
Re: TTL based on resourceType
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi,I have got TTL based on resourceType working and the implementation is very similar to acs-aem-commons class DispatcherMaxAgeHaderFilter.javaThanks & Regards,Rachna

Views

1.0K

Like

1

Replies

0
Re: TTL based on resourceType
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Gaurav,Thanks for your reply. I already have SSI implemented which is similar to SDI and it has it's own challenges of invalidating SSI snippets on dispatcher and one of the reason, we are looking for simple solution like TTL.I will try customising ACS code and will update here. Once again thanks a ton, much appreciated!!Regards,Rachna

Views

987

Likes

0

Replies

0
Re: Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
anjalishyamsundar​ Hi yeah you can try JCR Events but I didn't use it because it's not cluster safe and very low level, requires lot of filtering in the code before we reach to interested event. I am also not using osgi annotations so that's another blocker for me to go for JCR Events.

Views

2.8K

Like

1

Replies

0
TTL based on resourceType
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi All,I am trying to implement TTL using acs aem commons and it's working fine if I configure it based on paths(Max Age) option.I was looking for something if it has TTL configuration available per resourceType or template based? Has anyone tried this thing.Having resourceType based TTL can be helpful in my case becauseI have all the pages stored at the top location e.g. [dispatcher-cache-root]/page-1.html(templateA) [dispatcher-cache-root]/page-2.html(templateB) etc. I want all of them to be c...

Views

1.6K

Like

1

Replies

3
Re: Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Arun,Many thanks for the help, I replaced maven scr plugin with OSGI annotations plugin and looks like I am able to get the repository now but I am getting exception when I try to register event handler using observationManager object.It throws exception on following line.observationManager.addEventListener(this, Event.PROPERTY_ADDED | Event.PROPERTY_CHANGED | Event.PROPERTY_REMOVED, "/content/SITEROOT/**/jcr:content/**", true, null, new String[] {"cq:PageContent"} , true);Any idea?Once again...

Views

2.8K

Likes

0

Replies

3
Re: Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Arun,Thanks for it.I have written similar code as you, the only difference I can see is, you are using @Reference for SlingRepository from hereimport org.osgi.service.component.annotations.Reference; while I am using import org.apache.felix.scr.annotations.Reference;Can you please also share your pom file so I can try and make similar to your code.Thanks,Rachna

Views

2.8K

Likes

0

Replies

5
Re: Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi Arun,thanks for the message.Please find imports which I am using.import org.apache.felix.scr.annotations.Reference;import org.apache.sling.jcr.api.SlingRepository;import org.osgi.service.component.ComponentContext;import org.osgi.service.component.annotations.Component;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import javax.jcr.Session;import javax.jcr.observation.Event;import javax.jcr.observation.EventIterator;import javax.jcr.observation.EventListener;import javax.jcr.observati...

Views

3.9K

Likes

0

Replies

7
Re: Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Yes but it throws NP Exception because it doesn't get access to repository so when it tries to access .loginService on null object, it throws NPEThanks,Rachna

Views

3.9K

Likes

0

Replies

9
Re: Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Thanks Arun,I have tried above option and after deploying it to 6.4, seems like I am getting null pointer exception when I am trying to get the session using repository.loginService("readService", null); and getting null value for the repository.I have initialised repository using following line.@Referenceprivate SlingRepository repository; Thanks,Rachna

Views

3.9K

Likes

0

Replies

11
Re: Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Thanks both!JCR Events has an issue when it comes to getting admin session, it's not allowing to get session using standard sys users way, and it requires to use deprecated method repository.loginAdministrative(null) & whitelisting the bundle to get the session;I was thinking to go for higher level Page topics or Adobe I/O events for aem, any idea which is better compare to JCR events as deprecation is strongly discouraged as far as I know! I wanted to try Adobe I/O and it supports custom osgi e...

Views

3.9K

Likes

0

Replies

13
Event Handling in AEM 6.4
Avatar

rachanam1547401

rachanam1547401
- Adobe Experience Manager
Hi,We have various event handlers which are not working in 6.4 since various attributes(resourceChangedAttributes etc.) are removed from Sling Events. I was wondering if Adobe I/O Event handling can be a potential solution?? Has anyone tried this ?Thanks,Rachna

Views

5.1K

Likes

0

Replies

17