Difference between revisions of "Prefill Form Fields"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 14: Line 14:


;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>
:* For all parameter values, use "+" instead of a space.<br>Example: <tt>My Application</tt>becomes: <tt>My+Application</tt>
:* Parameters must be specified in the order shown, separated by a slash ("/")
:* 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:50, 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
  • For all parameter values, use "+" instead of a space.
    Example: My Applicationbecomes: My+Application
  • 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
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