The following data definition example shows a form that is configured as a document. In this form, the Attachments button appears, but you can add parameters in the URL to remove it.
<FormMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.imagenow.com/imagenowforms/"> <DocumentForm> <FormName>DocFormTest</FormName> <QueueName/> <Drawer>default</Drawer> <Field1 isPath="true">/InvoiceCoding/TaxCode</Field1> <Field2 isUnique="true"></Field2> <Field3/> <Field4/> <Field5/> <DataParams/> <ConfigParams> <ConfigParam name="attachmentsVisible" urlOverride="TRUE" value="true"/> <ConfigParam name="barColor" value="green"/> </ConfigParams> </DocumentForm> </FormMap>