since ‎09-07-2015
Online
kunal23
MVP
Re: Best way to report on asset statistics?
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Have you looked at the AEM Assets reports feature which has a Files report. The Files report shows the list of assets used inside a folder. https://experienceleague.adobe.com/docs/experience-manager-64/assets/administer/asset-reports.html?lang=en#generate-reports

Views

1

Likes

0

Replies

0
Re: AEM 6.5 - CUG policies(rep:cugPolicy) are not replica...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Have you checked the error logs of publish instance and replication agent ? Do you see any errors there ?

Views

1

Likes

0

Replies

0
Re: cURL command to move asset
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
This is available in 6.3 as well. Here is the doc - https://helpx.adobe.com/in/experience-manager/6-3/assets/using/mac-api-assets.html. Are you not able to run it on 6.3 ?

Views

2

Likes

0

Replies

0
Re: cURL command to move asset
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Here you go- curl -u admin:admin -X MOVE https://[aem_server]:[port]/api/assets/source/file.png -H "X-Destination: http://[aem_server]:[port]/api/assets/destination/file.png" -H "X-Overwrite: T"CopyReference - https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html?lang=en#move-a-folder-or-asset

Views

16

Likes

0

Replies

2
Re: AEM 6.5 Latest Service Pack 6.5.7 does it include fix...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Yes it includes fixes of previous version as well. That's why it is called as cumulative fix pack.

Views

26

Likes

0

Replies

0
Re: Using Granite condition to make the field read-only
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Instead of using granite render condition you can write custom JS code to make the checkbox read only. Example - var checkbox= $("[name='./hideInNav']").adaptTo("foundation-field"); checkbox.setDisabled(true);

Views

38

Likes

0

Replies

0
Re: Using Granite condition to make the field read-only
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can hide a check box using a render condition and not make it read only. Render conditions are evaluated server side by Granite UI framework to show or hide a UI component. You can write a custom render condition to hide the checkbox based on the resource type. For more details see the following blog- http://www.nateyolles.com/blog/2016/07/aem-granite-custom-render-conditions

Views

44

Likes

0

Replies

2
Re: Selective Assets Movement from Production to Lower en...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can use the Asset Ingestor or URL Asset Importer utility of ACS commons package. More details can be found here - https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp-tools/asset-ingestion/index.html

Views

62

Like

1

Replies

0
Re: Migrating to Cloud Manager (with AMS) what to do with...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
We tried moving the component design dialog stuff to /conf but it didn't work. We have not yet migrated to editable templates yet and therefore we will have to continue with the design dialogs. Also, if we keep the design in /etc then how we can activate the design as there is no miscadmin UI and I could not find any Touch UI equivalent.

Views

71

Likes

0

Replies

0
Re: best way to exclude assets from search
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager Assets
You can configure the search forms of Assets Admin UI and add the pattern for exclusion in excludepaths predicate property. http://localhost:4502/libs/cq/core/content/tools/customsearch.html/libs/settings/dam/search/facets/assets/jcr:content For more details refer this documentation - https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/search-facets.html?lang=en#adding-an-options-predicate

Views

25

Like

1

Replies

0
Re: Using AEM Launches with AEM Commerce Products
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
I don't think it will work even if you enable the feature from UI after customization. The backend implementation logic of Launches use PageManager and MSM APIs so I don't think it will work on product data.

Views

56

Likes

2

Replies

1
Re: AEM Upgrade - Moving Workflow instances
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
I would recommend you to do a content freeze while you are doing an upgrade in production. When you move content or workflows from 6.4 to upgraded instance then you basically bring in data which has not been in place upgraded. The in place upgrade utility will make sure to update any properties on the nodes which have changed in 6.5 version. So it will not be a good practice to bring content from 6.4 instance after you have done in place upgrade.

Views

59

Like

1

Replies

0
Re: Get runmodes value for client-side JS using hidden field
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Yes it is indeed best practice to abstract this run mode concept and not expose it in your front end logic. And for abstraction you can set a data attribute in your HTML and the value of which can be set based on an OSGI Configuration. The OSGI configs are read based on the runmodes automatically by the system. So you just have to keep different values of the data attribute in OSGI configuration for each run mode. The system will return you the value based on the current AEM running mode and the...

Views

68

Like

1

Replies

1
Re: Values are not getting saved under metaData under var...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You should go with case #2 and access the stored data in subsequent process steps using workflow history API- Example-List historyItemList = workflowSession.getHistory(workItem.getWorkflow());HistoryItem currentItem = historyItemList.get(historyItemList.size() - 1);HistoryItem prevItem = currentItem.getPreviousHistoryItem();String str = prevItem.getMetadataMap().get("watchEmails ");

Views

35

Like

1

Replies

0
Re: Issues with etc/map redirect
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can add a rewrite rule in Apache to do a 301 redirect. Why you are not using Apache/Web server for rewrite ?

Views

85

Like

1

Replies

1
Re: AEM 6.5 Upgrade to 6.5.7 CFP Causing Unresponsive Ins...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Thanks guys. We got the same issue in our environment yesterday. One of the publish instance went unresponsive and thread dumps point to FELIX-6252. Adobe has provided the same hotfix to us. Please let us know if you find any issues with the hotfix in your testing. It seems all AEM installations are impacted with this and Adobe should update their 6.5.7 release page.

Views

180

Likes

0

Replies

0
Re: Asset Expiration is Deactivating the Asset
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager Assets
No you can not configure it to disable the replication. The best solution in this case is to write custom expiry job and disable the out of the box expiry job. One hack is to disable replicate permission of "dynamic-media-replication" user but again it is not recommended as it is an anti pattern to update system users which come out of the box from AEM code.

Views

31

Like

1

Replies

0
Re: Query Builder
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Here you go-  type=cq:Pagenodename=page2path=/content/project

Views

59

Likes

3

Replies

0
Re: Loading Experience Fragment using Java Script
Avatar

kunal23

MVP

kunal23
- Adobe Target
I haven't tried myself but this might help in your use case - https://experienceleague.adobe.com/docs/target/using/experiences/offers/about-remote-offers.html?lang=en#section_7718512D08E14121B6F6B8C38134F4BC

Views

55

Likes

0

Replies

0
Re: Error: At least one property is required when creatin...
Avatar

kunal23

MVP

kunal23
- Adobe Target
You need to check the workspace setup in Adobe Admin console. It seems you have not defined any properties in the selected workspace or your userId may not have permissions to create activities in that workspace. For more details see this doc - https://experienceleague.adobe.com/docs/target/using/administer/manage-users/enterprise/properties-overview.html?lang=en#section_B82EB409B67C4D9D9D20CE30E48DB1DC

Views

56

Like

1

Replies

0
Re: Adding new Publish and Dispatcher to Load Balancer
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
1. You should connect 1D with 1P and have the sticky sessions configured at load balancer level. This is a simple and recommended topology and it will be easier for you to manage sticky configuration at one single place. 2. For synchronizing content I will recommend you to use Sling Content Distribution. However, it will be better if you can manage the UGC outside AEM in an external storage to avoid any sync failures. But if not possible then go with sling content distribution. [0]3. Along with ...

Views

48

Like

1

Replies

0
Re: How can we use the versioning for the images without...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You can set caching headers appropriately in apache to invalidate the browser cache after the time to live (max-age) value expires. However, It is not good for page performance to set low TTL values for browser cache. Header set Cache-Control "max-age=222" Header set Age 0

Views

66

Like

1

Replies

0
Re: A/B Activity : Mobile App
Avatar

kunal23

MVP

kunal23
- Adobe Target
I have not verified but I guess the user should see the same offer if he relaunches the app before the Target session times out. https://aep-sdks.gitbook.io/docs/using-mobile-extensions/adobe-target#target-sessions

Views

67

Like

1

Replies

1
Re: Marketo data integrated with Adobe Analytics
Avatar

kunal23

MVP

kunal23
- Adobe Analytics
Could you please share more details what data you want to share with Analytics ? If you are looking to export Marketo audiences/lists to Analytics then you can refer to the following doc- https://docs.marketo.com/display/public/DOCS/Send+a+List+to+Adobe+Experience+Cloud

Views

55

Likes

0

Replies

0
Re: How to call a servlet which is deployed inside AEM 6....
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Yes the request to servlet will be blocked as it is originated from an external application with a different domain. To make this work you will have to register the domain of the external application in AEM CORS OSGI configuration and bind it to the servlet path. Once you configure CORS then AEM will send appropriate response headers to the browser and the browser will be allowed to make the request. Also, you will have to enable caching of headers in dispatcher if you are caching the response o...

Views

101

Like

1

Replies

1
Re: Track customer registration from external portal.
Avatar

kunal23

MVP

kunal23
- Adobe Analytics
delete

Views

37

Likes

0

Replies

0
Re: Extending ResponsiveGrid with Custom Properties using...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
I haven't tried it myself but I guess with delegation pattern also you can just override the getExportedAllowedComponents as getAllowedComponents is deprecated. Javadoc-https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/javadoc/com/day/cq/wcm/foundation/model/responsivegrid/export/ResponsiveGridExporter.html#getExportedAllowedComponents-- Here is an example of extending the model using delegation pattern - https://levelup.gitconnected.com/aem-extend-core-co...

Views

105

Like

1

Replies

1
Re: Querybuiler is not giving correct result in publish i...
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Few things you can check to debug the issue- The permissions or ACLs are appropriate for the new tag and the end user have read access to the tags on publish instance. Use the query performance tool and click on "Explain Query" function to find out if the query with new tag is using the same index and have the same execution plan. Check the publisher logs when you run the query and also when you publish the page with new tags. You should not see any indexing errors or any errors while running th...

Views

88

Like

1

Replies

0
Re: Issue with asset synching between 2 publishers
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
You need to clear the cq:distribute property on author instance before the PDF gets replicated back to publish instances. This is mentioned in the documentation of reverse replication- Make sure that you clear the cq:distribute value in your workflow, if you reactivate the content on author to the publish, otherwise it goes in an endless loop !!! https://helpx.adobe.com/in/experience-manager/kb/HowToUseReverseReplication.html I will recommend you to use Sling Content distribution rather than rev...

Views

63

Like

1

Replies

0
Re: Extending DAM Asset Upload Restriction - UI Notification
Avatar

kunal23

MVP

kunal23
- Adobe Experience Manager
Instead of workflow you can write a filter to validate the file before it gets uploaded in AEM. You can find a sample of that filter here - http://experience-aem.blogspot.com/2018/11/aem-6420-file-decode-filter-virus-scan-to-decode-uploaded-files-for-create-asset-servlet.html The user will see the message even before the asset is uploaded in AEM.

Views

124

Likes

2

Replies

1