| Variable | Description | 
| $(REPLICAID) | The replica ID of the current database | 
| $(NOTEID) | The Note ID of the current document. Note the Note ID is on 4 bytes hex format, such as: 00001FB5. | 
| $(UNID) | The Document Unique ID of the current document. | 
| $(IMPORT_FIELDNAME) | The Notes field name to import- or attach the file to |