getInputFeatureServiceModel

Function

Gets the primary input Feature Service for the given Form ID. This will be the Fieldworker view, if it exists, otherwise the source Feature Service.

Gets the primary input Feature Service for the given Form ID. This will be the Fieldworker view, if it exists, otherwise the source Feature Service.

  • getInputFeatureServiceModel(formId: string, requestOptions: IRequestOptions) : Promise<IModel>

Parameters

Parameter Type Default Notes
formId Required string

The Form ID

requestOptions Required IRequestOptions

The request options

Available requestOptions

Property Type Notes

Returns

Promise<IModel>
Property Type Notes
item IItem
data Optional [key: string]: any
resources Optional [key: string]: any

Function defined in common/src/surveys/utils/get-input-feature-service-model.ts:16