Asset Selector implementation | Community
Skip to main content
New Participant
September 13, 2020
Solved

Asset Selector implementation

  • September 13, 2020
  • 2 replies
  • 1422 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Singaiah_Chintalapudi

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-for-3rd-party-applications/qaq-p/280386

 

 

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

 

2 replies

Nikhil-Kumar
New Participant
September 13, 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 

Singaiah_Chintalapudi
Singaiah_ChintalapudiAccepted solution
New Participant
September 13, 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-for-3rd-party-applications/qaq-p/280386

 

 

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