Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Communities Avatar URLs on Author

Avatar

Level 2

Using 6.3. After setting up AEM Communities and enabling tunneling we are able to see community users on the author side under Navigation > Communities > Members.  However, the URL to retrieve the users avatar profile picture is being generated incorrectly.  It is pointing to the default http://localhost:4503/... path, which is incorrect in our environment.  It needs to be https://www.ourdomain.com/aemauthor/.....    Where can this be configured?

aemavatar.PNG

1 Accepted Solution

Avatar

Correct answer by
Employee

Okay, its not just the URL you'd like to change but the context path too. I can not comment unless I see the configuration or try replicating the issue myself. Can you please work with Adobe Support and open a Support ticket?

View solution in original post

6 Replies

Avatar

Employee

Can you check if the Externalizer service [1] is configured properly?

[1] Externalizing URLs

Avatar

Level 2

I have given this a try, but it did not resolve the problem.  What I have noticed is the communities features just don't seem to always leverage the configuration/settings appropriately.  We also architected our solution with a tomcat application server in order to add a contextpath or directory to the end of each URL to separate author and publish.  e.g., https://www.ourdomain.com/author/ and https://www.ourdomain.com/publisher/.   A good amount of the communities features don't handle the context path at the end.  The links that AEM generates on the author site seem to drop the /author/ and wind up being invalid links.  For example if you select a communities site and try to edit it or go to the site information page it navigates you to an invalid URL.   It drops the /author/ and winds up pointing to https://www.ourdomain.com/editor.html/.....  This only happens under communities (about half the links/features), all other links throughout the site seem to work fine.

I was hoping this was some sort of configuration, otherwise it seems like a bug.

Avatar

Correct answer by
Employee

Okay, its not just the URL you'd like to change but the context path too. I can not comment unless I see the configuration or try replicating the issue myself. Can you please work with Adobe Support and open a Support ticket?

Avatar

Level 2

This was submitted as a ticket and ultimately discovered to be a bug.  Adobe provided a patch that will be included in a future release

Avatar

Level 1

Hey, I'd like to follow up on the solution by asking to share the solution. You've worked with Adobe Support on it, but It is not clear which patch solved your problem. Unfortunately, we experienced the same issue on AEM 6.4. The URL to the communities user avatar contains the default http://localhost:4503 path. We checked also externalizer configs but it doesn't solve the problem. Could you share more details, please?

Avatar

Level 2

I did confirm it is now working in our environment. I tried to track down the daycare ticket but I cant for some reason.  If memory serves I think it might have been in SP2 for 6.3?  I do believe this is affected by the 'Publish' line in the Day CQ Link Externalizer configuration at .../system/console/configMgr of your author.