Difference between revisions of "Prefill Form Fields"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 15: | Line 15: | ||
;Considerations: | ;Considerations: | ||
:* In data values, use "+" instead of a space.<br>Example: <tt>This is some data.</tt>becomes: <tt>This+is+some+data.</tt> | :* In data values, use "+" instead of a space.<br>Example: <tt>This is some data.</tt>becomes: <tt>This+is+some+data.</tt> | ||
:* Parameters must be specified in the order shown, separated by a slash ("/") | |||
:* If a data value includes a "/", encode it using %2F.<br>Example: <tt>either/or</tt> becomes: <tt>either%2For</tt> | :* If a data value includes a "/", encode it using %2F.<br>Example: <tt>either/or</tt> becomes: <tt>either%2For</tt> | ||
Revision as of 00:48, 30 July 2013
By encoding Form data in a URL, you can display a Form for a registered platform user that has select fields pre-filled with default data.
- Syntax
https://domain/networking/servicedesk/index.jsp?applicationId=appID#_objectName/new
/_form_title=formTitle/fieldName=value/...
where:
- domain - The domain used to access the platform
- appID - The application ID, found in the Applications page
- objectName -
- formTitle -
- fieldName -
- value -
- Considerations
-
- In data values, use "+" instead of a space.
Example: This is some data.becomes: This+is+some+data. - Parameters must be specified in the order shown, separated by a slash ("/")
- If a data value includes a "/", encode it using %2F.
Example: either/or becomes: either%2For
- In data values, use "+" instead of a space.
- Supported Fields
-
- BOOLEAN (value should be either 1 or 0 )
- CURRENCY
- DOUBLE
- GLOBAL_PICK_LIST
- NUMBER
- PERCENT
- PHONE
- PICK_LIST
- RADIO_BUTTON
- TEXT_FIELD
- TEXT_AREA
- TIME