rbf_getRelatedIds()

Purpose

For native Platform objects, this function retrieves the ids of records related to a selected Platform record.

The current user must have View permission on the selected object type to run this API.

Note: For objects in dedicated tables or external objects (such as those mapped to external tables, to OpenEdge Service objects, or through a HDP connection), you can use the method, rbf_getRelatedIds2().

Syntax

rbf_getRelatedIds(relName, id, callback)

Note: This API is supported in portals as well.

Parameters

relName

Integration name of selected Relationship definition

id

ID of selected Object record

callback

A callback function that will receive parameters: relName, id, an array of related ids.