How to link documents with a field

Tabla de contenidos

Athento has Choice/Document fields that allow you to search, select and link a document from one form to another document from another form that has been previously created in the system.

For example, from an Invoice I may want to link a quotation that I have created in the system. Choice/Document fields generate links between documents and allow us to move quickly between them.

Configuring a Document field

To configure this link between documents through a Document field, following the example, you must create in the "Invoice" form a DOCUMENT field that will link the invoice with the quotation.

In the field configuration, it is necessary to specify in which space and from which form the documents we want to be able to link are.

We can also filter by the values of a field in the selected forms. In this way, only documents that have the values we have entered will be linked.

To add new values you must type them in the field that is below the form field selector and press enter.

If you have configured a selector-type field here, you must type the key of the options you want to filter by; the options of that selector will not appear.

In addition, fields can be added by which the search will be filtered. For example, if I have a document named "Contract", and an ID Number field with value "12345678X", if I select that field for searching, when filtering by the ID Number the document will appear. Currently it is only allowed to filter by text, text area, email, code and link fields.

Add a relationship in Related Documents

If you want the document selected in the field to be a related document, you must enable the "File Link" setting from the field’s advanced administration.

How to use a Document field

Following the example, from an Invoice in the "Quotation" field you can start typing the title of the quotation you want to link. Athento will suggest results. Click on the correct result so that the two documents are linked.

Once the document to relate has been selected, under the field a link "Go to the file" or "Go to file" will appear, as shown below:

By clicking on that link, the linked document, i.e., the quotation, will open in a new browser window.

Link multiple documents

If you need to be able to link multiple documents, use a Multichoice/Document field.