since ‎11-08-2015
‎21-06-2020
sathya_prakasha
Level 3
Re: Converting static to editable templates - Page proper... sathya_prakasha - Adobe Experience Manager
Hi Arun , Thanks for your reply ... We have initial page properties in editable template .. how to retrieve these properties .
348
Views
0
Likes
0
Comments
Converting static to editable templates - Page properties sathya_prakasha - Adobe Experience Manager
Hi Team, How to get initial page properties. Page properties are saved under : /conf/project-name/settings/wcm/templates/template-name/initial/jcr:content
413
Views
0
Likes
4
Answers and Comments
Migration of etc/design folder sathya_prakasha - Adobe Experience Manager
Hi Team, we are gonna migrate etc/design folder ..pls suggest a right method Current design: etc/design/(project-name)/static-template-name/design_dialog (authoring values)..
419
Views
0
Likes
1
Answers and Comments
Re: salesforce intergration - salesforceclient sathya_prakasha - Adobe Experience Manager
I am getting the below the error while trying to establish the connection with salesforce clientom.adobe.cq.mcm.salesforce.SalesforceClient Error while Executing GET Request to Salesforce.com: java.net.UnknownHostException: ap16.salesforce.comhttpsat java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)at java.net.InetAddress.getAddressesFromNameService(Unknown Source)at java.net.InetAddress.getAllByName0(Unknown Source)at java.net....
1333
Views
0
Likes
0
Replies
salesforce intergration - salesforceclient sathya_prakasha - Adobe Experience Manager
Hi,how to add authorization header in salesforce clientRest URL : curl https://yourInstance.salesforce.com/services/data/v20.0/query/?q=SELECT+name+from+Account -H "Authorization: Bearer token"salesforceClient = createSalesforce(cloudConfiguration);log.info("salesforcecelinet>>>>>>>>>>>"+salesforceClient);salesforceClient.setMethod(SalesforceClient.AvailableMethods.GET);salesforceClient.setContentType("application/json");baseUri = salesforceClient.getInstanceURL() + REST_ENDPOINT + API_VERSION ;...
1401
Views
0
Likes
1
Replies
Re: SlingModel to get cloudconfig sathya_prakasha - Adobe Experience Manager
Hi,Thanks for your reply !I have resolved the issue with below codeConfigurationManager cfMgr = resourcePage.getContentResource().getResourceResolver().adaptTo(ConfigurationManager.class);
990
Views
0
Likes
0
Answers
SlingModel to get cloudconfig sathya_prakasha - Adobe Experience Manager
Hi Team,I am using below code to get cloudconfig but configurationmanager is null here..any help ?cloudConfig = pageProperties.getInherited("cq:cloudserviceconfigs", new String[0]); final Configuration configuration = configurationManager.getConfiguration("salesforce-demo", cloudConfig); log.info("configuration Cloud"+configuration);
1340
Views
0
Likes
2
Answers and Comments
AEM 6.5 - autoInstallBundle error sathya_prakasha - Adobe Experience Manager
Hi Team,I am getting the below error while trying to install core bundle. please let me know if you have any idea on thisFailed to execute goal org.apache.sling:maven-sling-plugin:2.2.0:install (install-bundle) on project aem-guides-wknd.core: Installation on http://localhost:4502/system/console failed, cause: Installation failed, cause: Moved Temporarily -> [Help 1]Regards,Sathya
1094
Views
0
Likes
1
Replies
google recaptcha sathya_prakasha - Adobe Experience Cloud
Hi Team,Is it possible to use adaptive recaptcha in normal form or need to create a recatcha component and use it in our formsRegards,Sathya
987
Views
0
Likes
1
Answers and Comments
Re: Editable Template - Retrieve component dialog value sathya_prakasha - Adobe Experience Manager
Hi Arun,Thanks for your reply !Component values are stored under editable template :/conf/AEMLearning64/settings/wcm/templates/testing-template/structure/jcr:content/root/navigationI am getting a null value in contentPolicy object if i try to pass resource or currentPage.getContentResourceRegards,Sathya
3352
Views
1
Like
0
Replies
Editable Template - Retrieve component dialog value sathya_prakasha - Adobe Experience Manager
Hi All,I would like to get a component dialog value from editable template ..how to get it? Component : /conf/AEMLearning64/settings/wcm/templates/testing-template/structure/jcr:content/root/navigationBelow code : ContentPolicyManager contentPolicyManager = getResourceResolver().adaptTo(ContentPolicyManager.class);if(contentPolicyManager !=null) {ContentPolicy contentPolicy = contentPolicyManager.getPolicy(getCurrentpage().getContentResource()); // or resource if(contentPolicy != null) {navigati...
3479
Views
0
Likes
4
Replies
error in widgets.js when trying to edit a component - AEM 6.1 sathya_prakasha - Adobe Experience Manager
The issue occurs when I'm adding extra drop-down in the dialog fieldset. /apps/MySite/components/HelloWorld/dialog.overlay.infinity.json - showing as an array instead of JSONThe problem appears because the snippet variable is not an object but an array.This type of response is not handled by the widget.js and getting failed at below condition. if (snippet.xtype.indexOf("dialog") != -1 || snippet.xtype.indexOf("wizard") != -1) { dialogConfig = snippet; }Could anyone share your insights on this??
772
Views
0
Likes
1
Answers and Comments
Scheduler disable sathya_prakasha - Adobe Experience Manager
Hi,Please let me know the best way to disable or stop the scheduler in aem? is there any default expression is available or we need to go for custom implementation ? like scheduler.enbaled = false?
888
Views
2
Likes
1
Answers and Comments
Re: MAVEN Archtype 15 Issue with AEM 6.4.3 sathya_prakasha - Adobe Experience Cloud
Hi Kiran,Its not working ... If I put export package - com.adobe.aem.guides.wknd.core.* , its working ..any pointers here? i javax.inject;version=0.0.0,* com.adobe.aem.guides.wknd.core.* --> com.adobe.aem.guides.aem-guides-wknd.core com.adobe.aem.guides.wknd.core
1390
Views
1
Like
0
Answers
MAVEN Archtype 15 Issue with AEM 6.4.3 sathya_prakasha - Adobe Experience Cloud
Hi Team, I have created maven project and deployed the same into my local server. I have created a new package under core bundle just say(com.example.myOrg) and created a some couple of java classes . I am getting an error as "com.example.myOrg.*. cannot be resolved to a type" when I am using those java class in my component.The same java classes are working fine if i moved the classes into other packages which was created by maven intially. The issue is with newly created package alone.* Bundle...
2067
Views
1
Like
3
Answers and Comments
Re: system user sathya_prakasha - Adobe Experience Manager
Sorry..its my bad...ResourceResolver resourceResolver = resourceResolverFactory.getServiceResourceResolver(param);Its working now...
1262
Views
2
Likes
0
Answers
Re: system user sathya_prakasha - Adobe Experience Manager
package com.adobe.aem.guides.wknd.core.impl;import java.util.HashMap;import java.util.Map;import javax.jcr.Node;import javax.jcr.RepositoryException;import javax.jcr.Session;import javax.jcr.ValueFormatException;import javax.jcr.lock.LockException;import javax.jcr.nodetype.ConstraintViolationException;import javax.jcr.version.VersionException;import org.apache.sling.api.resource.LoginException;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceResolver;imp...
1099
Views
1
Like
0
Answers
Re: system user sathya_prakasha - Adobe Experience Manager
Hi Yadav,I am using the same line of code in both the classes . Only difference is usertest is a servlet class and SearchService is a normal java class and calling a addproperty() method from slightly.Map param = new HashMap<>();param.put(ResourceResolverFactory.SUBSERVICE,"systemUser");ResourceResolver resourceResolver = null;try {resourceResolver = resourceResolverFactory.getResourceResolver(param);log.info(resourceResolver.getUserID());
1106
Views
1
Like
0
Answers
Re: system user sathya_prakasha - Adobe Experience Manager
Both are same in bundle...am i getting systemUser for class A and anonymous user for class B. And also we are facing one more issue.. If i create a new package with existing maven project...its not getting deployed.. Anything i am missing here?
1100
Views
1
Like
0
Answers
Re: system user sathya_prakasha - Adobe Experience Manager
HI Team,core/pom.xml 4.0.0 com.adobe.aem.guides aem-guides-wknd 0.0.1-SNAPSHOT ../pom.xml aem-guides-wknd.core bundle WKND Sites Project - Core Core bundle for WKND Sites Project org.apache.sling maven-sling-plugin org.apache.felix maven-bundle-plugin true javax.inject;version=0.0.0,* com.adobe.aem.guides.wknd.core org.osgi osgi.core org.osgi osgi.cmpn org.osgi osgi.annotation org.slf4j slf4j-api javax.jcr jcr javax.servlet servlet-api com.adobe.aem uber-jar apis...
1102
Views
1
Like
0
Answers
Re: system user sathya_prakasha - Adobe Experience Manager
Thanks for your reply..I have created two different java class and try to consume same systemuser in both the class for different purpose.By default ..this systemuser has all the permission(Read & Write)com.aem.example.core.userTest.java & com.aem.example.core.impl.SearchService.javaUserTest.java - Its working fineSearchService - Its throwing a anonymous userPlease find the below screenshot for your reference.
1104
Views
1
Like
0
Answers
Re: system user sathya_prakasha - Adobe Experience Manager
Hi ,Thanks for your reply .Can you pls check my query here pls . systemuser is working some java class not for all ..example :com.aem.example.core.userTest - Its working ..its giving user id as systemUsercom.aem.example.core.impl.SearchService - Its not working ..its giving anonymous
1100
Views
1
Like
0
Answers
Re: system user sathya_prakasha - Adobe Experience Manager
Can you pls check hereSystemUser issue
1101
Views
1
Like
0
Answers
SystemUser issue sathya_prakasha - Adobe Experience Manager
Hi Team,I have created a systemUser and add the same into user mapper configuration user mapper configuration:com.adobe.aem.guides.aem-guides-wknd.core:systemUser=systemUserCode:and getting the same via param.put(ResourceResolverFactory.SUBSERVICE,"systemUser"); log.info("userid"+resource.getUserID());Its working fine for some java class but not for all . its giving anonymous user message .. am i missing anything here?Please note that the systemUser has all the relevant permission .
1039
Views
2
Likes
1
Answers and Comments
gtag.js error sathya_prakasha - Adobe Experience Manager
Hi Team,We are trying to add a gtag.js in particular page. After replication we are getting 404 error due to minnification of gtag.js window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'GA_TRACKING_ID');Any help here ?
1093
Views
0
Likes
1
Replies
Re: Workflow comment sathya_prakasha - Adobe Experience Manager
Thanks peter... its working nowcommentValue = (String) previous.getWorkItem().getMetaDataMap().get("comment");Regards,sathya
876
Views
0
Likes
0
Answers
Workflow comment sathya_prakasha - Adobe Experience Manager
Hi,How to get a current comment from workflow which is entered by approverRegards,Sathya
1074
Views
0
Likes
4
Answers and Comments
Re: Sidekick is not loading components sathya_prakasha - Adobe Experience Manager
I have created a new project structure and created a component with sling:resourcetype as foundation/components/page..but still I am getting the same error...so if i refer libs/foundation/components/page .. it should go and pick the default components without touching a custom logic ..am i ryt..please correct if am wrong here...
816
Views
0
Likes
0
Answers
Re: Sidekick is not loading components sathya_prakasha - Adobe Experience Manager
will check the recent js changes and will let you know the results smacdonald2008​...
820
Views
0
Likes
0
Answers
Re: Sidekick is not loading components sathya_prakasha - Adobe Experience Manager
Hi,AEM 6.0 JS Error : when we click on edit button in design_dialogwidgets.js:137433 Uncaught TypeError: Cannot read property 'indexOf' of undefined at new constructor (widgets.js:137433) at Object.create (widgets.js:25786) at sb.createComponent (widgets.js:30412) at sb.lookupComponent (widgets.js:30400) at sb.add (widgets.js:30206) at sb. (widgets.js:30202) at Object.each (widgets.js:1768) at sb.add (widgets.js:30201) at sb.initComponent (widgets.js:30092) at sb.initComponent (widgets.js:36793)
823
Views
0
Likes
0
Answers
Likes from