getParents

Version

1.5

Parameters

Parameter Type Description
itemCap (optional) string Four level record type. Must contain 3 slash (/) characters. Do not add spaces before or after slashes. You can use the asterisk (*) as a wildcard to match all entries for a given level.

Returns

Returns all parents on the current record in a record ID object array. If itemCap parameter is passed, only returns parent records whose record type matches the itemCap parameter string pattern.