Member details configuration

/WEB-INF/template/[project]/Member/[details].xml

This file can be used to configure additional fields to members of a group.

Overview

Groups can be configured so that members can have up to 15 custom fields associated with their membership. These fields can be used to store additional, arbitrary information.

This file can be configured for who can edit or view the fields.

Note

Details field are associated with the group membership not the user directly. So each group can get its own set of fields.

Note

When editing this config file in PageSeeder pressing ctrl-space will display autocomplete options to make editing easier.

Detail field definition

The table below describes the list of attributes for each detail field. By default the fields in the details form are 100 characters long.

NameDescriptionValue
position

The position of the field and must be an integer between 1 and 15. 

Required
name

A field name containing only letters and numbers.

Required
title

A user-friendly display name for each field.

visibility

Determines who is allowed to see the field value. Possible values are group, member and manager

Default = manager
editable

A boolean flag ("true" or "false") determines whether the field is editable by the member via the user interface.

Default = false
type

Determines the form field in the user interface. The default layout supports "text" and "date" but other types could be supported. 

Default =  text

Shared details

The details configuration can be shared with other groups with the same owner and the same details name. To enable this feature, simply set the @shared attribute on the <document> element to "true".

Sample member details file

Following is a sample file.

<member-details shared="true">

    <field position="1"
               name="org"
              title="Organization"
           editable="true"
         visibility="group"
               type="text" />

    <field position="2"
               name="joined"
              title="Joined organization"
           editable="true"
         visibility="group"
               type="date" />

    <field position="3"
               name="tel"
              title="Telephone"
           editable="true"
         visibility="member"/>

    <field position="4"
               name="code"
              title="Code" 
           editable="false"
         visibility="manager"/>

   </member-details>

Created on , last edited on