Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configure non-task tables for contract templates

Add non-task tables in the script of an extension point implementation so you can select them while creating contract templates. A non-task table does not extend task tables, and stores records, reference data, or configuration information used across the platform.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > System Extension Points > Scripted Extension Points.

  2. In the API Name field, enter sn_cm_core.DocumentTemplateNonTaskTableConfiguration.

  3. Select the record.

  4. In the Related Links section, select Create implementation.

  5. On the Script Include form, fill in the fields.

Image omitted: cmpro-non-task-table.png
Scripted extension point for non-task table.
For a description of the field values, see [Scripted Extension Point form fields](../legal-request-management/scripted-extension-point-form-fields.md).
  1. In the Script field, enter the name of non-task tables that you want to configure for contract templates.

    Use a comma (,) to separate the non-task table names in the script.

    The following example shows a script in which two non-task tables are being added.

          var DocumentTemplateNonTaskTableConfiguration = Class.create();
    DocumentTemplateNonTaskTableConfiguration.prototype = {
        initialize: function() {},
    
        /** 
         * Description: return the list of non-task tables that needs to
         * be added in the table choices in the document template
         * @return {Array} list of tables
         */
        getNonTaskTables: function() {
            return ['sn_spend_psd_procurement_request_line','sn_quote_mgmt_core_quote']; 
        },
    
        type: 'DocumentTemplateNonTaskTableConfiguration'
    };
    
  2. Select Update.

Result

The non-task tables are available for selection in the table drop-down list in the Contract templates view of the Word Templates page of the Contract Administration application.

For more information, see Create a contract template.

Parent Topic:Add and configure contract request functionality into your workspace

Related topics

Add a workspace action button for initiating a contract request

Add Contract requests tab to the contract request record

Add amendment tabs to contract repository record

Add Contract documents tab to the contract repository record

Copy fields from parent request to contract request

Group contract documents by contract type in a contract request

Add access to obligation management from contract repository records

Configure the contract request form header for your workspace

Assign a role for configuring template mappings

Enable contract request fields in condition builders

Configuring the Playbook tab on contract repository records