Example

The following EUIM code, will provide a Case Participant field on screen where the drop down is populated with participants of type PRIMARY and MEMBER. As the create option is turned off, the end user will have no option to search the system for a participant, or to register a new representative.

<Cluster ... >
          <Field columnName="myCaseParticipant"
            label="Field.MyCaseParticipant.Label"
            metatype="CASE_PARTICIPANT_SEARCH"
          >
            <CaseParticipant create="No">
              <SearchType type="PRIMARY"/>
              <SearchType type="MEMBER"/>
            </CaseParticipant>
          <Field>
        </Cluster>

The following EUIM code, builds on the first example, and will now create a role type of MEMBER if the chosen participant does not already have that role. As well as the drop down list, this will allow the user to search the system for a suitable participant, as well as specifying a new representative.

<Cluster ... >
          <Field columnName="myCaseParticipant"
            label="Field.MyCaseParticipant.Label"
            metatype="CASE_PARTICIPANT_SEARCH"
          >
            <CaseParticipant create="Yes">
              <CreateCaseParticipant
                participantType="Person"
                roleType="MEMBER"
              />
              <SearchType type="PRIMARY"/>
              <SearchType type="MEMBER"/>
            </CaseParticipant>
          <Field>
        </Cluster>