2022 April Release

Customization Point FSCTEAMROOM@1.1001:CPExpandTeamControl Permanent link for this heading

This customization point is used to evaluate the additional information displayed for an entry when it is expanded in the team control. The customization can be changed for each object class depending on the room context.

Example:
customize CPExpandTeamControl <User, TeamRoom> {
  expandedentry = expression {
    dictionary retdict = {};
    retdict.SetEntry(#StrEmail.Print(), cooobj.GetHoverText().email);
    retdict.SetEntry(#persorgtxt.Print(), cooobj.GetHoverText().orgtext);
    return retdict;
  }
  expandableinreducedmode = false;
}

customize CPExpandTeamControl <WorkGroup, TeamRoom> {
  expandedentry = expression {
    dictionary retdict = {};
    User[] members = cooobj.wgrmembers;
    coouser.Sort(&members, true, #objname);
    integer idx = 0;
    for (User member : members) {
      if (member && member.HasClass(#User)) {
        dictionary hoverdict = member.GetHoverText();
        dictionary entrydict = {
          value = :>member.GetName(),
          presymbol = #SymbolUser.GetAddress(),
          hover = :>hoverdict.hovertext,
          alignright = true,
          address = :>member.GetAddress()
        };
        idx++;
        string key = "" + string(idx) + ".";
        retdict.SetEntry(key, entrydict);
      }
    }
    return retdict;
  }
  expandableinreducedmode = true;
}

dictionary FSCTEAMROOM@1.1001:CPExpandTeamControl(
  key ObjectClass objclass,
  key optional ObjectClass roomobjclass,
  key optional RoomRole roomrole,
  out retval dictionary expandedentry,
  out direct boolean expandableinreducedmode)

Name

Description

objclass

applies to objects of the defined object class

roomobjclass

the object class of the room to which the current object is assigned to

roomrole

expandedentry

defines an expression to get the additional information displayed on expanding an entry; additional information must be returned as a dictionary; the information contained in the dictionary is displayed in the expanded section
Note: If you want to display information for members of expanded groups, it is possible to include a list of sub dictionaries with detailed information for each group member.

expandableinreducedmode

defines if entries of this object class are expandable in light dispatcher; in the XML dispatcher, each entry is expandable by default

Additional Information