Add and configure the Get News data resource in UI Builder
Configure the Get News - Composite data resource to display supplier news in the News and Activity section of the Source-to-Pay Workspace.
Before you begin
Create a REST message for a custom API. For more information, see Create a REST message for a custom API.
Role required: admin
About this task
A data resource is the data that a page fetches to display the content in the components. For more information, see Data resources in UI Builder.
Procedure
-
Navigate to All > Now Experience Framework > UI Builder.
-
On the Page Collections tab, do one of the following:
- For Supplier Manager Workspace, select SLM Record page tabs.
- For Source-to-Pay Workspace, select S2P SLM Record page tabs.
-
In the About section, select About default.
-
From the lower-left pane, select the + icon next to the Data and scripts section.
-
In the Select data or script to add panel, select Data resource.
-
In the Select a data resource dialog box, in the search field, enter Get News – Composite.
In the Select a data resource section, you can add and configure data resource instances for your page. If you have any inherited data resources, you see them listed in the Inherited data resource pane but they are read-only. You do not configure inherited data in UI Builder.
-
Select the Get News – Composite tile and then select Add to add it to your page.
-
Select the Configure tab and then do the following:
-
In the When to evaluate this data resource list, select when you want to evoke the data resource.
-
In the News Api list, select the name of the REST message record.
-
In the News Api Method list, select the name of the GET HTTP request method.
-
In the Query Params field, select Edit.
The Query Params dialog box is displayed.
-
On the Edit JSON tab, enter the query parameters, and then select Apply.
-
In the Response Base Path field, enter the top-level object to retrieve information from.
You can also specify nested objects.
-
In the Response Field List field, select Edit.
The Response Field List dialog box is displayed.
-
On the Edit JSON tab, enter the fields that you want to display in the response, and then select Apply. Note: Specifying specific fields enables you to retrieve filtered responses for REST endpoints. The response includes only the requested fields and objects.
-
-
Select Save.
Parent Topic:Configuring a custom API to dynamically fetch supplier news
Previous topic:Create a REST message for a custom API
Next topic:Update the field names in the UX client script
Related topics
---
title: Add and configure the Get News data resource in UI Builder
description: Configure the Get News - Composite data resource to display supplier news in the News and Activity section of the Source-to-Pay Workspace.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/source-to-pay-operations/supplier-lifecycle-operations/add-config-news-data-resource.html
release: australia
product: Supplier Lifecycle Operations
classification: supplier-lifecycle-operations
topic_type: task
last_updated: "2026-03-12"
reading_time_minutes: 2
breadcrumb: [Configuring a custom API to dynamically fetch supplier news, News Integration, Integrate, Supplier Lifecycle Operations, Finance and Supply Chain]
---
# Add and configure the Get News data resource in UI Builder
Configure the Get News - Composite data resource to display supplier news in the News and Activity section of the Source-to-Pay Workspace.
## Before you begin
Create a REST message for a custom API. For more information, see [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).
Role required: admin
## About this task
A data resource is the data that a page fetches to display the content in the components. For more information, see [Data resources in UI Builder](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/application-development/data-resources.md).
## Procedure
1. Navigate to **All** > **Now Experience Framework** > **UI Builder**.
2. On the **Page Collections** tab, do one of the following:
- For Supplier Manager Workspace, select **SLM Record page tabs**.
- For Source-to-Pay Workspace, select **S2P SLM Record page tabs**.
3. In the About section, select **About default**.
4. From the lower-left pane, select the **+** icon next to the Data and scripts section.
5. In the Select data or script to add panel, select **Data resource**.
6. In the Select a data resource dialog box, in the search field, enter **Get News – Composite**.
In the Select a data resource section, you can add and configure data resource instances for your page. If you have any inherited data resources, you see them listed in the Inherited data resource pane but they are read-only. You do not configure inherited data in UI Builder.
7. Select the **Get News – Composite** tile and then select **Add** to add it to your page.
8. Select the **Configure** tab and then do the following:
1. In the **When to evaluate this data resource** list, select when you want to evoke the data resource.
2. In the **News Api** list, select the name of the REST message record.
3. In the **News Api Method** list, select the name of the GET HTTP request method.
4. In the **Query Params** field, select **Edit**.
The Query Params dialog box is displayed.
5. On the **Edit JSON** tab, enter the query parameters, and then select **Apply**.
6. In the **Response Base Path** field, enter the top-level object to retrieve information from.
You can also specify nested objects.
7. In the **Response Field List** field, select **Edit**.
The Response Field List dialog box is displayed.
8. On the **Edit JSON** tab, enter the fields that you want to display in the response, and then select **Apply**.
**Note:** Specifying specific fields enables you to retrieve filtered responses for REST endpoints. The response includes only the requested fields and objects.
9. Select **Save**.
**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)
**Previous topic:**[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)
**Next topic:**[Update the field names in the UX client script](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/supplier-lifecycle-operations/update-client-script.md)
**Related topics**
[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)
[Update the field names in the UX client script](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/source-to-pay-operations/supplier-lifecycle-operations/update-client-script.md)
| title | Add and configure the Get News data resource in UI Builder |
| description | Configure the Get News - Composite data resource to display supplier news in the News and Activity section of the Source-to-Pay Workspace. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/source-to-pay-operations/supplier-lifecycle-operations/add-config-news-data-resource.html |
| release | australia |
| product | Supplier Lifecycle Operations |
| classification | supplier-lifecycle-operations |
| topic_type | task |
| last_updated | 2026-03-12 |
| reading_time_minutes | 2 |
| breadcrumb | Configuring a custom API to dynamically fetch supplier newsNews IntegrationIntegrateSupplier Lifecycle OperationsFinance and Supply Chain |