Configure an extension point to add contract metadata
Update the script in an extension point to specify fields in a related contract repository table where you want to add the extracted information for unmapped fields of a metadata extraction use case.
Before you begin
Role required: admin
Procedure
-
Navigate to All > System Extension Points > Scripted Extension Points.
-
In the API Name field, search for
sn_cm_gen_ai.NowAssistUpdateMetadataExtractedValuesExt. -
Select the record.
-
Select the Create implementation related link.
-
On the Script Include form, fill in the fields.
For a description of the field values, see Scripted Extension Point form fields.
-
In the Script field, update the script to specify the contract repository related table and the field mapping
- In the
canHandlefunction, add the request table name where you want to update the extracted information. - In the
updateContractRepositoryFieldsfunction, add a script to update the fields. The extracted metadata will be fetched from theretrievedFieldsDataparameter.
- In the
-
Select Update.
Result
The script specifies the related contract repository tables and their field mappings. After metadata extraction, values from these fields are added according to the defined mapping.
For more information on metadata extraction use case mapping, see Map a use case for contract metadata extraction.
Parent Topic:Configuring contract metadata extraction
Related topics
Create use cases for contract metadata extraction
Map a use case for contract metadata extraction
Configure system properties for contract metadata extraction
---
title: Configure an extension point to add contract metadata
description: Update the script in an extension point to specify fields in a related contract repository table where you want to add the extracted information for unmapped fields of a metadata extraction use case.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/employee-service-management/contract-management-pro/config-ext-pt-to-add-metadata.html
release: brazil
product: Contract Management Pro
classification: contract-management-pro
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Configure metadata extraction, Configure AI capabilities, Configure, Contract Management Pro, Legal and Contract Operations, Employee Service Management]
---
# Configure an extension point to add contract metadata
Update the script in an extension point to specify fields in a related contract repository table where you want to add the extracted information for unmapped fields of a metadata extraction use case.
## Before you begin
Role required: admin
## Procedure
1. Navigate to **All** > **System Extension Points** > **Scripted Extension Points**.
2. In the **API Name** field, search for `sn_cm_gen_ai.NowAssistUpdateMetadataExtractedValuesExt`.
3. Select the record.
4. Select the **Create implementation** related link.
5. On the Script Include form, fill in the fields.
For a description of the field values, see [Scripted Extension Point form fields](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/legal-request-management/scripted-extension-point-form-fields.md).
6. In the **Script** field, update the script to specify the contract repository related table and the field mapping
- In the `canHandle` function, add the request table name where you want to update the extracted information.
- In the `updateContractRepositoryFields` function, add a script to update the fields. The extracted metadata will be fetched from the `retrievedFieldsData` parameter.
7. Select **Update**.
## Result
The script specifies the related contract repository tables and their field mappings. After metadata extraction, values from these fields are added according to the defined mapping.
For more information on metadata extraction use case mapping, see [Map a use case for contract metadata extraction](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/contract-management-pro/cmpro-na-usecase-mappings-me.md).
**Parent Topic:**[Configuring contract metadata extraction](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/contract-management-pro/cncore-conf-metadata-extraction.md)
**Related topics**
[Create use cases for contract metadata extraction]()
[Map a use case for contract metadata extraction]()
[Configure system properties for contract metadata extraction]()
[Enable notification for contract metadata extraction]()
[Configure the URL for metadata extraction notifications]()
| title | Configure an extension point to add contract metadata |
| description | Update the script in an extension point to specify fields in a related contract repository table where you want to add the extracted information for unmapped fields of a metadata extraction use case. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/employee-service-management/contract-management-pro/config-ext-pt-to-add-metadata.html |
| release | brazil |
| product | Contract Management Pro |
| classification | contract-management-pro |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Configure metadata extractionConfigure AI capabilitiesConfigureContract Management ProLegal and Contract OperationsEmployee Service Management |