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

How get image renditions in Content As A Service

DEBAL_DAS
Level 4
Level 4

Hi,

I have created CaaS and its Entity is an Asset Model. I have added list of digital assets(images) in the Asset Lists.

When I have previewed the service on author and publish I could see each and every digital asset i.e. image path for Key: dam:path in the JSON response.

If I would like to get renditions of each and every assets what needs to be done.

Here is the JSON response -

1433054_pastedImage_0.png

I have referred following link: AEM 6.3 First Looks: Content as a Service

Do I need to write custom service to get renditions of images for external consumption?

Please correct my understanding.

Thanks

1 Reply
navinkaushal
Level 4
Level 4

Hi DEBAL DAS​,

You may probably need to:

1. Create custom Content Service (please refer Adobe Experience Manager Help | Getting Started with AEM Content Services )

2. Use the asset share component to share the Asset using the custom service.

Hope this works