since ‎08-07-2014
‎10-12-2019
leeasling
Level 5
Re: tel: protocol not working in aem for pathfield classic ui
Avatar

leeasling

leeasling
- Adobe Experience Manager
Can you add an image of the HTML source of the anchor tag as it's rendered on the page?

Views

7.1K

Like

1

Replies

0
Re: tel: protocol not working in aem for pathfield classic ui
Avatar

leeasling

leeasling
- Adobe Experience Manager
You have to update the Day CQ Link Checker Service (com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl) to allow for tel: links.You should also change the content of the href to @ context='uri'

Views

7.1K

Like

1

Replies

3
Re: Disabling delete option for component
Avatar

leeasling

leeasling
- Adobe Experience Manager
Have you tried putting a cq:editConfig in place and not providing the delete option?

Views

2.1K

Likes

2

Replies

1
Re: touch ui page not getting refreshed on adding new component
Avatar

leeasling

leeasling
- Adobe Experience Manager
First off, I would maybe try a private browser window and make sure it's not a javascript caching issue.Secondly, I would take a look at your node structure and make sure that the page has a valid cq:template and sling:resourceType.

Views

7.6K

Like

1

Replies

0
Re: Custom Multifield is not working In AEM 6.3
Avatar

leeasling

leeasling
- Adobe Experience Manager
This typically happens because 2 xtypes have the same namespace and therefore AEM tries to load both. I've seen this with ACS Commons installed (with their multifield panel) and also a custom multifield being installed.

Views

635

Like

1

Replies

0
Re: AEM Query for property with no value
Avatar

leeasling

leeasling
- Adobe Experience Manager
Not to my knowledge with the query builder. Instead of setting the value to blank, could you set it to "none" and query for "none" instead?

Views

2.5K

Like

1

Replies

0
Re: Content Fragments Use-Cases?
Avatar

leeasling

leeasling
- Adobe Experience Manager
1. You're correct. I think the point is that the content itself is located centrally and available for other authors to see, can be controlled by permissions, and you can create snippets based off of a content fragment and variations of a content fragment. From an authoring standpoint I don't believe there is any benefit as far as the number of fields, just that for other authors the content can be viewed centrally without navigating the site to find it.2. Again, good question. Language variatio...

Views

1.4K

Likes

2

Replies

0
Re: AEM Query for property with no value
Avatar

leeasling

leeasling
- Adobe Experience Manager
I think the difference is that you removed the value, meaning that the property name still exists on the node but has an empty string - when you save an empty value using a dialog, the property itself is removed - so the not operation looks for the property not being on the node at all. Go ahead and delete the "test" property rather than give it an empty value and the query should return that page.

Views

2.5K

Likes

0

Replies

0
Re: Content Fragments Use-Cases?
Avatar

leeasling

leeasling
- Adobe Experience Manager
I think the point of content fragments was to be able to create pieces of content that could potentially be used in multiples places, with or without slight variations, and house them in a single location, rather than prior where you'd need to use a reference component and have the author navigate the node structure to find what they're looking for.To attempt to answer your questions:1. They can be used for anything, long articles, short blurbs, it really doesn't matter the length of the text. Y...

Views

1.4K

Like

1

Replies

0
Re: Custom Multifield is not working In AEM 6.3
Avatar

leeasling

leeasling
- Adobe Experience Manager
This is very vague.This is also the reason you don't implement custom multifields, because the API's are constantly changing.

Views

667

Likes

0

Replies

0
Re: AEM Query for property with no value
Avatar

leeasling

leeasling
- Adobe Experience Manager
You can do the following and remove the property.valueproperty.operator=notYou may also need to add @jcr:content/ to the property name, so the full thing would look like this:path=/content/myproject type=cq:Page property=@jcr:content/sectionEmail property.operation=not

Views

2.5K

Likes

2

Replies

0
Re: Adobe Granite HTML Library Manager - Long term client side cache key
Avatar

leeasling

leeasling
- Adobe Experience Manager
It's part of the Apache Configuration. Documentation is here Versioned ClientLibs Apache ConfigurationTo configure Apache to send the right header to set a long TTL:SetEnvIf Request_URI "(\.min)?\.[a-f0-9]+\.js" long_expires=true SetEnvIf Request_URI "(\.min)?\.[a-f0-9]+\.css" long_expires=true Header set Cache-Control max-age=2592000 env=long_expires

Views

845

Like

1

Replies

0
Re: Tag ID xtype multifield issue in AEM 6.2
Avatar

leeasling

leeasling
- Adobe Experience Manager
Try changing the store from JSON to NODE and make sure your property name for tags is ./cq:tagsAdd this to your dialog fieldacs-commons-nested="NODE_STORE"

Views

754

Like

1

Replies

0
Re: minifying JS and CSS in 6.2 causing errors
Avatar

leeasling

leeasling
- Adobe Experience Manager
the most common cause of this i've found is that you're using a reserved word as a variable name or function name. If you check the error log, you'll see the first time it errors it'll give you a pointer close to the word it failed on.

Views

1.9K

Likes

2

Replies

0
Re: AEM Post Servlet Ajax call fails on first time call when page opened in new browser.
Avatar

leeasling

leeasling
- Adobe Experience Manager
You need to update the users information in the browser. Try the below. It clears any current information stored in the users profile and reloads it after successful login.$(document).ready(function() { if(userName && password) { if (CQ_Analytics) { if (CQ_Analytics.ProfileDataMgr) { //Clear the current profile CQ_Analytics.ProfileDataMgr.clear(); } } $.ajax({ type:'POST', url : path[0]+"/j_security_check", data: { j_username: userName, j_password: password, j_validate:"true" }, success: functio...

Views

957

Likes

0

Replies

0
Re: Trouble with HTL includes
Avatar

leeasling

leeasling
- Adobe Experience Manager
Remove the "data-sly-unwrap" - you're unwrapping the element that's needed for editing.

Views

742

Likes

0

Replies

0
Re: Sightly component with drag and drop image (get the file reference)
Avatar

leeasling

leeasling
- Adobe Experience Manager
public class ImageHelper extends WCMUsePojo { public String getImageSrc() { Image image = new Image(this.getResource(), "image"); if (image != null && image.hasContent()) { image.setSelector("img"); return image.getSrc(); } return null; } public String getBackgroundImageSrc() { return "background-image:url(" + this.getImageSrc() + ")"; } } Some stuff in here.

Views

730

Likes

0

Replies

0
Re: String[] type for Multivalued Properties - AEM
Avatar

leeasling

leeasling
- Adobe Experience Manager
Easiest way to handle it is as follows:String[] value = properties.get("propertyName", new String[] {});This will create a string array regardless of 1 or multiple string values, regardless of String or String[] type.

Views

5.6K

Likes

0

Replies

6
Re: Not able to login in AEM Publish instance
Avatar

leeasling

leeasling
- Adobe Experience Manager
Check the referrer filter configuration and make sure the domain is allowed.

Views

7.8K

Likes

0

Replies

0
Re: Best approach to show up pages at different levels in component : AEM 6.2
Avatar

leeasling

leeasling
- Adobe Experience Manager
You can use the second piece of code i posted for the multifield of path fields, this will allow you to select multiple pages at really any level, but you can restrict it by path too.

Views

786

Likes

0

Replies

0
Re: Best approach to show up pages at different levels in component : AEM 6.2
Avatar

leeasling

leeasling
- Adobe Experience Manager
I may be misunderstanding the requirements, but it would seem you could simply use the OOTB path field and set the root path to the content structure.If you need to allow them to select multiple then you can put that field inside of a multifield.

Views

783

Likes

0

Replies

0
Re: Is it possible to defer or async JS in ClientLibs (AEM 6.1, using JSP)?
Avatar

leeasling

leeasling
- Adobe Experience Manager
I don't believe Adobe is putting any attention on improving support for JSP beyond what's already in place. Sightly is the new standard so it may be worth implementing the component you need this functionality in with Sightly rather than JSP.

Views

3.8K

Like

1

Replies

0
Re: Loading Sightly templates outside of /apps
Avatar

leeasling

leeasling
- Adobe Experience Manager
Well the difference there is that they're developers and should know what they're doing. Any code changes by a developer should probably also go through a QA process. Giving an author, whom we have to assume knows nothing about coding/html control over code that gets compiled, in any environment, but especially in Production seems like a really bad idea. A missing single quote, accidentally deleting a curly bracket or even just misspelling something like "context" would bring the site down insta...

Views

1.2K

Likes

0

Replies

0
Re: Loading Sightly templates outside of /apps
Avatar

leeasling

leeasling
- Adobe Experience Manager
I have to ask, why on earth would you want to give authors access to something that could potentially take down their site? Seems like a really bad idea.

Views

1.2K

Like

1

Replies

0
Re: AEM 6.1 SP1 | Bundles uploaded via package manager not installed in OSGI
Avatar

leeasling

leeasling
- Adobe Experience Manager
We had this issue and DayCare informed us to stop the Region Digraph org.eclipse.equinox.region bundle.

Views

1.7K

Likes

0

Replies

0
Re: Check Touch UI Mode in Sightly HTML[AEM 6.2]
Avatar

leeasling

leeasling
- Adobe Experience Manager
I don't disagree, but at least there's a relatively easy work around.

Views

3.8K

Likes

0

Replies

0
Re: Border-radius CSS Property not working only in Internet explorer 8
Avatar

leeasling

leeasling
- Adobe Experience Manager
Wow, people still use IE8? That's insane. But yeah, Scott is right, it's not an AEM issue.

Views

1.9K

Likes

0

Replies

0
Re: String[] type for Multivalued Properties - AEM
Avatar

leeasling

leeasling
- Adobe Experience Manager
Try adding this to the dialog as a new field:

Views

5.6K

Likes

0

Replies

11
Re: String[] type for Multivalued Properties - AEM
Avatar

leeasling

leeasling
- Adobe Experience Manager
Delete the property that is currently just a "String" and then try again (this my answer was for classic UI). For Touch UI, use this:

Views

7.5K

Likes

0

Replies

13
Re: String[] type for Multivalued Properties - AEM
Avatar

leeasling

leeasling
- Adobe Experience Manager
You need to set the typeHint in the dialogtypeHint="String"This will save the value as a String[] regardless of 1 or multiple values.

Views

7.5K

Likes

0

Replies

15
Likes given to