getGroupSharingDetails

Function

Builds the details for sharing/unsharing a Survey to/from a Group. The Form & Source Feature Service are targeted for drafts. The Form & Fieldworker View are targeted for published surveys and View groups. The Form, FeatureService, Fieldworker View & Stakeholder View are targeted for published surveys Update groups.

Builds the details for sharing/unsharing a Survey to/from a Group. The Form & Source Feature Service are targeted for drafts. The Form & Fieldworker View are targeted for published surveys and View groups. The Form, FeatureService, Fieldworker View & Stakeholder View are targeted for published surveys Update groups.

Parameters

Parameter Type Default Notes
formId Required string

A Form ID

groupId Required string

A Group ID

requestOptions Required IRequestOptions

The request options

Available requestOptions

Property Type Notes

Returns

Property Type Notes
group IGroup
modelsToShare IModel[]

Function defined in surveys/src/sharing/get-group-sharing-details.ts:23