{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":50890,"path":"source-to-pay-operations/supplier-lifecycle-operations/update-client-script.md","title":"Update the field names in the UX client script","bundle":null,"doc_type":null,"release":"australia","body":"\n# Update the field names in the UX client script\n\nUpdate the field names in the UX client script to match the custom field names in the custom API response.\n\n## Before you begin\n\nRole required: admin\n\n## Procedure\n\n1.  In the navigation filter, enter `sys_ux_client_script.list`.\n\n2.  In the UX Client Scripts form, in the **Name** search field, search for the Set 'news' activity state.\n\n3.  Select the **Set 'news activity' section state** client script.\n\n4.  Edit the **Script** field to update the field names so that they match the field names in the custom API response.\n\n    For example, in your custom API response, if the **name** field entry is **title**, and the **description** field entry is **summary**, then you must update the field names accordingly in the script.\n\n    \\[Omitted image \"ux-client-script.png\"\\] Alt text: UX client script.\n\n5.  Select **Update**.\n\n\n**Parent Topic:**[Configuring a custom API to dynamically fetch supplier news](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/supplier-lifecycle-operations/config-supplier-news-api.md)\n\n**Previous topic:**[Add and configure the Get News data resource in UI Builder](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/supplier-lifecycle-operations/add-config-news-data-resource.md)\n\n**Next topic:**[Relish Integration for Supplier Lifecycle Operations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/supplier-lifecycle-operations/relish-slo-connector.md)\n\n**Related topics**  \n\n\n[Create a REST message for a custom API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/supplier-lifecycle-operations/create-custom-api-rest.md)\n\n[Add and configure the Get News data resource in UI Builder](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/supplier-lifecycle-operations/add-config-news-data-resource.md)\n\n"}}