Please enable JavaScript to view this site.

InterFormNG2 Manual

The advanced set meta data workflow component, Set MIME type, sets the print data stream used for the next merge to print, but it can also be used for setting the content type, that this is returned from a web service call to InterFormNG2 via REST webservice Basic or REST webservice OAuth2.0

.

The set MIME type component has this parameter:

 

NG2WorkflowSetMIMEtype0001

 

Mime type

The printer data stream to be generated on subsequent merge(s) in the current workflow. The Mime type can be either selected from the drop down list or set via an XPath expression.

To identify the text to insert in an XPath expression you should consider to select the specific mime type in the drop down list, and then change to XPath via the rightmost icon.

 

This workflow component works like setting the workflow variable, interform.mimeType, but it is normally easier with this component.

 

 

You can choose to set the Mime-type with one of the values from drop down list:

 

NG2WorkflowSetMimeType002

 

 

Or you can also click the icon on the right to set the mime type via an Xpath expression:

 

NG2WorkflowSetMimeType003

 

NG2WorkflowSetMimeType004