since ‎21-06-2017
‎11-02-2021
lasling
Level 2
Re: Is anyone using swagger-aem?
Avatar

lasling

lasling
- Adobe Experience Manager
I've not heard of this, nor do I understand where it could be useful. Would love to hear from someone with experience with it and a good use case.

Views

7.4K

Likes

0

Replies

0
Re: Coral UI multifield in AEM 6.3 + sightly + JS Use api
Avatar

lasling

lasling
- Adobe Experience Manager
As much as I think having this logic in the view is a bad idea, the only way would be to test for the name of the node on the element in the code I posted.Best thing to do in my opinion would be to add code to your OSGI bundle to handle this, since it'll be re-usable across multiple components I assume.

Views

6.9K

Likes

0

Replies

2
Re: Coral UI multifield in AEM 6.3 + sightly + JS Use api
Avatar

lasling

lasling
- Adobe Experience Manager
You don't need to do anything as complicated as that. Something as simple as this works. ${child.valueMap['linkText']}

Views

6.9K

Likes

0

Replies

4
Re: AEM 6.3 /aem/start.html is not working in IE11 browser
Avatar

lasling

lasling
- Adobe Experience Manager
Did you try a private browser? IE is notorious for caching for a long time, I would be surprised if you have old versions cached. Try a private window and see if you get the same result.

Views

666

Like

1

Replies

0
Re: How do I access the properties of child pages?
Avatar

lasling

lasling
- Adobe Experience Manager
So, I wouldn't use jcr:group as the property name unless you've added that to the jcr namespace. Just use a custom property like "groupId" or "group".Secondly, having a JavaScript class is kind of overkill for this situation (unless you have some business logic going on which you haven't presented). You could simply use HTL for this. ${child.properties['group']}

Views

771

Likes

0

Replies

0
Re: How can I use the rendition images in dialog??
Avatar

lasling

lasling
- Adobe Experience Manager
There is no OOTB way to use the image field in a dialog and utilize a rendition. You would need to add some custom Java code to get the rendition based on the image. If you're using the image field in your dialog, you can do something like this (this hasn't been tested, just a guideline). public String getImageRendition() { Image image = new Image(this.getResource(), "image"); if (image != null && image.hasContent()) { Asset imageAsset = image.adaptTo(Asset.class); if (imageAsset != null) { Rend...

Views

781

Like

1

Replies

0
Re: AEM 6.2 Touch UI height issues in edit mode
Avatar

lasling

lasling
- Adobe Experience Manager
Did you clear your browser cache? After I installed SP2 it didn't seem to work - clearing my cache fixed it.

Views

575

Likes

0

Replies

0
Re: continuous error with ajax call to .2.html when hovering over authoring ui
Avatar

lasling

lasling
- Adobe Experience Manager
Do you have ACS Commons installed? I've only ever seen it with that installed and have not figured out how to fix it.

Views

3.1K

Likes

0

Replies

1
Re: Component Extractor option is not working.
Avatar

lasling

lasling
- Adobe Experience Manager
This functionality is antiquated and useless. I highly recommended doing a 1-1 migration and building the components yourself.

Views

296

Like

1

Replies

0
Re: Is it possible to preview AEM pages as they will display on different devices?
Avatar

lasling

lasling
- Adobe Experience Manager
As Scott said, I don't think in Touch UI you can do this in 6.0, however, you can render the page with ?wcmmode=disabled and use Chrome with the inspector open to display in Mobile and Tablet modes

Views

601

Likes

0

Replies

0
Re: Access Package Share from Local Instance
Avatar

lasling

lasling
- Adobe Experience Manager
The external link is Welcome

Views

1.1K

Likes

2

Replies

0
Re: Populating dropdown from values stored in nodes as properties
Avatar

lasling

lasling
- Adobe Experience Manager Forms
You can use this Experiencing Adobe Experience Manager - Day CQ: AEM 6 SP2 - TouchUI Adding Dynamic Select Options as a guide.I would also highly suggest you move your selection options out of the "apps" folder. Take a look at the ACS Commons Generic List functionality, if that doesn't work for you, move your nodes under /etc

Views

2.6K

Likes

0

Replies

0
Re: Change rootPath of the pathbrowser depending on the context where the component is added
Avatar

lasling

lasling
- Adobe Experience Manager
I found some posts on doing this in Classic UI, but nothing in Touch UICQ Dialog - Generate dynamic rootPath with ExtJS Plugin | 6D Labs extjs - How to configure a rootPath in CQ Dialog depending on current page - Stack Overflow

Views

1.1K

Like

1

Replies

0
Re: Change rootPath of the pathbrowser depending on the context where the component is added
Avatar

lasling

lasling
- Adobe Experience Manager
I totally understand your hesitation with it, and if it was more than just overlaying the dialog I would agree it's probably not a good approach, but the view/business logic stays the same between components. You're either going to have to maintain JavaScript to customize, or use OOTB functionality to overlay only the dialog.

Views

1.0K

Like

1

Replies

0
Re: Change rootPath of the pathbrowser depending on the context where the component is added
Avatar

lasling

lasling
- Adobe Experience Manager
I don't believe there is a clean code solution to this simply because of what the UI outputs for the data attributes.What may be a better idea to consider is overlay your current component with a new one and only change the dialog. This way you can give the component a different group and a different root path very cleanly. On site A you allow component 1, on site B you allow component 2. Simple and clean.

Views

1.0K

Likes

0

Replies

0
Re: Best practice to reference the third party js libraries.
Avatar

lasling

lasling
- Adobe Experience Manager
I would suggest the footer right before the tag so they're not render blocking.

Views

812

Like

1

Replies

0
Re: Accessing Cloud Services Configurations using HTL
Avatar

lasling

lasling
- Adobe Experience Manager
Is the Cloud Service Configuration for something that's OOTB (like Analytics etc), or is it a custom API service?If it's custom, I would suggest moving from Cloud Service Configuration to a more simple OSGI service with a configuration. Doing this would allow you to load the configuration much easier using a WCMUsePojo (or in 6.1, WCMUse) class and give access to the view.

Views

448

Likes

0

Replies

0
Re: How to store the values entered via component's dialog into repository other than /content/../currentPage/par node
Avatar

lasling

lasling
- Adobe Experience Manager
Couldn't agree with this more. Sounds like you need to revisit the implementation.

Views

616

Likes

0

Replies

0