since ‎26-06-2014
‎10-12-2019
Radha_Krishna_N
Level 3
OOTB multifield support min and max | AEM touch ui
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
HiDoes OOTB multifield support min and max limit on the items in AEM touch ui?I have seen few blog posts where custom scripts have been written. But what I am looking for is something like setting a property on the node and no client library tobe added.Thanks,Radha Krishna N

Views

697

Like

1

Replies

1
Touch UI | Dialog fields reuse
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,I have dialog tab with different fields -cta-label (./cta/cta-label) cta-url (./cta/cta-url) cta-target (./cta/cta-target).​Now I have to re-use these in multiple tabs in another component's dialog as primary cta & secondary cta. If I use above tab multiple times using sling:resourceType: granite/ui/components/coral/foundation/include path: then this creates an array for each property (after dialog save). Do we have any other way of re-using the tab to accomodate my requirement?Thanks,Radha K...

Views

603

Likes

0

Replies

0
Re: AEM 6.4.4 | Customizing Consoles
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Thanks JaideepBrar​ for the response.Is there any updated adobe documentation on how to customize the console. I was comparing /sites structure between AEM 6.1 and 6.4 and it is different.Thanks,Radha Krishna

Views

1.2K

Likes

0

Replies

0
AEM 6.4.4 | Customizing Consoles
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi All,code sample aem-admin-extension-new-console in the article Customizing the Consoles​ does not work (UI breaks) on AEM 6.4.4 (SP4). But it works fine on AEM 6.4 only. Can anyone help in this regard?Thanks,Radha Krishna

Views

1.2K

Likes

0

Replies

2
AEM 6.4.4 | Client library
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,How to invoke custom JS logic(setting a cookie) on load of below pageshttp://localhost:4502/projects.htmlhttp://localhost:4502/sites.htmlWhat clientlibrary category I need to use?Thanks,Radha Krishna N

Views

761

Likes

0

Replies

1
Re: Getting "Cannot be resolved to a type" error on java files
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Add the package containing your java class to the bundle plugin configuration in the pom file.Apache Felix - Apache Felix Maven Bundle Plugin (BND) org.apache.felix maven-bundle-plugin true true ... com.myProject.myProjectchat.global.* ... ...

Views

3.6K

Likes

0

Replies

0
Re: Can I cache 404s on Dispatcher?
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
If you are sure the requests always result in 404, block the url pattern before coming to dispatcher.

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Thanks Arun for the clarification. Below dependency order worked for me. org.apache.felix org.apache.felix.eventadmin 1.4.10 provided org.osgi osgi.core 7.0.0 provided org.osgi osgi.cmpn 7.0.0 provided org.osgi osgi.annotation 7.0.0 provided

Views

1.6K

Like

1

Replies

0
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Arun,1. Placing the org.osgi.compendium dependency below did not work for me.2. Which dependency should I be using org.osgi.compendium or org.apache.felix.eventadmin3. org.osgi.compendium:5.0.0 and osgi.cmpn:7.0.0 are different versions of OSGi Compendium specification. Is this correct? Thanks,Radhakrishna N

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
arunpatidar26​ after making changes to pom as below, bundle became active. I have org.apache.felix.eventadmin dependency before osgi.cmpn org.apache.felix org.apache.felix.eventadmin 1.4.10 provided org.osgi osgi.core 7.0.0 provided org.osgi osgi.cmpn 7.0.0 provided org.osgi osgi.annotation 7.0.0 providedAlso the dependency which you mentioned worked when I placed at the top. But aren't we dependent on 2 versions of the same artifact? org.osgi org.osgi.compendium 5.0.0 provided org.osgi osgi.cor...

Views

1.3K

Like

1

Replies

0
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi Hemant,Did you modify the pom to use osgi R7 dependencies as above?It works for me also with AEM6.4.3+maven archetype 17 (no modification to pom file).Thanks,Radha Krishna N

Views

1.3K

Likes

0

Replies

0
AEM 6.4.3 | Osgi R7 | Bundle in Installed status
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,I created a project using maven archetype 17mvn archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=17 -P adobe-publicupdated the pom to use OSGI R7 dependencies org.osgi osgi.core 7.0.0 provided org.osgi osgi.cmpn 7.0.0 provided org.osgi osgi.annotation 7.0.0 providedDeployed to AEM 6.4.3 instance. But the bundle is in installed status due to org.osgi.service.event,version=[1.4,2.0) -- Cannot be resolvedSimpleResou...

Views

4.0K

Like

1

Replies

9
Re: Service user and mapping
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
The jcr:primaryType of q1_hkN-Qns4jK_Lt9ri_ node must be rep:SystemUser in the xml file

Views

1.2K

Likes

0

Replies

0
Re: Resource Streams in Apache Sling
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Thanks dan.klco​ for the article.1. Can this API be used to set properties on the resource while traversing?2. If yes, how do we pass resource resolver to commit?Thanks,Radha Krishna N

Views

5.9K

Likes

0

Replies

1
Re: Closing Resource Resolver
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Ratna Kumar​ Yes Scott has shown how to get the resolver in an OSGI component. But the article is not showing how to close it.

Views

1.6K

Likes

0

Replies

0
Re: Closing Resource Resolver
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
smacdonald2008 Should the resource resolver be closed or get it using try-with-resources (AEM 6.2 onwards)?

Views

1.6K

Likes

0

Replies

0
Re: Closing Resource Resolver
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Thanks arunp99088702​ Vish.dhaliwal​ for your inputs.But in most of the community articles which gets resource resolver(rr) as above, either they mention a note about closing rr or use administrative rr. I think the new articles should stop using the old approach. This would help the people who are new to AEM community.kautuksahni​ smacdonald2008​

Views

1.7K

Likes

0

Replies

0
Closing Resource Resolver
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,In AEM 6.1, we do not have to close the resolver if we are getting resource resolver from sling request or workflow session.But in an OSGI component if we are getting the ResourceResolver from ResourceResolverFactory as below@ReferenceResourceResolverFactory rrf;...public String getData() { ResourceResolver rr = null; Map param = ... param.put(ResourceResolverFactory.SUBSERVICE, "sub-service"); try { rr = rrf.getServiceResourceResolver(param); ... } ...}Do we have to close the resolver?

Views

3.9K

Likes

2

Replies

8
Scene7Service API | search asset by metadata
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager Assets
Hi,I am using AEM 6.1 + SP1 and trying to implement a service which searches scene7 asset by metadata.com.day.cq.dam.scene7.api.Scene7Service#searchAssetsByMetadatain pom.xml, I have the dependency com.day.cq.dam cq-dam-scene7 5.8.26 providedin the service. . . . @ReferenceS7Service s7Service;MetadataCondition metadataCondition = new MetadataCondition("name", 4, "s7-asset-name");MetadataCondition[] conditions = {metadataCondition};List scene7Assets = null;scene7Assets = s7Service.searchAssetsByM...

Views

878

Likes

0

Replies

0
Re: Curl command to set date property value
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
arunp99088702​ Thanks

Views

949

Likes

0

Replies

0
Re: Curl command to set date property value
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi All,After surfing over net for couple of hours, found the solution!!We need to pass TypeHint as Date [1]So the curl command will becurl -u "user:pwd" --data "displayDate=2016-10-19T09:16:43.215-04:00" --data "displayDate@TypeHint=Date" http://localhost:4502/content/my-site/my-page/jcr:content [1] Sling over HTTP | Jukka Zitting Thanks,Radha Krishna N

Views

913

Likes

0

Replies

0
Curl command to set date property value
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,How can I set date as a property value on a node using CURL command?Currently I am trying to execute below curl command but it is setting as String property.curl -u "user:pwd" --data "displayDate=2016-10-19T09:16:43.215-04:00" http://localhost:4502/content/my-site/my-page/jcr:contentThanks,Radha Krishna N

Views

1.4K

Like

1

Replies

3
Re: java.lang.IllegalStateException: Response is committed error in the logs
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,Hope this helps"Response is committed" error during page load in AEM6.x Thanks,Radha Krishna N

Views

844

Likes

0

Replies

0
Re: Error when loading the AEM page
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
If you are using HTL, look for the error in apps/ppn/components/page/productpage/body.html where you are trying to include another resource.

Views

2.1K

Likes

0

Replies

0
Re: Error when loading the AEM page
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,go to http:///system/console/fsclassloader => find apps/ppn/components/page/productpage/body.jsp => check what is on line no 245Thanks,Radha Krishna N

Views

1.8K

Likes

0

Replies

0
Re: Sightly data sly test question
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,If the link is not authored, then data-sly-test="{image.link}" will be false. the content of the anchor tag will not be displayed. AFAIK you should have something like below Thanks,Radha Krishna N

Views

3.1K

Likes

0

Replies

0
AEM 6.1 SP1 | Sling Models
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi,I have a sling model class, which I am adapting it to a resource. After adapting, I am trying to update the value of some of the properties before rendering using HTL. This is working!! But Is this the only approach to modify a resource? Why should I have to create an additional POJO class?Content structure+- resource (being adapted) | +- lists | +- list1 | +- list2Sling model@Model(adaptables=Resource.class)public class HelloWorldModel { @Inject protected List lists; private List resources; ...

Views

540

Likes

0

Replies

0
Re: i18n key sightly issue
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
What is the value of the property jcr:language on your site? Is it en or en_us? Thanks,~RK

Views

1.8K

Likes

0

Replies

0
Re: How to create a servlet to avoid CORS errors in AEM 6.3
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
By creating servlet are we not allowing every request to be processed by the AEM Instance, which will put more load on the server?

Views

2.3K

Likes

0

Replies

2
Re: Linkchecker removing href value
Avatar

Radha_Krishna_N

Radha_Krishna_N
- Adobe Experience Manager
Hi KautukLink checker is disabled and added x-cq-linkchecker="valid".In the log file*WARN* [0:0:0:0:0:0:0:1 [1508808628533] GET /content/repl.template.html HTTP/1.1] org.apache.sling.xss.impl.HtmlToHtmlContentContext AntiSamy warning: The a tag contained an attribute that we could not process. The href attribute had a value of "https://www.xyz.com/abc.jsp?filters={%22key%22:[%22value%22]}". This value could not be accepted for security reasons. We have chosen to remove this attribute from the ta...

Views

1.4K

Likes

3

Replies

0