Skip to main content
Skip table of contents

How to add a custom roles dropdown in an table in a DOC?

Often times the roles and/ or titles of approvers and other participants in an Audit table will be the same, so to avoid having to add them manually every time there is a way to customise a dropdown for this purpose in the Advanced Settings of your DOC configuration.

To get there you navigate to Server Administration → respective project → Project Settings → DOC Settings.

Here you can click on the Advanced Button in the top right corner and you will get to the Advanced Edit section:

Screenshot 2024-04-16 at 13.14.37.png

Here you can add the following code line directly at the top (as seen in the screenshot). To add your role titles you simply replace Title1 and Title2 placeholders with the role titles itself:

CODE
"customColumns":[
    {
      "type":"myTitles",
      "name":"Titles",
      "editor":"select",
      "options":{
        "option00":"Title1</br></br>",
        "option01":"Title2</br></br>"
      }
    }],

This is of course not limited to only two role titles but can be extended as outlined in the below example to meet your needs.

CODE
"customColumns":[
    {
      "type":"myTitles",
      "name":"Titles",
      "editor":"select",
      "options":{
        "option00":"Title1</br></br>",
        "option01":"Title2</br></br>",
        "option02":"Title3"</br></br>,
        "option03":"Title4"</br></br>
      }
    }],

The 'type' refers to the internal identifier in the audit table.

The 'name' corresponds to what you observe in the user interface when adding a column to a table.

'Options' denote the titles displayed as 'id': 'displayed text'.

To utilise the new dropdown feature in a table within a DOC, you can simply manually insert it as follows:

Screenshot 2024-04-16 at 11.34.47.png
Screenshot 2024-04-16 at 11.35.01.png

This dropdown is available for all table types in a DOC, not just Audit Trails or Signature boxes.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.