since ‎25-09-2019
12 hours ago
KiranVedantam1992
Level 5
Re: adding jsonb to core project has killed all slingServ...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @TB3dock, First, check if the bundle is active. If not try changing the scope to provided. If that did not help, try adding the bundle in the Embedded section. To know how to add it in the embedded section, check my post here. If nothing works, please share the log. Hope this helps. Thanks,Kiran Vedantam

Views

50

Like

1

Replies

1
Re: AEM External Login
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @dmitryp96795211, Basically, AEM is used as Content Management System [CMS]. We do have different options for managing the Customer Relationship Management [CRM] - Example: Salesforce. It's better all the customer-related data is stored in the CRM and is handled through CMS. Hope this helps. Thanks,Kiran Vedantam.

Views

43

Like

1

Replies

0
Re: Datastore garbage collection-run biweekly
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Shakthi1, If the repository has been configured with an external data store, data store garbage collection will run automatically as part of the Weekly Maintenance Window. To run it manually, follow the steps here. Hope this helps. Thanks,Kiran Vedantam

Views

48

Like

1

Replies

0
Re: Create Multi Region/Country site in AEM 6.5
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Heena91, On the header of your page, you can create a country selector option. Here, you can give an option to author the country name, icon, and URL to the authors. In the model, fetch the values, loop the list, and display them. You can use the core AEM component: https://www.aemcomponents.dev/content/core-components-examples/library/templating/language-navigation/language-structure/us/en/language-navigation.html Hope this helps. Thanks,Kiran Vedantam.

Views

57

Like

1

Replies

0
Re: What is the property or the way to apply Style System...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @ashwinikhaple, Please check my answer here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-5-rte-custom-style-not-working-in-dialog-not-even-enabled/qaq-p/395274 It has the code snippet with screenshots. Hope this helps. Thanks,Kiran Vedantam

Views

57

Like

1

Replies

0
Re: Issue in pushing values into dataLayer object
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @samsundar23, You can create a temp variable like this in the area that you need and assign it to the main variable Object.assign(abcd, abcdTemp); Generally, the temp variable would get the value from the component or from the page assignment and later we use the above snippet to re-assign. Before reassigning, perform a null check as per your requirement. Hope this helps. Thanks,Kiran Vedantam.

Views

75

Likes

0

Replies

0
Re: Wrong Query happened for particular asset 11 times
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @SreeDurga, Can you please elaborate on your query? Thanks,Kiran Vedantam.

Views

59

Like

1

Replies

0
Re: Issue in pushing values into dataLayer object
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @samsundar23, For this, you can create a temp variable that stores all the data. While adding the temp to the main object, perform a null check. Hope this helps. Thanks,Kiran Vedantam

Views

68

Like

1

Replies

0
Re: Adobe Experience Manager Developer Expert
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @ajaylabade, Please find the related information here: https://spark.adobe.com/page/IN3bRhRJDvqCc/ Hope this helps. Thanks,Kiran Vedantam

Views

56

Like

1

Replies

0
Re: Detect component name after user interaction
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Stochino, For this, I don't think there is anything OOTB. You can customize it like below:Create a tracking componentAdd it [via data-sly-resource] to all the componentAdd a specific data variable [like parent component name] in each component and track it on any action via this tracking componentHope this helps. Thanks,Kiran Vedantam.

Views

116

Like

1

Replies

0
Re: when I change the property of page and then I publish...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @MikeXXXX, You can do the below things to debug:Check the error.logCheck console errorCheck if any mandatory field is not filled in the page propertiesGenerally, the tab which has a mandatory field gets highlightedCheck the font of the property - Ex: page name expects only small lettersHope this helps. Thanks,Kiran Vedantam.

Views

62

Like

1

Replies

0
Re: Pages expiration report in AEM
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Kamal_Kishor, We do have an option to create a report for assets based on the expiry. Go to http://localhost:4502/aem/start.html --> Tools --> Assets --> Reports --> Create --> ExiprationGive all the details [Ex date range etc] and generate the report. If you want to do it for the pages, you can overlay the existing report [/libs/dam/gui/content/reports] or create a custom report with your use-case. Hope this helps. Thanks,Kiran Vedantam.

Views

68

Likes

2

Replies

1
Re: How to write a Junit5 Test case for resource resolver...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @baw_gov, As per adobe's recommendations, it is not suggested to use the admin user. Please create a system/service user for retrieving the session. More info on system/service user is available here. For mocking the service user, check the similar question here. Hope this helps. Thanks,Kiran Vedantam.

Views

74

Like

1

Replies

1
Re: how to get currentPage object in javascript, as javas...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @karthick1356, you can use Javascript USE API to get all the values you need. Sample code:use(function () { var Constants = { DESCRIPTION_PROP: "jcr:description", DESCRIPTION_LENGTH: 50 }; var title = currentPage.getNavigationTitle() || currentPage.getTitle() || currentPage.getName(); var description = properties.get(Constants.DESCRIPTION_PROP, "").substr(0, Constants.DESCRIPTION_LENGTH); return { title: title, description: description }; });Reference page: https://experienceleague.adobe.com/...

Views

59

Like

1

Replies

0
Re: CSRF token value is empty in IE 8 (compatibility mode...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @tarunp97, Find a similar question here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-1-csrf-token-rejection/qaq-p/187133 Hope this helps. Thanks,Kiran Vedantam.

Views

81

Like

1

Replies

1
Re: Best practice for creating APIs in AEM
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @TB3dock, Please find a similar query here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-develop-a-custom-api-for-aem-application/qaq-p/212357 We can also expose the content fragments in AEM as API's: https://engineering.icf.com/aem-content-fragments-as-an-api/ other useful links:https://engineering.icf.com/aem-content-fragments-as-an-api/https://medium.com/@eddiey/design-considerations-for-rest-apis-in-aem-applications-6014e89e3abhttps://medium.com/@codean...

Views

80

Like

1

Replies

0
Re: Enable / Disable scheduler via Context Aware Configur...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @ashishj32959934, yes, this is possible. Create a context-aware configuration and access it in the scheduler like this: Resource contentResource = resourceResolver.getResource("/content/mysite/page1"); Resource configResource = configurationResourceResolver.getResource(contentResource, "my-bucket", "my-config"); More info here: https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration.html Hope this helps. Thanks,Kiran Vedantam.

Views

78

Like

1

Replies

0
Re: Concurrent writing to the session.
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @chandramohanred, Please check my answer here on how to use sessions, resource resolvers to avoid session leaks. Hope this helps. Thanks,Kiran Vedantam.

Views

71

Like

1

Replies

0
Re: subassets not getting activated
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi Arun, yes we can do it like this. But if you have 20 subassets we need to select everything and publish it. Cant we do it on single click?

Views

86

Likes

0

Replies

0
Re: subassets not getting activated
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Nikhil-Kumar, Thanks for your response. This folder is created by Dam Update Asset workflow, but not manually. Thanks,Kiran Vedantam.

Views

66

Likes

0

Replies

0
Re: subassets not getting activated
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Jörg_Hoh this is how the content structure looks.  

Views

74

Likes

0

Replies

0
Re: How extend asset share common to include content page...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Adilmo, Please check this documentation for your query: https://adobe-marketing-cloud.github.io/asset-share-commons/pages/search/search-page/index.html Hope this helps. Thanks,Kiran Vedantam.

Views

90

Like

1

Replies

1
Re: How can resolved "org.apache.sling.scripting.sightly....
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Woobi, As per the error, please check if the core project is installed and resolved in your instance. The issue is regarding the "com.adobe.cq.wcm.core.components.internal.models.v1.ExperienceFragmentImpl" model here. Hope this helps. Thanks,Kiran Vedantam

Views

112

Like

1

Replies

0
subassets not getting activated
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Sub assets that are created as a part of the "Dam update asset workflow" are not getting activated to publish. Similar post with no resolution: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/subassets-created-as-part-of-workflow-not-getting-activated-to/qaq-p/292285 I know couple of ways this can be achieved isActivating the whole treeCreating a package and replicating itBut I need to know how this can be done via the authoring console. CC: @kautuk_sahni @Arun_Patidar

Views

160

Likes

0

Replies

7
Re: ID for a field in multified
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Shaheena_Sheikh, You can achieve this in two waysWriting BE event listeners who listen to the JCR level events and dynamically add an ID [property] as per your prescribed format to the nodeWrite FE javascript code on the dialog level to dynamically add the ID whenever the text field is authored.For more details on event listeners check my blog here Hope this helps. Thanks,Kiran Vedantam.

Views

77

Like

1

Replies

0
Re: 1. javax.jcr.InvalidItemStateException: OakState0001:...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi Can u debug the HelloWorldModel and check why the @PostConstruct method is returning null?

Views

80

Likes

0

Replies

0
Re: 1. javax.jcr.InvalidItemStateException: OakState0001:...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @ashwinikhaple, Your log has 2 errors*ERROR* [Thread-47] com.day.cq.dam.core.impl.ui.preview.FolderPreviewUpdaterImpl error while executing folder thumbnail update job: /content/dam/demotraining/asset.jpgjava.lang.IllegalArgumentException: width or height <= 0Check the asset.jpg file and its sizeCaused by: org.apache.sling.models.factory.MissingElementsException: Could not inject all required fields into class com.aem.demo.core.models.HelloWorldModelCheck this model and its attributes missing...

Views

123

Like

1

Replies

2
Re: add new folder issue
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi, please check the logs, if you getting any error on installation

Views

102

Likes

0

Replies

0
Re: add new folder issue
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @josieqqiu, If my understanding is correct, you have created a new folder [for adding the content pages] and once it is installed, you do not see any content under it, am I right? For this, you need to check and update the filter.xml file in the below pathproject\ui.apps\src\main\content\META-INF\vault\filter.xmlThe path will vary depending upon the location of your folder.Add a root like this:If this does not help,add the same page in another path that is working [as you have already mention...

Views

120

Like

1

Replies

2
Re: AEM author heap size error
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @narendiran100, For hardware requirements please check this link. Regarding the system performance, please perform the maintenance activities listed here as per your requirement. Also, regarding the performance, please check your code for the below issues.Reduce the session leaksYou can achieve this by reducing the use of the JCR sessionClosing the ResourceResolver whenever it is openedPrefer the ResourceResolver over the JCR SessionDo not share nodes, resources, and pages between threads and...

Views

149

Likes

2

Replies

1
Likes given to