How get image renditions in Content As A Service

Avatar

Avatar
Validate 25
Level 3
DEBAL_DAS
Level 3

Likes

13 likes

Total Posts

82 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
Level 3
DEBAL_DAS
Level 3

Likes

13 likes

Total Posts

82 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
DEBAL_DAS
Level 3

04-03-2018

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

Replies

Avatar

Avatar
Give Back 5
Level 3
navinkaushal
Level 3

Likes

16 likes

Total Posts

70 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile

Avatar
Give Back 5
Level 3
navinkaushal
Level 3

Likes

16 likes

Total Posts

70 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 25
Give Back 10
Give Back
View profile
navinkaushal
Level 3

04-03-2018

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