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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM Assets HTTP API not returning asset metadata on publisher

Avatar

Avatar
Level 1
AnuragSengupta-
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
AnuragSengupta-
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
AnuragSengupta-
Level 1

15-06-2018

Hello All,

I'm using AEM Assets HTTP API to make ajax calls from my component and fetch asset title and hyperlink. So far, it was working like charm. But now I have a requirement to pull some metadata of asset on page. To my surprise, what I noticed that the Assets api is returning asset metadata in author instance but not in publisher instance. On further investigation, I found the metadata is returned in publisher only when I'm logged in. Obviously I don't expect my users to login in publisher.

Unfortunately I can't find a work around here and I think I have to use some other approach although I earnestly want to stick with assets api.

Any documentation, possible workaround will be greatly appreciated.