Home > Reference Material > Invoking a Form from Other Applications

Invoking a Form from Other Applications

Pulpstream allows New Forms belonging to Stream as well as Smart Objects to be invoked from other systems, this is useful when a new process needs to be started or a new smart object record needs to be created by providing a link in other system such as SalesForce.com or Oracle.

 

The syntax for invoking the URL for a Stream Form 

 

https://us.pulpstream.com/vfr/index.html?type=form&templateId={TEMPLATE_ID}&formId={FORMID}&{FIELD1}={FIELD_VAL}&{FIELD2}={FIELD_VAL}&......

 

The syntax for invoking the URL for a Smart Object Record is

 

https://us.pulpstream.com/vfr/index.html?type=smartform&objectId={SMART_OBJECT_ID}&{FIELD1}={FIELD_VAL}&{FIELD2}={FIELD_VAL}&......

 

The parameters for the URLs are:

 

type=form – This is a directive to pulpstream that a stream form needs to be invoked

type=smartform – This is a directive to pulpstream that a smart object record form needs to be invoked

 
templateId={TemplateId} – Template ID of the stream whose form needs to be invoked

objectId={SMART_OBJECT_ID} - This is object ID whose form needs to be invoked

formId={formId} The ID of the form (This can be retrieved by opening the form and clicking on gear icon to generate Web URL and then grabbing the form ID from the URL)

 

Other parameters present above

FieldName=Field Value

 

The name of the field that needs to be prefilled and its value

The field name can be determined by opening the data component on which the form is based upon.

 

An example of such URLs are:

 

To Initiate a new stream record

https://us.pulpstream.com/vfr/index.html?type=form&templateId=70443d757bb840bcaf93defa57a388ba&formId=5841fb9d66b046678e6b487ff1f0b763&Customer_Location=1000002434-9&BU=102

 

To Create a Smart Object Record

https://us.pulpstream.com/vfr/index.html?type=smartform&objectId=Customer&First_Name=pankaj