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

Asset Selector implementation

Avatar

Avatar
Validate 1
Level 2
Parvathy_C
Level 2

Likes

4 likes

Total Posts

25 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Parvathy_C
Level 2

Likes

4 likes

Total Posts

25 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
Parvathy_C
Level 2

13-09-2020

Hello All,

 

I need to access AEM Assets from an external application. I saw posts regarding this like I need to use the AssetSelector url (http://localhost:4502/aem/assetpicker) through iFrame tag in the external application.

1. Is this still the correct way to do this? 

2. If so, we need to access aem author url only from the external application?

Please provide your pointers.

Thanks,

Parvathy

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

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

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

130 likes

Total Posts

233 posts

Correct Reply

38 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Singaiah_Chintalapudi
MVP

13-09-2020

Hi,

 

For question 1: Yes, that's how you expose the assets

You can use Asset Selector to expose the assets as a service. Please see below urls for more info:

https://helpx.adobe.com/experience-manager/6-3/assets/using/asset-selector.html

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-assets-as-a-service-fo...6

 

 

I would recommend to look at the code in the acs-commons and see how they're implementing just to get an idea:

https://adobe-consulting-services.github.io/acs-aem-commons/features/remote-assets/index.html

 

For Question 2: Depends on the requirement and how you're hosting the servers, you may have to make some more additional code changes plus dispatcher changes to make this work.

 

Thanks,

Singaiah

 

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
MVP
Nikhil-Kumar
MVP

Likes

240 likes

Total Posts

253 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
Nikhil-Kumar
MVP

Likes

240 likes

Total Posts

253 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
Nikhil-Kumar
MVP

13-09-2020

@Parvathy_C 

Yeah you can achieve it. Also as @Singaiah_Chintalapudi  mentioned it depends on the how you are managing both your server.
May be you also need to update the CORS ORIGIN to allow it on other domain.

Thanks,
Nikhil