WHFSType::Enrich (open)
Enrich a record array with values from this type in bulk
Syntax
LOADLIB "mod::system/lib/internal/whfs/contenttypes.whlib";
RECORD ARRAY FUNCTION Enrich(RECORD ARRAY inrows, STRING idcellname, STRING ARRAY fields, RECORD options)Parameters
RECORD ARRAY inrowsInput rows to enrich
STRING idcellnameName of the cell in the inrows that contain the fs_object id. Append '[]' if the cell is an array of values, use <cellname>.<innerarray> to enrich inner arrays.
STRING ARRAY fieldsFields to retrieve
RECORD optionsOptions
BOOLEAN orphansGet orphan members too
BOOLEAN rightouterjoinNo effect - getting instancedata always succeeds.
STRING wrapfieldsIf not empty, wrap the enriched fields in a cell with this name (when the idcell is an array, insert enriched values into this cell).
Return value
RECORD ARRAYEnriched rows