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

sbg19
Community profile sbg19 Level 2
Job title here
Location here
6 BADGES
Level 2

Level 2

Learn more
Joined the community 30-11-2017 5:29:03 AM
Offline
Top badges earned by sbg19
Customize the badges you want to showcase on your profile
Re: How to call a servlet which is deployed inside AEM 6....
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
Thanks for the Response! However surprisingly there is no filter configured for GET call, which means that the GET calls should reach the servlet which is not happening. Not sure as to why.

Views

448

Likes

0

Replies

0
Re: How to call a servlet which is deployed inside AEM 6....
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
But from what I know we don't have that config(adding CORS policy) in configMgr as part of AEM 6.2. does this mean that its not possible to reach my Servlet from the node server?

Views

460

Likes

0

Replies

0
How to call a servlet which is deployed inside AEM 6.2 from an application hosted on node server?
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
I have a servlet exposed through a path param @SlingServlet(paths = { "/exampleservlet" }, methods = {"GET"}) when I try to make a fetch call(GET) from my React Js front end layer hosted on node server, AEM is not allowing me to reach the servlet and I get a CORS policy exception in my browser console. Any kind of assistance or suggestions would be appreciated.Thank you.

Views

672

Likes

0

Replies

6
Re: How to detect if all the components on the page has loaded or not
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
It should be part of page rendering as well.

Views

626

Likes

0

Replies

0
Re: How to detect if all the components on the page has loaded or not
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
Yes, I have tried this and I have tried using the timeout function as well but nothing seems to work. Just to be more specific, I have a js file in which I am cheching the presence of some class name and based on this class name's presence, I am implementing some logic.So the problem is if I call this js from doc.ready or window.load or some timeout function, by the time the js funct is called, the page would have loaded but not the components. So I am getting the name presence as false all the ...

Views

645

Likes

0

Replies

0
How to detect if all the components on the page has loaded or not
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
HI,I was trying to check if all the components on the page have loaded or not from the javascript file. If they have loaded, then I am calling a particular js function.I have tried with document.ready(), window.onload, and few other functions.The problem is the page is getting loaded first and all the data in the components is getting loaded after some processing.this is the reason why the above mentioned functions are not able to do the jobit would be really helpful if anyone can help me with t...

Views

899

Likes

0

Replies

6
Re: How to restrict the number of items added in a dialog which has a multifield?
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
Does this work for classic UI as well?because we use an IDE to code and build it using Maven.

Views

444

Likes

0

Replies

0
How to restrict the number of items added in a dialog which has a multifield?
Avatar
Ignite 3
Level 2
sbg19
Level 2

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
sbg19
- Adobe Experience Manager
Current code is as below in my dialog.xml; Let's say I want to restrict the number of times I add the item in the dialog, what are the necessary changes to be made?

Views

961

Likes

0

Replies

4