2018 June Release

Fabasoft app.ducx 2017 December ReleasePermanent link for this heading

Find out more about new features and improvements in the Fabasoft app.ducx 2017 December Release.

New Customization Point DocPropertyPermanent link for this heading

The customization point DocProperty provides virtual attributes in content objects.

Syntax

customize DocProperty<cfgobjclass, reference> {
  value = expression {...}
}


Description:

  • cfgobjclass
    The customization applies to objects of the defined object class.
  • reference
    The reference of the DocProperty.
  • value
    The expression to calculate the value of the DocProperty.

Example

customize DocProperty<ContentObject, “fullname”> {
  value = expression {
    return objowner.usertitle + “ “ + objowner.usrfirstname + “ “ + objowner.usersurname;
  }
}


Note:

  • For the expression, the local scope is the current object.
  • If a full reference is specified it is used directly, otherwise else the full reference is calculated from the reference and the current component.

AttributeDefinition as TypePermanent link for this heading

Attribute definitions can now be used as types of variables.

Example

usecase Demo() {
  variant Object {

    expression {

      objname str;

      objowner objectlist; // has the object type like objowner

    }
  }

}