Documentation Center

Load generic form list

Each LiveContent publication can register a number of generic forms to which a user is granted access. These forms can be used for anything from active or passive feedback to saving searches or saving troubleshooting sessions for later. This API call retrieves the list of names and IDs of the generic forms that are registered with this publication. Usually this API is run while opening the publication.

Example API call

/servlets3/wietmsd?id=1459841928058&book=s1000d_bike_41&collection=default&target=forms&action=get_form_templates

Parameters

ParameterDescription
targetforms
actionget_form_templates
idA session ID that is valid for this collection and publication combination.
book The name of the publication, such as s1000d_bike_41.
collectionThe name of the collection that the publication is registered in, such as default.

Returns

On success
<form-templates>
        <template name='genform1'>Customer Satisfaction Form</template>
	    <template name='template'>Warranty Registration</template>
	    <template name='SavedSearches'>Saved Searches</template>
	    <template name='SuspendSession'>Suspend and Resume</template>
        <template name='UndoWarning'>Undo Warning</template>
</form-templates>
On failure
Returns nothing