2022 April Release

Customization Point FSCVENVUI@1.1001:FilterDispViewListAction Permanent link for this heading

This customization point determines the filter action for the display view settings for the given object class.

Example:
customize FilterDispViewListAction<Folder> {
  filteraction = expression {
    return #MYCUSTOMIZE@1.1065:FolderDispViewListFolder
  }
}
usecase FolderDispViewListFolder(parameters as FilterDispViewListPrototype) {
  variant Folder {
    impl = expression {
      if (writelocation >= 0) {
        // write columns: prevent saving settings
        throw #COOSTERR_CANCEL;
      }
      else {
        // read columns: fixed set of display columns
        DisplayColumnList[] mycolumns;
        mycolumns += coort.CreateAggregate(#DisplayColumnList);
        mycolumns += coort.CreateAggregate(#DisplayColumnList);
        mycolumns += coort.CreateAggregate(#DisplayColumnList);
        mycolumns[0].dispattribute = #objname;
        mycolumns[1].dispattribute = #objcreatedby;
        mycolumns[2].dispattribute = #objaclobj;
        displaylist.dispcolumns = mycolumns;
      }
    }
  }
}

Action FSCVENVUI@1.1001:FilterDispViewListAction(
  key ObjectClass objclass,
  out retval Action filteraction)

Name

Description

objclass

applies to objects of the defined object class

filteraction

this action is used to verify or override the resulting display view list; the action uses the prototype FilterDispViewListPrototype

Additional Information