Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Usin CaaS to access data

Avatar

Level 4

Hello,

I am creating an entity to access node data in JSON format. The url that gets created has caas as a selector.

Is it possible to change the selector?

Also can I access data from 2 different pages/nodes using same entity i.e. use multiple paths or i need to create a new entity each time?

Regards,

Shallu

2 Replies

Avatar

Level 10

See these resources to learn more about AEM and Selectors:

Apache Sling :: URL decomposition

https://hashimkhan.in/aem-adobecq5-interview-questions/basics/3/

cq5 - Selectors in AEM - Stack Overflow

For your question - it will be more helpful if you post the URL  or an example.

Avatar

Level 4

Hi,

I was specifically taking about changing the CaaS(Content as service) endpoint selector and not selector in general.

Sample url:

http://localhost:4502/content/entities/we_retail_form/we-retail-form.caas.json .

If I try to use any other selector it throws error.

1435193_pastedImage_1.png

1435194_pastedImage_2.png