Difference between revisions of "Prefill Form Fields"

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


;Considerations:
;Considerations:
:* For all parameter values, use "+" instead of a space.<br>Example: <tt>My Application</tt> becomes: <tt>My+Application</tt>
:* For all parameter values, use "+" in place of a space.<br>Example: <tt>217 Jason Street</tt> becomes: <tt>217+Jason+Street</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>
Line 25: Line 25:
:* DOUBLE
:* DOUBLE
:* GLOBAL_PICK_LIST
:* GLOBAL_PICK_LIST
{{#ifeq: {{SKIN}} | LJ |
:* LEAD_EMAIL 
}}
:* NUMBER
:* NUMBER
:* PERCENT
:* PERCENT

Revision as of 22:18, 30 July 2013

By encoding Form data in a URL, you can take a registered platform user to a Form 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, taken from the Application Properties.
  • objectName - The name of the Object, taken from the Object Information section of the Object Properties.
  • formTitle - The name of the form, taken from the Form Properties.
  • fieldName - The name of a Field that is displayed in the form.
  • value - The value to pre-fill.
Example
Considerations
  • For all parameter values, use "+" in place of a space.
    Example: 217 Jason Street becomes: 217+Jason+Street
  • 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