Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

rahul234dabas
rahul234dabas
Online

Badges

Badges
19

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
34

Posts

Posts
63

Discussions

Discussions
9

Questions

Questions
54

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by rahul234dabas
Customize the badges you want to showcase on your profile
Re: where to write javaScript for a component such that if two components are used on same page ,it didn't conflict in AEM as a cloud service - Adobe Experience Manager 05-10-2022
in this case also , if there are two components the code : allInstances.each(function(){ let $this = $(this); // component Insurance // do business }) will run twice and the business logic will be implemented two times, I only want it to execute only once for each element

Views

2

Likes

0

Replies

0
where to write javaScript for a component such that if two components are used on same page ,it didn't conflict in AEM as a cloud service - Adobe Experience Manager 04-10-2022
Hi, Currently I am writing my javaScript code inside my html only for e.g : -> if my component name is "cmp1" then I am writing my js code inside cmp1.html ->if there are two components on the same page my js of cm1 is conflicting with cm2 -> e.g. : I am creating div tag in each js , and accessing some elements , but the problem arises when there are more than one components on page, then my js code conflicts because it is same of the component. -> I want to know what is the correct way to write...

Views

49

Likes

0

Replies

3
how can we put two custom component on same page in AEM as a cloud service? - Adobe Experience Manager 22-09-2022
I have a custom component say "componentA" ->I am writing my business logic in my sling model of the component and using the fields via annotation @ValueMapValue ->and using the properties in HTL via e.g : ${model.propertyOne} -> But when I put two component on the same page , my HTL behaves very differently , only the latest added changes are reflecting on both my HTL and on website -> My guess is it's happening because the model file is same and it's only picking the latest changes and passing...

Views

34

Likes

0

Replies

1
Re: how to retrieve the previously authored data if I have changed the component dialog box for component in AEM as a cloud service - Adobe Experience Manager 21-09-2022
Doing this via groovy Script now , I am fetching the properties and creating nodes and storing values within it .

Views

33

Like

1

Replies

0
Re: how to retrieve the previously authored data if I have changed the component dialog box for component in AEM as a cloud service - Adobe Experience Manager 21-09-2022
but using this we need to open the content dialog box to run the changes in the requirement, I will not open the dialog box to change anything

Views

52

Like

1

Replies

1
want to write a groovy script to locate the component on a page and change the one of the field value in it - Adobe Experience Manager 21-09-2022
I want to write a groovy script where I have to change one of the text field value in the component dialog box -> I have the paths of the pages where this component has been used -> the resourceType of component is : /components/content/form/embed ->the text field name that need to be changed is : "formName" -> ->the text field value need to be changed using groovy script Please help me out I am stuck on the implementation Thank you

Views

52

Likes

0

Replies

2
how to retrieve the previously authored data if I have changed the component dialog box for component in AEM as a cloud service - Adobe Experience Manager 20-09-2022
->I have a component where earlier there were three fields stored under the name : ./name , ./address , ./phonenum -> I have changed the component dialog box and made those fields multifield ->but I want my previously authored data to be stored as the first entry of the multifield -> for e.g : Now I have three items in my multifield and I want the previously authored data to be populated in my first item in multifield -> this component is used in multiple pages I don't want to reauthor everythin...

Views

67

Likes

0

Replies

5
want to know how the data is passed from Sling model to typescript - Adobe Experience Manager 14-09-2022
hi, I have a textfield which I can access it in my sling model using the annotation @ValueMapValue but I want to use my field in textfield and I am not able to know how it's being passed : here is the example : type LocationsData = Readonly<{ locations?: LocationItem[]; zoomLevel?: number; northAmericaLocations?: LocationItem[]; europeMiddleEastAfricaLocations?: LocationItem[]; asiaLocations?: LocationItem[]; fileReference?: string; // this field I have added new and not able to access it }>; co...

Views

31

Likes

0

Replies

1
how to map fileupload resourcetype field in AEM Sling model class in AEM as a cloud service? - Adobe Experience Manager 13-09-2022
Hi, I want to know which properties should I be using to get the value from the resourceType : fileUpload for e.g for textFields I am able to get values in my Sling model class by using annotation : @ValueMapValue private String {"name field of my node"} I am not able to fetch by using "name " field of type fileUpload Please anyone explain me how can I access it in my sling model , I need the path of the file uploaded Thank you

Views

34

Likes

0

Replies

1
Re: Is there any way to access page properties if only page path is given? - Adobe Experience Manager 06-09-2022
by changing the annotation from @ScriptVariable to @SlingObject it worked , Thank you May I know what's the difference between two annotations in layman's language? Thank you

Views

46

Like

1

Replies

0