We want to bypass the AEM credentials to display images from author outside of AEM for preview

Avatar

Avatar

dragon2A

Avatar

dragon2A

dragon2A

14-03-2016

Hi,

 

 

Its very urgent.

 

 

 I have situation like we need to provide the aem preview outside of the AEM. 

 

 

Background : ours is a hybrid environment like content will reside in AEM and UI in PHP. 

 

 

For content approval we need to provide the preview URLs to the other member they are not going to have any AEM credentials. 

 

 

Problem: We are able to make the page available to other team members except the Images. 

 

 

To resolve the images issue we are making the image src as relative to obsolute path. 

 

 

Now we are able to see the images but with credentials. We need to bypass the AEM credentials. How we can achieve that? 

 

 

Thanks in Advance  

Replies

Avatar

Avatar

psjaison

Avatar

psjaison

psjaison

14-03-2016

In one of below scenarios. You might not be able to see images. 1. Images in app folder 2. Images in Dam content with access rights Generally keep ur images in dam . Default settings will allow you to access by absolute Url.

Avatar

Avatar

dragon2A

Avatar

dragon2A

dragon2A

14-03-2016

My images in Dam folder. 

Without login into the AEM author I am not able to access the images from DAM .

In publish instance yes we are able to see the images without login.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

14-03-2016

Why not serve the images from your pub instance. THne you do not need to worry about Author creds. 

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

996

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

996

Correct Reply

1.0K
Jörg_Hoh
Employee

14-03-2016

Hi,

first of all this is a licensing issue as well, so rather go and check if this aspect is handled in the license contract.

Secondly, I wouldn't do that. Because at this point you would need to open all your assets and make them world-readable/intranet-readable to whoever has network access to the authoring server. Which might defeat the purpose of the system completly.

Thirdly, how is your approval process planned to work? If the approval happens inside the PHP application, how is this information planned to fed back to AEM (so the content can be replicated)?

 

Jörg

Avatar

Avatar

abhishekb

Avatar

abhishekb

abhishekb

14-03-2016

I have come across this situation and this is what we ended up with.

Have a publish server acting as your preview server. Build a workflow process to replicate assets to that preview instance. Have your preview PHP site connect that AEM preview publish instance for assets. Ask your authors/users to run that workflow for preview capabilities.

Avatar

Avatar

dragon2A

Avatar

dragon2A

dragon2A

14-03-2016

Thanks abhishekb,

Let me try this one. Looks good .

Avatar

Avatar

dragon2A

Avatar

dragon2A

dragon2A

14-03-2016

Hi Jorg,

 

That's correct but still the business wants to follow. They don't want to create credentials for each and everyone. The reviewers of articles are always gonna change based on so many parameters

For the approval we have workflow, Business wants to handle the reviewers comments via the process. The content author will update the content based on the reviewers mail comments.

Avatar

Avatar

sivaprasadreddy

Avatar

sivaprasadreddy

sivaprasadreddy

08-09-2016

Hi Dragon,

We do have similar kind of requirement. Please let me know which procedure you've followed.

Avatar

Avatar

Pawan_Mittal

Avatar

Pawan_Mittal

Pawan_Mittal

24-01-2017

Hi, 

I am also stuck in same situation. I want to show Images from Author and do some editing of those and upload to AEM Author only. But in my all I can't see images as it needs credentials which I can't pass.

Please suggest me how I can do it without using AEM Publish environment. It's very much critical.

 

Thanks.