since ‎30-01-2018
‎03-11-2020
Varun_Shakya
MVP
Re: Update component node using groovy script in aem
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Check the below options:-https://github.com/hashimkhan786/aem-groovy-scripts/blob/master/modifyProperties.groovyCheck the Example 2 in below referencehttps://labs.tadigital.com/index.php/2018/12/18/groovy-script-in-aem/

Views

205

Likes

0

Replies

0
Re: Unable to create a workflow launcher in 6.5
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Did the user have access to create Workflow launchers, check the permissions of the User.Try creating the launcher in Vanilla AEM instance.This seems the permission issue, if permissions are fine check the logs get more details and provide it here.

Views

170

Like

1

Replies

1
Re: Annotations when Editing a Page is Not working. AEM6.5
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
See this related thread. It explains enabling annotations in custom componentshttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/enabling-annotations-in-custom-components-touchui/qaq-p/198320

Views

148

Like

1

Replies

1
Re: Error: Refusing to install package adobe/aem650:core-...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
which version of AEM you are using . Check the compatible AEM version with core-cif components https://github.com/adobe/aem-core-cif-components/blob/CIF-1181/VERSIONS.md

Views

148

Like

1

Replies

1
Re: Content Approval Workflow in AEM
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
You can add your custom groups in OOTB "content -authors" group. Required permissions will get apply to your group as well.

Views

150

Likes

2

Replies

0
Re: Getting Error When new user trying to login getting 4...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Check the permissions of your custom group.Try adding your User in OOTB group provided in AEM like content-authors etc. If that works then the issue is with your Group.You can make your custom group member of other OOTB group provided.

Views

111

Likes

2

Replies

0
Re: On clicking the "Drag your component here", 'Insert C...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
It works fine for me I am also using AEM 6.5 . If you are facing this problem that might because of issue in your template or in your component. Check in We retail project in your local instance. Do you face the similar issue there?Or as Arun suggested use the dedicated buttons to copy and paste.

Views

126

Like

1

Replies

1
Re: Experience Fragments and Plain HTML renditions, could...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Experience Fragment can be easily accessed by hitting the URL with "plain" selector for examplehttps://localhost:4502/content/experience-fragment/fragmentName/master.plain.html.see ref https://docs.adobe.com/content/help/en/experience-manager-65/developing/extending-aem/experience-fragments.htmlIf still not working check logs see what error your are getting put it here. Dispatcher also can block your requests you need to allow experience fragment path in filter section

Views

122

Like

1

Replies

0
Re: Quick Publish button not showing immediately after im...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
I think this could be because of the image size, there might be a possibility after uploading the very high resolution image.Update Asset Workflow takes time to create renditions of that image that is the reason it takes time to show quick publish button. Try adding smaller resolution image and check if this is happening, or at last check error logs if you find anything suspicious in particular.

Views

118

Like

1

Replies

0
Re: Rename the Assets during the upload
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
As Veena mentioned use Custom workflow to change the name of asset. which will change the name of the asset.Just adding on to that ,you can disable the Update Asset workflow for a while while uploading the asset once the asset got uploaded you can enable it. This is for avoiding conflict with Update Asset workflow. You can call "update Asset workflow" from your own custom workflow model, after the step where you are changing the name of asset.For already uploaded assets you can write groovy scri...

Views

131

Likes

2

Replies

0
Re: Auto reload comment section in community site
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Are you using the OOTB comments componentplease check this https://helpx.adobe.com/in/experience-manager/6-3/communities/using/comments.html If you have your own custom component then in this case you can make a call to your servlet on the click of post button .And servlet can fetch all the previous comments for that user including latest one.

Views

105

Like

1

Replies

2
Re: what are the new features available in AEM 6.5 to imp...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Refer to this below video as well. It has the case study of migration of two projects. What went easy and where they faced challenges they have explained it all. https://www.youtube.com/watch?v=WomYhJqABks

Views

141

Like

1

Replies

0
Re: AEM 6.5 Publisher startup issue
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
After AEM 6.4 there is a change in repository and if you upgrading it to 6.5. I would suggest follow the guidelines provided by Adobe. https://docs.adobe.com/content/help/en/experience-manager-65/deploying/upgrading/upgrade.html

Views

150

Like

1

Replies

0
Re: Accordion Component Deep Linking to a Panel
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Accordion component introduced in core components version 2.5.0. Download it from here.https://github.com/adobe/aem-core-wcm-components/releases/tag/core.wcm.components.reactor-2.5.0

Views

118

Like

1

Replies

0
Re: Browser URL in Sightly
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
refer thishttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-add-the-author-edit-mode-condition-in-sightly-htl-for/qaq-p/330826 Check for Arun's comment ........

Views

139

Likes

0

Replies

0
Re: Browser URL in Sightly
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
If it is not utmost important to use sightly particularly, you can leverage JS(window.location.href ) and jquery to get the URL and then append it html tag where you want it.If you want to use sightly only then I guess you are able to get the full URL except "editor.html".In this case you can form your URL add "editor.html" in URL if the user is in Edit mode [wcmmode.edit].

Views

143

Likes

2

Replies

0
Re: AEM 6.5.5 | Not able to login
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
open system/console/bundles and check all the bundles are active?Did you try restarting the instance and recompiling the JSP, See if this helpsYou can check other related threadshttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/uncaught-slingexception-error-while-starting-aem-6-2-instance/qaq-p/237951https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-uncaught-slingexception-no-custom-code/qaq-p/304554

Views

175

Like

1

Replies

1
Re: Download Adobe AEM 6.5
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Check this similar threadhttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-0-download/qaq-p/191544

Views

137

Like

1

Replies

0
Re: AEM start.bat startup error "Could not find or load m...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
here is one similar threadhttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/could-not-find-the-main-class-com-adobe-granite-quickstart-base/qaq-p/265493double check these points as well Step 1: Add the Remote Debugging JVM ParameterTo use remote debugging, you must start AEM with this JVM parameter:-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=nYou can add the parameter by doing any of the following:Add it to your crx-quickstart/bin/start script CQ_JVM_...

Views

140

Like

1

Replies

1
Re: Retrieve thumbnail URL from page properties in AEM 6....
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
if the thumbnail image is coming from DAM ,then the page have "image" node in jcr:content of page and that image node will be having fileReference property which will have your image path of thumbnail. In this case you can make use of resource object and get the child node image and then get the property(fileReference). If the thumbnail has been uploaded from file system in template. In that case it will not be easy to get.i would say take thumbnail from DAM.

Views

257

Likes

2

Replies

1
Re: Touch UI CSS class
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
I would say first you check the purpose of this CSS class why they have added in classic UI. And then to implement the same for Touch UI dialog.There could be a case where you might not need this in touch UI dialog or there could be a different way to serve the purpose.

Views

166

Like

1

Replies

1
Re: Editable template
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Add cq:allowedTemplate property in your root page and add path for both of your static and editable templates as given belowcq:allowedTemplates="[/conf/yourprojectname/settings/wcm/templates/.*,/apps/yourprojectname/templates/.*]"

Views

106

Likes

3

Replies

0
Re: After upgrade to SP 6.4.8.1 login/logout option is mi...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
See these threads they have mentioned the workaround https://blogs.perficient.com/2020/06/16/how-to-easily-access-crx-de-on-adobe-ams-after-aem-6-5-5-upgrade/https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-easily-access-crx-de-on-adobe-ams-after-aem-6-5-5-upgrade/td-p/366944 The work around that the CSE suggested was to navigate to: https://:/libs/granite/core/content/login.html login and then navigate to /crx/de

Views

155

Likes

2

Replies

0
Re: Not able to see Workflow Model in aem 6.5
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
This is one similar thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-could-not-find-model-for-workflow-dam-xmp-writeback/qaq-p/240182 Check the comments provided by Hemant .

Views

238

Like

1

Replies

0
Re: Call a Custom workflow on hit of activate button
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
similar threadhttps://stackoverflow.com/questions/18864317/start-a-workflow-on-page-activation-without-activating-the-page-in-cq5

Views

133

Likes

3

Replies

1
Re: Pass value from JS to sly attribute
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Use jquery or javascript functions(document.cookie) to get the cookie value.Add any class or id in div tag and with help of that identifier add the value in div tag[ $("#id").val() ].

Views

150

Likes

2

Replies

1
Re: JavaScript code fix using AEM Page Property
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Try adding the fix at template level. This might solve the issue for most of the pages.

Views

131

Likes

2

Replies

1
Re: Fetching dialog field value in JS
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
if you want to validate your textfield in touchUI dialog refer this:- https://aemfuel.blogspot.com/2018/06/validating-fields-in-touch-ui-dialog.html if textfield and validate button both present on page.. then textfield value can be picked up by class or id of that element on click function of validate button

Views

130

Like

1

Replies

0
Re: Maven Build Error - Could not transfer artifact com.d...
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
Check this similar threadhttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/not-able-to-build-code-using-maven-command/qaq-p/359008

Views

587

Like

1

Replies

1
Re: javascrpit error after upgrading from 6.5.4 to 65.5
Avatar

Varun_Shakya

MVP

Varun_Shakya
- Adobe Experience Manager
this might be happening because one of your folder got corrupted.Check folderA as well, Try uploading any asset in folderA and see if that is working.Compare the properties in crxde for both folder.check the naming conventions. try giving another name to folderB.

Views

112

Like

1

Replies

0