3.3.1.4. Profile

The soc:profiledefinition node type has the following properties:

Property NameRequired TypeMultipleDescription
soc:parentIdStringfalseThe parent Id is the identity Id. It is used for queries.
soc:createdTimeLongfalseThe time when the profile of an identity is initialized.
soc:externalUrlStringfalseThe external URL of an identity who does not exist in the identities list of the Social providers, (OrganizationIdentityProvider and SpaceIdentityProvider).
soc:externalAvatarUrlStringfalseThe external avatar URL of an identity who does not exist in the identities list of the Social providers, (OrganizationIdentityProvider and SpaceIdentityProvider).
*undefinedtrueAllows adding more properties to the soc:profiledefinition node type.

The soc:profiledefinition node type has the following child nodes:

Child NodesDefault Primary TypeDescription
* soc:profilexpAll the experiences stored in the profile.
soc:avatarnt:fileThe users's avatar.
soc:activityprofile soc:activityinfodefinitionStores activities related to updating the profile.

The soc:profiledefinition can add the soc:activityinfodefinition mixin type which has the following properties:

Property NameRequired TypeMultipleDescription
soc:userProfileActivityIdStringfalseRecords the activity Id when the information of a user profile is updated.
soc:spaceProfileActivityIdStringfalseRecords the activity Id when the information of a specific space is updated.
soc:relationProfileActivityIdStringfalseRecords the activity Id when a user becomes the member of a specific space.
soc:relationShipActivityIdStringfalseRecords the activity ID when any connection is created/removed.

Some residual properties can be set and will be used by Social:

Property NameRequired TypeMultipleDescription
void-UrlundefinedtrueThe URL to access the profile of an identity.
void-emailundefinedtrueThe email of an identity in the profile.
void-firstNameundefinedtrueThe first name of an identity in his profile.
void-fullNameundefinedtrueThe full name of an identity in his profile.
void-lastNameundefinedtrueThe last name of an identity in his profile.
void-usernameundefinedtrueThe username of an identity in his profile.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus