since ‎26-06-2014
‎10-12-2019
Radha_Krishna_N
Level 3
OOTB multifield support min and max | AEM touch ui 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
605
Views
1
Like
1
Answers and Comments
Touch UI | Dialog fields reuse 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...
559
Views
0
Likes
0
Replies
Re: AEM 6.4.4 | Customizing Consoles 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
1098
Views
0
Likes
0
Replies
AEM 6.4.4 | Customizing Consoles 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
1163
Views
0
Likes
2
Replies
AEM 6.4.4 | Client library 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
721
Views
0
Likes
1
Answers and Comments
Re: Getting "Cannot be resolved to a type" error on java files 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.* ... ...
2638
Views
0
Likes
0
Replies
Re: Can I cache 404s on Dispatcher? Radha_Krishna_N - Adobe Experience Manager
If you are sure the requests always result in 404, block the url pattern before coming to dispatcher.
1177
Views
0
Likes
0
Answers
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status 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
1488
Views
1
Like
0
Answers
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status 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
1219
Views
0
Likes
0
Answers
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status 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...
1196
Views
1
Like
0
Answers
Re: AEM 6.4.3 | Osgi R7 | Bundle in Installed status 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
1198
Views
0
Likes
0
Answers
AEM 6.4.3 | Osgi R7 | Bundle in Installed status 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...
3818
Views
1
Like
9
Answers and Comments
Re: Service user and mapping Radha_Krishna_N - Adobe Experience Manager
The jcr:primaryType of q1_hkN-Qns4jK_Lt9ri_ node must be rep:SystemUser in the xml file
1076
Views
0
Likes
0
Answers
Re: Resource Streams in Apache Sling 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
5740
Views
0
Likes
1
Replies
Re: Closing Resource Resolver 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.
1377
Views
0
Likes
0
Answers
Re: Closing Resource Resolver Radha_Krishna_N - Adobe Experience Manager
smacdonald2008 Should the resource resolver be closed or get it using try-with-resources (AEM 6.2 onwards)?
1381
Views
0
Likes
0
Answers
Re: Closing Resource Resolver 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​
1494
Views
0
Likes
0
Answers
Closing Resource Resolver 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?
3624
Views
1
Like
8
Answers and Comments
Scene7Service API | search asset by metadata 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...
822
Views
0
Likes
0
Replies
Re: Curl command to set date property value Radha_Krishna_N - Adobe Experience Manager
arunp99088702​ Thanks
853
Views
0
Likes
0
Answers
Re: Curl command to set date property value 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
816
Views
0
Likes
0
Answers
Curl command to set date property value 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
1297
Views
1
Like
3
Answers and Comments
Re: java.lang.IllegalStateException: Response is committed error in the logs Radha_Krishna_N - Adobe Experience Manager
Hi,Hope this helps"Response is committed" error during page load in AEM6.x Thanks,Radha Krishna N
730
Views
0
Likes
0
Answers
Re: Error when loading the AEM page 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.
1768
Views
0
Likes
0
Answers
Re: Error when loading the AEM page 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
1504
Views
0
Likes
0
Answers
Re: Sightly data sly test question 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
2120
Views
0
Likes
0
Answers
AEM 6.1 SP1 | Sling Models 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; ...
515
Views
0
Likes
0
Answers and Comments
Re: i18n key sightly issue 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
1517
Views
0
Likes
0
Answers
Re: How to create a servlet to avoid CORS errors in AEM 6.3 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?
2158
Views
0
Likes
2
Replies
Re: Linkchecker removing href value 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...
1267
Views
3
Likes
0
Answers