since ‎23-05-2013
‎07-04-2021
Bruce_Lefebvre
Employee
Re: Introducing the AEM Dispatcher Optimizer Tool | AEM Community Blog Seeding
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
Hi, Have you tried running the DOT Maven Plugin on your codebase locally? Details can be found here: https://github.com/adobe/aem-dispatcher-optimizer-tool/tree/main/plugin#use-from-an-aem-archetype-based-project There are additional details logged which may help us understand what's going on. For example, if there are 2 dispatcher.any files in the configuration, the DOT may be analyzing the wrong one, which could lead to it not picking up the changes you've made to the active configuration. If ...

Views

39

Like

1

Replies

0
Re: What do people think about the dispather recommendati...
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
@Brett_Birschba1 wrote:That said, what are your thoughts on why the dispatcher forwards query parameters ignored for caching purposes to the AEM server?Good question. I've raised this internally and will share an update when I know more. Thanks again for sharing your concerns about this rule. It's led to a good discussion on our team, and we've updated the ignoreUrlParams rule description with a "Security Caveat" section.

Views

75

Likes

0

Replies

0
Re: Experience Fragment issue in Dispatcher
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
Hello, The exact behaviour of the dispatcher in this situation will depend on your configuration:Is the dispatcher configured to use TTLs (via the `/enableTTL` setting)?Or, is it using .stat file based invalidation with a dispatcher flush agent?In case #1 above, the time-to-live on the content in question (often set with the ACS AEM Commons Dispatcher TTL feature) will need to expire before the page will be "refetched" from the publish tier. In case #2, .stat files will be "touched" in the cache...

Views

616

Likes

2

Replies

0
Re: How does the dispatcher flush do invalidation rather...
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
Yes, this feature still uses the standard flush agent URI (http://host:port/dispatcher/invalidate.cache), but changes the HTTP method to POST and uses the custom serialization type which is implemented in this example code (and intended to be customized for your own use case): https://github.com/cqsupport/webinar-dispatchercache/blob/master/src/refetching-flush-agent/refetch-bundle/src/main/java/com/day/cq/replication/dispatcher/DispatcherFlushContentBuilder.java

Views

263

Likes

0

Replies

0
Re: Is there a way to disable JS minification for a parti...
Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
- Adobe Experience Manager
Thank you for sharing this with community.

Views

937

Likes

0

Replies

0
Re: "mailto:" and "tel:" links do not work in InAppBrowser (Android only)
Avatar

creigelde

creigelde
- Adobe Experience Manager Mobile
There's a long-standing bug in Chromium regarding how links without protocols are handled. This error does not have a single solution till date because it arises due to a multitude of reasons. The ERR_UNKNOWN_URL_SCHEME error is commonly because of your browser issue . There's no application on your device which can handle that particular action. It is a Chromium bug . In Chrome version 40 and up, this bug has resurfaced, but only if you are manually entering the URL of the redirect page in the ...

Views

3.8K

Like

1

Replies

0
Re: Load local file error
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager Mobile
The reason I ask is that there is a known issue which prevents local XHRs when using the WKWebView plugin: [CB-10143] Local file:// url XmlHttpRequests are not allowed in WKWebViewEngine - ASF JIRA

Views

1.1K

Like

1

Replies

0
Re: Use pdf.js: Cross domain access error
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager Mobile
Hi David,I've seen this library work in other applications so I believe that this is due to a known issue [1] with using the WKWebViewEngine in iOS.Can you try creating a new app with the WKWebView plugin disabled?[1] [CB-10143] Local file:// url XmlHttpRequests are not allowed in WKWebViewEngine - ASF JIRA

Views

1.5K

Like

1

Replies

0
Re: Best way to POST a form from IOS ContentSync app to AEM Servlet
Avatar

ameesh_trikha1

ameesh_trikha1
- Adobe Experience Manager
Thanks!!My bad I should have looked at the code for filter, assumed it was failing with POSTMan it would fail on application as well.

Views

178

Likes

0

Replies

0
Re: Mobile Apps - Component referred using reference component - JSON not set in scope
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager Mobile
Hi Sandeep,The best recommendation I can offer at this point is to create an extension of the /libs/foundation/components/reference component that includes the cq:template node specifying frameworkType: angular, and supports proxying angular.json and controller.js requests to the "referenced" resource. I hacked together an example component to prove this out:Mobile reference component example · GitHub Hope this helps,Bruce

Views

548

Likes

0

Replies

0
Re: Page Specific Styles
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
The method you've used in other systems will work fine in AEM, too. Simply expose a property via your template's page properties cq:dialog (`./pageClass` for example), and output the value of that property into the class attribute of your template's HTML element. In JSP:">or Sightly:You can now define your page specific styles as follows (for example, to style paragraphs when pageClass is set to 'homePage'):.homePage p { margin: 0 1em; }A general discussion on the topic can be found here [0].[0]...

Views

531

Likes

0

Replies

0
Re: Modifying Page dialog in 6.1
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
You can get rid of the unwanted inherited tabs by including the following property on the `items` node that is a parent of the tabs:sling:hideChildren="[permissions,cloudservices,thumbnail]"

Views

438

Likes

0

Replies

0
Re: How do I get the value of a property given an absolute path?
Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008
- Adobe Experience Manager
As Bruce points out - you can use Sling - which assumes its a resource. That is a great code example. The one that i give works at the node level (JCR). When working with AEM - you can work at the JCR level (JCR API) or the Sling level (Sling API). Also - if you are interested in Sling - look at Sling Models: https://helpx.adobe.com/experience-manager/using/sling_models.html

Views

1.0K

Likes

0

Replies

0
Re: How to let the dispatcher not cache certain component?
Avatar

Feike_Visser1

Employee

Feike_Visser1
- Adobe Experience Manager
Here is also a header that you can set for the request.https://helpx.adobe.com/experience-manager/kb/DispatcherNoCache.html

Views

883

Likes

0

Replies

0
Re: Getting the hostname using Sightly
Avatar

crisr1

crisr1
- Adobe Experience Manager
I think you could probably get it easier through the request global object..${request.serverName}

Views

1.4K

Likes

0

Replies

0
Re: About ComponentGroup field
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
A componentGroup property set to '.hidden' means the component will be hidden from the side panel Components tab (touch-optimized UI) and the Sidekick (classic UI). Hidden components can be used by developers as the sling:resourceType of a template, or included directly in a component's script via cq:include (JSP) [0] or data-sly-resource (Sightly) [1].[0] https://docs.adobe.com/docs/en/cq/5-6-1/developing/components.html#[1] http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html#res...

Views

1.2K

Likes

0

Replies

0
Re: AEM phonegap app with form
Avatar

chandra_cq5

chandra_cq5
- Adobe Experience Manager
Thanks it got built.Please could you also suggest what I can do for the below My actual requirement is I need to build a mobile app that has form as input to the user and on submit gives a output similar to calculator using AEM 6 For doing such a activity I am not sure what I must know. For creating a sample form in AEM6 using phonegap do I need to know Angular js??Do we have any sample packages which has similar form which i could use for reference ??Where do i start exploring for this??

Views

326

Likes

0

Replies

0
Re: How do you localize an AEM PhoneGap App?
Avatar

gcarlino

Employee

gcarlino
- Adobe Experience Manager
Have you checked this page?https://docs.adobe.com/docs/en/aem/6-0/develop/mobile/apps/apps-console.html

Views

372

Likes

0

Replies

0
Re: how to apply permission on design mode of sidekick in CQ5?
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
To hide the design button simply "deny" (uncheck) the modify permission for the particular user or group.

Views

690

Likes

0

Replies

0
Re: integrating phonegap
Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008
- Adobe Experience Manager
I am tracking down CQ Eng to help you. 

Views

224

Likes

0

Replies

0
Re: Adobe CQ Export Content As XML
Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
- Adobe Experience Manager
content packages are zipped XML files ...Jörg

Views

459

Likes

0

Replies

0
Re: way of setting and retrieving a Page object via request attribute
Avatar

Dterner

Dterner
- Adobe Experience Manager
Another update. I marked Bruce's answer as correct. new code: Page page = (Page)request.getAttribute("page");Thanks Bruce!

Views

328

Likes

0

Replies

0
Re: How does one switching from classic UI to touch UI?
Avatar

jforney

jforney
- Adobe Experience Manager
Bruce Lefebvre wrote...I may have misunderstood, but you can always point directly to http://localhost:4502/projects.htmlAuthors can bring up the new touch page editor manually by swapping 'cf#' for 'editor.html' in the URL. For example:Classic: http://localhost:4502/cf#/content/geometrixx-outdoors/en.htmlTouch: http://localhost:4502/editor.html/content/geometrixx-outdoors/en.html I was thinking more a UI artifiact some where in the classic UI that took you over to the touch UI something like th...

Views

294

Likes

0

Replies

0
Re: Can a component or macro be made that will create child pages from a template?
Avatar

BenjaminJines

BenjaminJines
- Adobe Experience Manager
The reason I need to do it this way is because my boss wants users to be able to edit the content of the pages and also add new pages without using the AEM or CRXDE. I do not know why he wants it this way, but that is what he requested.

Views

120

Likes

0

Replies

0
Re: autocomplete in JSP - CQ on eclipse
Avatar

Naveen_AEM_dev

Naveen_AEM_dev
- Adobe Experience Manager
Worked like magic! Thanks mate.

Views

792

Likes

0

Replies

0
Re: Dragging a component onto something OTHER than a parsys
Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008
- Adobe Experience Manager
If you want to drag from sidekick - you can place components based on JQuery in the sidekick on them - however - the article that i referenced - the start zone was also on the page - not the sidekick.

Views

361

Likes

0

Replies

0
Re: Bug when naming anything some from of the word "advertisement"?
Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
- Adobe Experience Manager
No worries, I ran into this issue myself.

Views

340

Likes

0

Replies

0
Re: Fluid grid type layouts
Avatar

Ojjis

Ojjis
- Adobe Experience Manager
I would say that it's basically up to the team what they prefer.You can also check out http://masonry.desandro.com/ if you haven't already done so if you are into thethe whole "placing things in an optimal way" (when it comes to the available space in the browser). Of course things can be a bit messy using these libraries and might not suite all sites.Especially if you want to have more control over how the site would look and behave in the different device-widths.Then a more strict library like...

Views

446

Likes

0

Replies

0
Re: currentNode object throws nullpointer exception
Avatar

Ojjis

Ojjis
- Adobe Experience Manager
Could you use this for the session instead ?Session session = resource.getResourceResolver().adaptTo(Session.class);/Johan

Views

1.2K

Likes

0

Replies

0
Re: Reg Dispatcher
Avatar

maheshgundre

maheshgundre
- Adobe Experience Manager
Thanks Sham.I did it and now am able to get complete page.Thanks Mahesh

Views

276

Likes

0

Replies

0