since ‎09-07-2015
‎23-02-2021
kunal23
MVP
Re: Live Copy for DAM Assets?
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
What functional use case you are trying to implement when you say that there should be parent child relationship between assets ?

Views

363

Like

1

Replies

0
Re: More information on events in Touch UI dialogs
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can add a condition block to check for dialog source property in the event handler and write your logic inside the condition block. Example code - var config = Granite.author.DialogFrame.currentDialog.getConfig(); if (config.src == "") { }

Views

196

Likes

0

Replies

0
Re: DAM image URL Mapping with resource resolver mapping (etc/map)
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
The default request rewriter in CQ does not rewrite URLs if they do not have HTML extensions. And therefore the DAM urls are not rewritten. You will have to implement a custom request rewriter to achieve rewriting of DAM urls. The same is mentioned in the article I had shared earlier. You can refer to the example code for the rewriter here - http://dev.cqblueprints.com/nexus/content/repositories/releases/com/cqblueprints/cqblueprints-all-resources-request-rewriter/1.0.0/

Views

290

Likes

0

Replies

0
Re: DAM image URL Mapping with resource resolver mapping (etc/map)
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Did you create a custom request rewriter as mentioned in the article  ? 

Views

296

Likes

0

Replies

0
Re: DAM image URL Mapping with resource resolver mapping (etc/map)
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can do this by following the steps listed in the following page - http://www.cqblueprints.com/tipsandtricks/serving-static-assets-alt-url.html

Views

293

Likes

0

Replies

0
Re: AEM 6.1 - JAVA External Custom Login Module
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Have you checked this thread - http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__rkpw-hi_im_tryingto.html ?

Views

720

Likes

0

Replies

0
Re: How to override RichTextEditor keystrokes (e.g. ctrl-B)
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Have you tested this in all browser types? It seems it is a bug for chrome on Mac OS as the registered formatter command isn't invoked when you press ctrl + b. However, it works on Mozilla and IE. Also, I have found the file and the line number where the command should be invoked from the shortcut key. The file is /libs/cq/ui/rte/core/EditorKernel.js and if you add an OR condition in if the loop to check for the Mac then it does invoke the command chrome on Mac. However, I would suggest you to r...

Views

176

Likes

0

Replies

0
Re: How to override RichTextEditor keystrokes (e.g. ctrl-B)
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
I think you can achieve this by configuring HTMLRules for your rich text editor. You just have to configure the semantic markup tag for the bold element. See the documentation link [1] and an example [2][1] http://docs.adobe.com/docs/en/cq/5-6-1/widgets-api/index.html?class=CQ.form.rte.HtmlRules.DocType[2] http://stackoverflow.com/questions/17946117/strong-tag-getting-replaced-to-b-tag-in-cq5

Views

189

Likes

0

Replies

0
Re: Unable to access workItem in OR split of ECMA script
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
What version of AEM you are working on ? From 5.6.1, the variable for workItem is called as "graniteWorkItem". Check the following section "Implementing a Process Step with an ECMA Script" in the documentation link [1]. [1] https://docs.adobe.com/docs/en/cq/5-6-1/workflows/wf-extending.html

Views

834

Likes

0

Replies

1
Re: Docs: wrong link for missing info
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can check the below documentation. Whenever you activate a page the AEM will create a version and store the version in the version history. You can restore that page by click on "Restore Tree" button in the siteadmin in the same location where that page was created originally. https://docs.adobe.com/docs/en/cq/5-6/wcm/page_publish/page_restore.html

Views

232

Likes

0

Replies

0
Re: projects.html in elaborated mode
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Have you tried recompiling the JSPs? - http://localhost:4502/system/console/slingjsp

Views

151

Likes

0

Replies

0
Re: Queries regarding Lucene indexing.
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
In CQ 5.x you can rebuild indexes but for that you will have to shut down the instance and restart it. And for big repositories the rebuilding time can be many hours and sometimes it may go beyond a day. In such a scenario, you should optimize your indexing configuration in such a way to index only the content/nodes which are relevant and configure indexing features which are needed. For example if you don't use auditing reports then you can remove those indexes. See link [1]. Also, to reindex b...

Views

226

Likes

0

Replies

0
Re: Queries regarding Lucene indexing.
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
The CRX repository of CQ 5.4 has multiple workspaces for versioned nodes and regular content nodes. And for each workspace you will see Lucene indexes created in different locations. Check the below link[1] to see the list of indexes and which is what. [1] http://www.wemblog.com/2011/09/which-index-is-what-in-cqcrx.html

Views

205

Likes

0

Replies

0
Re: Copymove is defined in cq:actions of a new component but it doesn't appear in menu while editing the page
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Could you please share the component node structure in CRX ? 

Views

161

Likes

0

Replies

0
Re: 6.1 Upgrade - Issues with Social Commons package
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Thanks JK. The OAK issue link was really very helpful. The problem was in the cq-social-commons-pkg-1.5.151.zip package. There was one workflow model xml in the package which was having hardcoded jcr:uuid value. I removed that jcr:uuid manually from the XML and reinstalled the package successfully. The uuid value in the XML was conflicting with one of the existing node IDs in the CRX.

Views

410

Likes

0

Replies

0
Re: 6.1 Upgrade - Issues with Social Commons package
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Followed the upgrade instructions provided here - https://docs.adobe.com/docs/en/aem/6-1/deploy/upgrade.html#par_title_1690331669. We are upgrading from v1.3 and the exception is thrown if we install 1.7 package - cq-socialcommunities-pkg-1.7.197.zip

Views

384

Likes

0

Replies

0
6.1 Upgrade - Issues with Social Commons package
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Hi, We did an inplace upgrade on existing 5.6.1 author instance to 6.1. We followed all the steps as mentioned in the instructions, however we saw that during the upgrade few of the Adobe social communites package were not installed. And then when the upgrade was finished we checked that many OSGI bundles which were dependent on social comm. bundles were not started. We tried to install the cq-social-commons-pkg-1.5.151.zip package manually and got the following exception below. Not sure, what i...

Views

1.3K

Like

1

Replies

4
Re: Delta content and DAM packages in AEM
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Adobe consulting team have shared this tool http://adobe-consulting-services.github.io/acs-aem-commons/features/query-packager.html which allows you to create packages based on the filters which are queried dynamically. You can use this tool with SQL2/XPATH query which queries only the modified content filters between two dates and create the packages.

Views

376

Likes

0

Replies

0
Re: Getting TransformerFactory to transform <span elements in CQ5
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Check this example here - https://helpx.adobe.com/experience-manager/using/creating-link-rewrite.html. You need to implement your logic in startElement() method.

Views

285

Likes

0

Replies

0
Re: What is the Best Practice for Dispatcher and Analytics Query Param?
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can configure dispatcher to ignore query params in this case. See "IGNORING URL PARAMETERS" section in the following documentation- https://docs.adobe.com/docs/en/dispatcher/disp-config.html

Views

200

Likes

0

Replies

0
Re: How to capture CQ workflow comment on email notification
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can write a custom workflow step which will get the comments as in the code sample given in the forum thread I shared earlier. And then save the read comment on the payload as custom property. In the workflow model just include this step before any participant step in which you want to send email notifications. And then in the template you can read the comment by just fetching it by the name of custom property. Ex - ${payload.previousComment}OR Instead of using default workflow notification ...

Views

378

Likes

0

Replies

0
Re: How to capture CQ workflow comment on email notification
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You will have to write custom code to read comments. Check this link - https://forums.adobe.com/thread/1156064

Views

381

Likes

0

Replies

0
Re: Tar PM optimization once per week in CQ5.4
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Keep in mind that if you schedule it on weekly basis then it will take longer time to run and complete. You can tune the Tar PM optimization process by passing the delay parameter which will ensure that it does not continuously consume CPU and I/O resources and thereby blocking the other operations. Also there is another property "indexInMemory" which improves the performance of Tar PM optimization by reducing the I/O. Check the following articles- http://www.wemblog.com/2012/03/how-to-run-onlin...

Views

273

Likes

0

Replies

0
Re: Tar PM optimization once per week in CQ5.4
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Why you don't want it to run on daily basis ? If you don't run it on daily basis then your TAR files will continue to grow quickly and eat up your disk space. But if you still want to change the schedule then you can achieve it by disabling the auto scheduled optimization in the workspace.xml file and schedule a custom cron job (scheduled weekly) which invokes a curl script to trigger tarpm optimization.

Views

274

Likes

0

Replies

0
Re: TarMK Vs MongoMk
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Why do you want to use cookie and not the browser storage to persist client context data ?

Views

1.1K

Likes

0

Replies

0
DAM asset share
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
I need help in understanding the asset share and editor pages as mentioned here in this link https://docs.adobe.com/docs/en/aem/6-1/administer/content/assets/assets-finder-editor.html. We have requirements that the users of the central application can also upload/edit/remove assets along with viewing and searching them but does that mean that this asset share should only be accessible on DAM author box and not on publish boxes? The asset share has OOTB components like upload new assets and updat...

Views

676

Likes

0

Replies

1
Re: sling.servlet.resourceTypes
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
It is always a good practice to use resourceType for invoking servlets rather than creating custom servlet URLs. Check out this article - https://cqdump.wordpress.com/2015/03/23/aem-coding-best-practice-servlets/

Views

720

Like

1

Replies

0
Re: Need to reset page properties when copied page using siteadmin or sidekick or crxde
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
If you have to use event handler approach then one possible solution could be to create a special user for building and installing packages. This user should only be used only for installing packages and nothing else. And then in your event handler code you can check the value of for "jcr:createdBy" property. If it matches the user name of the package installation user then you can skip the reset logic.Note - This solution will work but will require some governance as you are assuming that only ...

Views

227

Like

1

Replies

0
Re: AEM 6.1 not starting due to Lucene errors
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Not sure why your instance is not starting. The only exception I see is that it can not find "sling:jobEvent" node type definition in the repository. Did you see any errors while you upgraded in the upgrade.log file ? You can try registering the node type manually by importing the contents of the cnd file here - http://localhost:4502/crx/explorer/nodetypes/index.jsp. But I am not sure whether this is the root cause of not starting up.

Views

547

Likes

0

Replies

0
Re: AEM 6.1 not starting due to Lucene errors
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
It seems that some of your OSGI bundles are not getting Active and thats why you see the startup in progress message. Do you know which bundle is having the problems ? You can disable the startup filter to just to go past this message and check any exceptions when you access any UIs. Uncheck "Active by default" in the following configuration to disable the filter - http://localhost:4502/system/console/configMgr/org.apache.sling.startupfilter.impl.StartupFilterImpl

Views

548

Likes

0

Replies

0