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:
:* '''domain -'''
:* ''<tt>domain</tt>'' -
:* ''' -'''
:* ''<tt>appID</tt>'' -
:* ''' -'''
:* ''<tt>objectName</tt>'' -
:* ''' -'''
:* ''<tt>formTitle</tt>'' -
:* ''' -'''
:* ''<tt>fieldName</tt>'' -
:* ''' -'''
:* ''<tt>value</tt>'' -


;Considerations:
;Considerations:

Revision as of 00:45, 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 -
  • appID -
  • 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/orbecomes: 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