The GetProjectFormTemplates() command returns a list of form
templates on the project. It will return the most recent version of the form template; older
versions are ignored.
| Note that the returned FormTemplateLinkId spans versions of a form
template. FormTemplateLinkId can be used in GetProjectFormsList() to return all
instances of all versions of a form template. |
Table 1. Parameters| Parameter | Type | Max Length | Required | Description |
|---|
|
apiToken
|
string
|
20
|
Y
| Your API security token configured in Field View. |
|
projectID
|
integer
| |
Y
| The unique ID of the project. |
|
viewAllOrganisationsFormTemplates
| boolean | |
Y
| Subcontractors can also assign their form templates to the project. Set this to false to show only your
business unit form templates. Normally this would be set to
false. |
| includeInactive | boolean | | | Choose whether to include templates that have been unassigned from
the project. |
<ProjectFormTemplateResponse>
<Status>
<Code>SUCCESS</Code>
<Message>Success.</Message>
</Status>
<ProjectFormTemplateInformation>
<FormTemplateID></FormTemplateID>
<FormTemplateLinkID></FormTemplateLinkID>
<FormTemplate></FormTemplate>
<TypeID></TypeID>
<Type></Type>
<WorkFlowTemplateID></WorkFlowTemplateID>
<WorkFlowTemplate></WorkFlowTemplate>
<BusinessUnitID></BusinessUnitID>
<BusinessUnit></BusinessUnit>
<Active></Active>
</ProjectFormTemplateInformation>
</ProjectFormTemplateResponse>