2022 April Release

Customization Point FSCFIELDS@1.1001:CPGetFieldContext Permanent link for this heading

This customization point allows defining new field contexts and is evaluated when the GetFields action is called. The result is a list of objects on which the GetFields will also be called.
Note: Fields are only merged into Microsoft Word documents.

Example:
customize CPGetFieldContext<Object> {
  objects = expression {
    cooobj.objprimaryrelated;
  }
}

AttributeDefinition[] FSCFIELDS@1.1001:CPGetFieldContext(
  key ObjectClass objclass,
  out retval AttributeDefinition[] attrdefs,
  out optional MaxRecursion mr)

Name

Description

objclass

applies to objects of the defined object class

attrdefs

each one points from the contained object to a container object, i.e. the result of GetFields called on every this.[attrdefs[i]] will extend the result of GetFields() called on this

mr

defines the limit for recursive field evaluation

Additional Information