Extending OOTB User Profile Community Component | Community
Skip to main content
New Participant
May 15, 2018
Solved

Extending OOTB User Profile Community Component

  • May 15, 2018
  • 7 replies
  • 3234 views

I need to add three custom fields like URL field in edit profile section in USER PROFILE component.I have written three classes.Following are the classes' details:

1) Interface BlogUserProfile.java extends SocialComponent

2) Class BlogUserProfileComponentFactory.java extends

extends AbstractSocialComponentFactory

implements SocialComponentFactory

where prioriry mentioned and getSupportedResourceType also mentioned to my extended component.

3) BlogUserProfileImpl

extends BaseSocialComponent

implements BlogUserProfile

But when i am hitting user profile component, BlogUserProfileComponentFactory.java is not getting called.

Can anyone have any idea on this.

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 Rahul_Bhardwaj

gurjeets   Yes, I have got it and while I have requested the information, there seems to be some gap in developer's understanding of overlay, extension. I would encourage you to share the documentation about it, with the team[0](IIRC, I shared it on some other thread too)

ratnas36565562​ - There seems to be some fundamental gaps in the implementation and the code sample shared. I am sharing the next step with support. Please follow them.


Also, let's close this thread, since daycare ticket has been raised.

[0] - Client-side Customization

7 replies

Rahul_Bhardwaj
Rahul_BhardwajAccepted solution
Employee
May 21, 2018

gurjeets   Yes, I have got it and while I have requested the information, there seems to be some gap in developer's understanding of overlay, extension. I would encourage you to share the documentation about it, with the team[0](IIRC, I shared it on some other thread too)

ratnas36565562​ - There seems to be some fundamental gaps in the implementation and the code sample shared. I am sharing the next step with support. Please follow them.


Also, let's close this thread, since daycare ticket has been raised.

[0] - Client-side Customization

gurjeets
New Participant
May 18, 2018

Daycare has been raised and code shared.

New Participant
May 18, 2018

I have followed the above mentioned link.

Rahul_Bhardwaj
Employee
May 16, 2018

Hi Ratna,

It's a bit difficult to just read the description and comment on a problem.

I would recommend you to :

1. First look at a working extension sample [0] and compare your code against it.

2. If you still can't get it working, I would request you to open a day care request, asking for help and share your code there for us to have a look.

Hope that helps!

-Rahul

[0] - aem-communities-extensions/aem-communities-journal-extension at master · Adobe-Marketing-Cloud/aem-communities-extension…

New Participant
May 16, 2018

I have followed the following steps:

1) created

Class BlogUserProfileComponentFactory.java extends

extends AbstractSocialComponentFactory

implements SocialComponentFactory

where prioriry mentioned(300) and getSupportedResourceType also mentioned to my extended component.

2) modified userprofile.js in the extended component.

3) in system/console/configMgr AEM Communities MemberUserProfileOperationService i have added custom fields in property fieldwhiteList.

But still the custom BlogUserProfileComponentFactory.java is not getting called from the extended component.

smacdonald200 you have any idea?

New Participant
May 16, 2018

AEM 6.2

smacdonald2008
New Participant
May 15, 2018

What AEM Version are you using?