since ‎25-09-2019
Online
KiranVedantam1992
Level 5
Re: Multifield value in SPA angular component
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @rahulb31017943, For SPA, while using front-end technologies like REACT or ANGULAR, we do not use HTML or sightly to render the content. Instead, we create a component using REACT or ANGULAR. To read the values in the dialog, we use the sling model exporter. Check an example here. Even though the blog gives a REACT example, it is more or less the same for angular as well. Hope this helps. Thanks,Kiran Vedantam.

Views

17

Likes

0

Replies

0
Re: Extend List Component
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @AD-Engineer, What error are you getting? How are you overlay the core List component? Try using a sling delegation pattern to overlay the core components logic to add your custom code. An example is here. Hope this helps. Thanks,Kiran Vedantam

Views

25

Likes

0

Replies

0
Re: how to send org.osgi.service.event.Event to frontend...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @tasunil, How are you triggering the event? If you cannot get the event value in HTML, you can create a node in JCR in a specified location with true or false values, and then once the event is triggered, in JS consume that node value. Thanks,Kiran Vedantam

Views

41

Likes

0

Replies

0
Re: how to send org.osgi.service.event.Event to frontend...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @tasunil, Once you get the required value in sightly, you can share it with the front end as per my answer here. Hope this helps. Thanks,Kiran Vedantam

Views

52

Likes

0

Replies

4
Re: Issue in carousel authoring when added as resource
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @salamswapnil, Is the same issue reproducible when you author the component individually? What does the error.log say? Please share the log for getting more info on the issue. Also, check the parent component itself without adding a sub-component to check if there is any issue in its code. Thanks,Kiran Vedantam.

Views

28

Likes

0

Replies

1
Re: AEM Forms - Adobe LiveCycle - Retrieving PDF document...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @canhn32847157, As per the screenshot, the issue is related to the bundle - which did not get resolved. To fix this, find my answer here. Hope this helps. Thanks,Kiran Vedantam

Views

40

Likes

0

Replies

0
Re: Unable to adapt resource to type com.day.cq.wcm.msm.i...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @MikeXXXX, Can you please share more steps on how to reproduce the issue and complete log. Thanks,Kiran Vedantam

Views

23

Like

1

Replies

0
Re: Custom workflow dependencies
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @aem_developer_1, Here is the best code available in GitHub for your use case; https://github.com/cqsupport/replication-workflow-process Hope this helps. Thanks,Kiran Vedantam

Views

31

Likes

2

Replies

1
Re: RepoInit Configuration is not able to set ACL: read p...
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @shivanigarg111, How are you getting the session of the JCR? Did you try the system/service user? I feel that the error is because of the lack of user permissions on the repository. Can you share your code snippet? Thanks,Kiran Vedantam.

Views

90

Like

1

Replies

1
Re: Loop not working for multifield
Avatar

KiranVedantam1992

KiranVedantam1992
- Adobe Experience Manager
Hi @Shaheena_Sheikh, What are you trying to do with the multifield? It is recommended to use Models to handle the business logic. Thanks,Kiran Vedantam.

Views

48

Like

1

Replies

1
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

66

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

54

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

56

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

66

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

65

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

85

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

66

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

75

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

63

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

121

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

69

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

73

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

83

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

66

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

88

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

88

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

87

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

78

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

94

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

74

Likes

0

Replies

0