Profile Fields

Adding Data Fields to Profile Panel

To add more data fields to the Profile Panel in the Hyperspace Metaverse Platform dashboard, additional JavaScript Object Notation (JSON) strings will need to be entered into the Profile Fields data field in the Experimental Settings panel in the Edit Space screen.

The fields that are pre-set within the Profile Panel are:

  • Name
  • Organization
  • Email
  • Role in the organization
  • LinkedIn profile

The JSON code that is pre-populated in the Profile Fields data field is listed below.

[{\"name\":\"name\",\"i19n_title\":\"profile__name\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_name\"},{\"name\":\"organization\",\"i19n_title\":\"profile__organization\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_organization\"},{\"name\":\"email\",\"i19n_title\":\"profile__email\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_email\"},{\"name\":\"role\",\"i19n_title\":\"profile__role_in_organization\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_role\"},{\"name\":\"linkedin_url\",\"i19n_title\":\"profile__linkedin_profile\",\"type\":\"url\",\"i19n_placeholder\":\"profile__url_of_linkedin_profile\"}]

When coding a new JSON string for the Profile Fields data field, follow this string example for a Favorite Color field:

{\"name\":\"favorite_color\",\"title\":\"Favorite Color\",\"type\":\"text\",\"placeholder\":\"e.g. Red\"}

This string begins and ends with brackets (i.e., { }). The code highlighted in green are names; the code highlighted in yellow are values. Each name/value pair is separated by a comma. Four name/value pairs–name, title, type, and placeholder–must be present within the string for it to be added to the Profile Panel.

To add the new string to the Profile Fields data field, place a comma behind and in front of the bracketed string before adding it. If the new string is at the end of the Profile Fields code block, a comma is not needed at the end of the string. Below is an example of the JSON string for Organization Headquarters (highlighted in yellow), which will appear between the Organization and Email fields on the Profile Panel.  

{\"name\":\"organization\",\"i19n_title\":\"profile__organization\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_organization\"},{\"name\":\"organization_headquarters\",\"title\":\"Organization headquarters\",\"type\":\"text\",\"placeholder\":\"e.g. United States\"},{\"name\":\"email\",\"i19n_title\":\"profile__email\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_email\"}

Adding Pronouns to Profile Panel

Copy and paste the following into your world or space Profile fields setting to include a Pronouns option.

[{\"name\":\"name\",\"i19n_title\":\"profile__name\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_name\"},{\"name\":\"organization\",\"i19n_title\":\"profile__organization\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_organization\"},{\"name\":\"email\",\"i19n_title\":\"profile__email\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_email\"},{\"name\":\"role\",\"i19n_title\":\"profile__role_in_organization\",\"type\":\"text\",\"i19n_placeholder\":\"profile__your_role\"},{\"name\":\"pronouns\",\"title\":\"Pronouns\",\"type\":\"text\",\"placeholder\":\"e.g. she/her\"},{\"name\":\"linkedin_url\",\"i19n_title\":\"profile__linkedin_profile\",\"type\":\"url\",\"i19n_placeholder\":\"profile__url_of_linkedin_profile\"}]

We're dedicated to fostering a platform that celebrates diversity and inclusivity, recognizing the significance of gender pronouns in cultivating a supportive environment for individuals of all gender identities. If the feature has been enabled for the world you are visiting, you will have the option to include your gender pronouns in your profile, empowering others to address you respectfully.

This feature is voluntary, you can opt to share your gender pronouns if you wish. Please note that members won't be able to search for you based on your pronouns.

  1. Click the the top left menu
  2. Choose Profile
  3. Enter your pronouns
  4. Click the Save button

Other users will be able to see these when looking at your profile by

  1. Clicking a participants avatar
  2. Click the Open profile button

The profile will appear with the participants details

Advanced JSON field types

The type parameter defines how the field will be shown on profiles to other users.

Available types are

  • text
  • url – uses the action LB.Actions.displayMediaboard({url: <url>});
  • button – appears as a button
  • multiline – a textarea, i.e. an expandable text field

How useful was this article?

Click on a star to rate it!

We are sorry that this article was not useful for you!

Let us improve this article!

Tell us how we can improve this article?