Share via


FormObjectSet.masterObjectSet Method

Retrieves the master object set for the current object set.

Syntax

public FormObjectSet masterObjectSet()

Run On

Client

Return Value

Type: FormObjectSet Class
The master object set.

Remarks

A form often has more than one object set (data source). These are joined together by using a tree hierarchy, where one data source is the master or parent data source. The masterObjectSet method returns the ID of the master data source for a specific data source.

Examples

The following example returns the name of the master data source for a FormRun object.

private static client Name formDataSourceName(FormRun _formRun) 
{ 
    return _formRun.objectSet().masterObjectSet().name(); 
}

See Also

Reference

FormObjectSet Class