† library_form_get_literals ()
DEPRECATED in API Version 2.8.1. Replaced by the more generic function library_literals_get ()
Function prototype | library_form_get_literals (session, form , lang) |
---|---|
API Version | 2.7.26 and higher |
SOAP, REST |
Description
Returns a list of the literals used in this FORM TEMPLATE in the desired language
Returns a list of the literals used in this FORM TEMPLATE, including the literals of its ITEM TEMPLATES.
The return value is a list of all the literals in the active language and the corresponding translation to the desired language
Input parameters: |
|
Output parameters: |
|
Request example
library_form_get_literals ( “LCAAAAAAAAAAAA”, 16384, "ZH")
Reponse
The response format is XML when the function has been invoked via the SOAP API, and JSON when it has been invoked via the REST API
Return Error codes
ERROR CODE | |
---|---|
INVALID_TOKEN | The session token provided is not valid |
TEMPLATE.NOT_FOUND | The requested FORM TEMPLATE was not found |
INSUFFICIENT_PRIVILEGES | The session user does not have the necessary privileges to request the literals of the FORM TEMPLATE |