AgileApps Support Wiki Pre Release

Difference between revisions of "Prefill Form Fields"

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


where:
where:
:* ''<tt>domain</tt>'' -
:* ''<tt>domain</tt>'' - The domain used to access the platform
:* ''<tt>appID</tt>'' -
:* ''<tt>appID</tt>'' - The application ID, found in the [[Applications]] page
:* ''<tt>objectName</tt>'' -
:* ''<tt>objectName</tt>'' -  
:* ''<tt>formTitle</tt>'' -
:* ''<tt>formTitle</tt>'' -  
:* ''<tt>fieldName</tt>'' -
:* ''<tt>fieldName</tt>'' -  
:* ''<tt>value</tt>'' -
:* ''<tt>value</tt>'' -  


;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>
:* 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>


;Supported Fields:
;Supported Fields:

Revision as of 00:46, 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.
  • 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