<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>post UI Builder – Making a Page Dynamic with Data in Next Experience articles</title>
    <link>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/ta-p/2331906</link>
    <description>&lt;TABLE style="background-color: #eeeeee; width: 100%; border-radius: 5px; border-style: hidden; padding: 15px;" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;FONT face="helvetica" size="2"&gt;&amp;nbsp;&lt;A href="https://www.servicenow.com/community/next-experience-articles/next-experience-center-of-excellence/ta-p/2332092" target="_self"&gt;Center of Excellence&lt;/A&gt; / &lt;A href="https://www.servicenow.com/community/next-experience-articles/ui-builder-resources/ta-p/2332009" target="_self"&gt;UI Builder&lt;/A&gt; / &lt;A href="https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=5e4e22f11b08b810ada243f6fe4bcb31" target="_self"&gt;&lt;FONT size="3"&gt;UI Builder Quick Start&lt;/FONT&gt;&lt;/A&gt; / &lt;FONT size="3"&gt;Making a Page Dynamic with Data&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154039i634D0C99E6FDCA83/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="width: 100.077%; height: 100px;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE style="box-sizing: border-box; border-spacing: 0px; width: 783px; border-top: 2px solid #dddddd; height: 2px;" cellspacing="0" cellpadding="0px"&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; height: 10px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 5px; font-size: 18px; width: 782px; text-align: left; height: 10px;"&gt;
&lt;H2&gt;&lt;A id="SECTION_Event_Mapping" target="_blank"&gt;&lt;/A&gt;Event Mapping&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FjBj--hef6LY%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DjBj--hef6LY&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FjBj--hef6LY%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="UIB Quick Start Guide - Event Mapping (Quebec)" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;An event mapping in Next® Experience UI Builder&amp;nbsp;is the process of mapping an event's payload or contextual values to the object or handler that acts on that event. There are four event types: component, page, data resource, and declarative action.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Event mapping is an important process within&amp;nbsp;UI Builder. When you build pages with components, you need those components to perform actions for users. For example, if you add a button component to the page, a button-clicked event must be mapped to an event handler. The event handler performs a button-clicked action when selected by a user. Another example could be adding a data resource such as a form, and having an event handler notify the user when the form successfully loads.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Event Types&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;The event types that are available are based on the component. For example, declarative action events are available for specific components, such Action bar or List components. The following event types are used in&amp;nbsp;UI Builder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You choose a type of event based on what action you want to perform on your page. For example, if you want to bind an action to a component, such as a button loading a web page, you would use a component event. But if you want an event to apply to your whole page, such as adding an alert notification to a page, you use a page event. The following table describes each event type available in&amp;nbsp;UI Builder&amp;nbsp;and some examples of how to use the events.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Component Events&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;A component event is an action you set up for a component. You set up an event handler to configure that component action. The following example shows the process of adding an event handler to apply an action for a button, such as going to a specific web page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Add a button component to your page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;Events&lt;/STRONG&gt;&amp;nbsp;in configuration.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;Link to destination&lt;/STRONG&gt;&amp;nbsp;under&lt;STRONG&gt;&amp;nbsp;Inherited event handlers&lt;/STRONG&gt;. Inherited event handlers come from the parent page or pages that surround your current page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;Select destination&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;External URL&lt;/STRONG&gt;&amp;nbsp;under&amp;nbsp;&lt;STRONG&gt;Select destination&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154025i508B6AC6BCE1C910/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;P&gt;Type the URL in the&amp;nbsp;&lt;STRONG&gt;Chosen route&lt;/STRONG&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;STRONG&gt;External URL&lt;/STRONG&gt;&amp;nbsp;field and click&amp;nbsp;&lt;STRONG&gt;OK&lt;/STRONG&gt;. The URL must be a fully qualified URL. For example: &lt;A href="https://www" target="_blank" rel="noopener"&gt;https://www&lt;/A&gt;...&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154027iAA3F081322C79E61/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Save the page.&lt;/LI&gt;
&lt;LI&gt;Open your page and click the button on your page. You go to the web page that you specified in the URL.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154023iE6EEA53892C83DB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Page Events&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;A page event performs an action for the entire page. You can configure the following page events.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Page event mappings.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;These event mappings are saved on the page definition record, which can be found in the&amp;nbsp;sys_ux_macroponent&amp;nbsp;table.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The source events for these event mappings are&amp;nbsp;&lt;STRONG&gt;Page ready&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;Page property&lt;/STRONG&gt;. They are defined for your page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The available handlers for these event mappings are:&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;User session events&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Page-level events&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;UXR App Shell Data Source&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Client scripts defined on the page&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Operations from local and inherited data resources&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Variant Event mappings.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;These event mappings are saved on the variant record, which can be found in the&amp;nbsp;&lt;SPAN&gt;sys_ux_screen&lt;/SPAN&gt;&amp;nbsp;table.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The source events for these event mappings are any dispatched events defined for your page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The available handlers for these event mappings are canvas-level events, UXR App Shell Data Source, and operations from inherited data resources.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Variant event mappings are used as relays so that events dispatched from components on your page can be relayed up to user session event handlers.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Mappings are created automatically on page save when you have mapped a component's dispatched event to a user session handler. For example, map a&amp;nbsp;&lt;STRONG&gt;Button clicked&lt;/STRONG&gt;&amp;nbsp;event to the canvas-level&amp;nbsp;&lt;STRONG&gt;Link to destination&lt;/STRONG&gt;&amp;nbsp;event. The event creates a dispatched relay event and a variant event mapping when the page is saved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events are saved in the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;table. The page definition record contains references to the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;record.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events serve as source events for variant event mappings.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You can select&amp;nbsp;&lt;STRONG&gt;+Add&lt;/STRONG&gt;&amp;nbsp;to create new dispatched events for your page. Configure the event label to auto-populate the event name and payload fields for your new&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events are most frequently used to create relay event mappings. You can select a&amp;nbsp;&lt;STRONG&gt;Target parent event handler&lt;/STRONG&gt;&amp;nbsp;to model the payload fields after the selected event. You can also manually create payload fields for your dispatched event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Handled Events.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Handled events are saved in the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;table. The page definition record contains references to the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;record.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Handled events serve as source events for Page event mappings.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You can select&amp;nbsp;&lt;STRONG&gt;+Add&lt;/STRONG&gt;&amp;nbsp;to create new dispatched events for your page. Handled events are not modeled after parent event handlers. Payload fields for handled events are created manually. To use an existing handler's payload fields as a template, select a template and edit the fields as necessary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154033i8962E9A7BEB6BE16/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;TABLE style="width: 100.077%; height: 100px;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE style="box-sizing: border-box; border-spacing: 0px; width: 783px; border-top: 2px solid #dddddd; height: 2px;" cellspacing="0" cellpadding="0px"&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; height: 10px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 5px; font-size: 18px; width: 782px; text-align: left; height: 10px;"&gt;
&lt;H2&gt;&lt;A id="SECTION_Work_with_Data_Resources" target="_blank"&gt;&lt;/A&gt;Work with Data Resources&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F82wQ_-4-6oQ%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D82wQ_-4-6oQ&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F82wQ_-4-6oQ%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="UIB Quick Start Guide - Data Resources (Quebec)" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Bind data to your page using data resources to dynamically expose your data from tables and records on your page. You then bind these data properties to components on your page. Data enables you to reuse your components in&amp;nbsp;Next® Experience UI Builder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;What are data resources?&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;A data resource in&amp;nbsp;UI Builder&amp;nbsp;is the data that a page fetches to display content in components. Components use data resources as a way to reuse data and configurations across different experiences, and make the components dynamic on a page. You do not need to build a component from scratch for every page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can bind the configuration properties for components, other data resources, client scripts, client state, and events to these data resources.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;How are data resources used?&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Data resources fetch data from Glide, GraphQL, as well as REST API. Data resources then update the data it fetches and transforms it for use in a component on a page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Both inherited data resource instances and local data resource instances are used in components. Inherited data resources are automatically brought in through your page. Use local data resource instances to add and configure additional data resources. You can specify when the resource gets evaluated, as well as supply input values so the data resource knows how to get the right data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Local data resources&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;You choose local data resources to bring your own data to your page in&amp;nbsp;UI Builder. These data resources can be server data, operations, transforms, or client data like the gForm API. Data resources are organized by the application that owns them. They are further organized by the data resource type like Server data or Transform. For example, there are several data resources in the Global application but only a few in the CSM Workspace application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154031i9A65CCD3E06AAA4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You see different data resources depending on the application you are in. If you choose the&amp;nbsp;&lt;STRONG&gt;Global&lt;/STRONG&gt;&amp;nbsp;application, you see different data resources under&amp;nbsp;&lt;STRONG&gt;Server data&lt;/STRONG&gt;&amp;nbsp;than if you choose&amp;nbsp;&lt;STRONG&gt;CSM Configurable Workspace&lt;/STRONG&gt;&amp;nbsp;application and&amp;nbsp;&lt;STRONG&gt;Server data&lt;/STRONG&gt;. The following table shows the data resources available for the&amp;nbsp;&lt;STRONG&gt;Global&lt;/STRONG&gt;&amp;nbsp;application.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; border-color: #c0c2c4; padding: 0px; width: 100%; height: 100px;" border=".2" width="100%" cellspacing="0px" cellpadding="2"&gt;
&lt;THEAD style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; background-color: #f7f7f7; height: 33px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 8%;"&gt;
&lt;H4&gt;&lt;STRONG&gt;Data Resource&lt;/STRONG&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 40%;"&gt;
&lt;H4&gt;&lt;STRONG&gt;Definition&lt;/STRONG&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="height: 28px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 8%;"&gt;&lt;SPAN&gt;Server data&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The server data resources grab data from a server. They include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Aggregation Query&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Build route map&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Canvas_User_Session_DB_GQL&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dynamic Routing&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;EVAM Data Resource&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Fetch EVAM Data&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Fetch EVAM Metadata&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Filtered Incidents&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GlideRecord Collection Query&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GlideRecord Query&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up Properties&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up Records&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up Users&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up User Preferences&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Search EVAM Data Resource&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Table route map&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 8%;"&gt;&lt;SPAN&gt;Operations&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The Operations data resources let you perform actions. They include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Create Record&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Delete Multiple Records&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Delete Record&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Update Multiple Records&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Update Record&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 8%;"&gt;&lt;SPAN&gt;Transform&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The Transform data resources let you perform transforms. They include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Bind data to component prop&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Canvas_User_Session_DB_Transform&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Data Driven Items&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Data Driven Tabs Transform&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Get Incident Caller Greetings&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Now DateTime&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Substitute Query Variables&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 8%;"&gt;&lt;SPAN&gt;Client data&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The Client data resources include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Service Catalog Glide Form&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;What is data binding&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Use data binding to bind properties to static components to make a dynamic page. When you first add a component to a page, it is static, meaning it does not perform any action. Add data resources to fetch data from the back end of your instance to connect a component to data. For example, a&amp;nbsp;&lt;STRONG&gt;Content tree&lt;/STRONG&gt;&amp;nbsp;component doesn't show any data until you bind it to a data resource that pulls in content. You use field parameters to get data resource properties from the URL, like table name or sysID.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can bind data to a component in the following ways.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Context binding. Use required or optional URL parameters to bind context property fields in the URL. For example, like binding the table name from the URL into your component using @context syntax, such as&amp;nbsp;&lt;SPAN&gt;@context.props.table&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, say that your page has a required field on it called&amp;nbsp;&lt;SPAN&gt;table&lt;/SPAN&gt;. The URL that resolves to your page would then be something like /demo/page/&amp;lt;table-name&amp;gt;. The &amp;lt;table-name&amp;gt; could be&amp;nbsp;&lt;SPAN&gt;incident&lt;/SPAN&gt;. Data could also come from the parent data resources, or be local page properties that don’t map to anything. You bind component properties, other data resource properties, or event payload properties to the page property with a&amp;nbsp;&lt;SPAN&gt;@context.props.table&lt;/SPAN&gt;&amp;nbsp;context binding. If you are using a context binding, make sure that you have supplied a test value on the URL, or a static value for that property in the body configuration of your page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Data resource binding. Add data resources to fetch data from the back end of your instance, such as Client state, GraphQL, or a REST API. Data resources expose properties that you can bind to components and elements on a page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, say that you have a Lookup Record data resource. In a button component, you could use a data expression in the label prop like&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/18498"&gt;@Data&lt;/a&gt;.lookup_record_1.result.number.displayValue&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Component binding. Use component binding to bind one component to another. Say that you have a&amp;nbsp;&lt;STRONG&gt;List Menu&lt;/STRONG&gt;component on the page. It exposes the currently selected list to other components on the page. Other components could get the data by binding to it with an expression such as&amp;nbsp;&lt;SPAN&gt;@elements.list_menu_1.selectedListId&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Client state parameter binding. Use&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/383452"&gt;@STate&lt;/a&gt;&lt;/SPAN&gt; syntax to bind a state property to a client state parameter.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Types of data sources available&amp;nbsp;in UI Builder&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;You can use the following data resource types in&amp;nbsp;UI Builder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; border-color: #c0c2c4; padding: 0px; width: 100%; height: 100px;" border=".2" width="100%" cellspacing="0px" cellpadding="2"&gt;
&lt;THEAD style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; background-color: #f7f7f7; height: 33px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 11.1767%;"&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Data Resource Type&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 35.8233%;"&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="height: 28px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 11.1767%;"&gt;&lt;SPAN&gt;GraphQL&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 35.8233%;"&gt;&lt;SPAN&gt;Executes GraphQL queries and mutations.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;Transform&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;A script transforms input data into another format.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;Client state&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;Client-side data resources. Includes client information, domain-specific state or logic, user preferences, and so on.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;Composite&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;Compose multiple data resources into a single reusable data resource.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;REST&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;Data resources made through REST API requests.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;Inherited versus local data resources&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Inherited data resources come from the parent page or pages that surround your current page. For example, there may be data resources coming from the application shell of your UX application, or data resources from the page surrounding a tab set. Inherited data resources are available for you to use and expose to your page by binding to them in the body properties for your page and mapping them to local page (context) properties. You do not need to add your own data resource if the data you need is already being supplied through inheritance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Local data resource instances are data resources that you add to the page. Think of local data resources as specific data resources you add yourself. You expose local data resources to a component on a page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example, if you are creating a travel request page, you can expose employee records to a list component. Employees can then create travel requests associated with their own employee data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can add a data resource from an application. Or, you can create a local data resource in&amp;nbsp;ServiceNow&amp;nbsp;platform Lists and Forms. You then use&amp;nbsp;UI Builder&amp;nbsp;to expose that data in UI Builder for components on your page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Once the data is available to your page, bind the data to your component so the component can use the data. For example, you can create a data resource for a set of records. You then expose that set of records in&amp;nbsp;UI Builder. Finally, you bind that set of records to a component. You then configure the component to perform an action on that data, such as save a new record.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;Data resource properties&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Data resource properties can be thought of as how the data resource fetches the data. The properties of a data resource get exposed when you add the data resource to&amp;nbsp;UI Builder. The properties define everything about the data resource. For example, tables, conditions, how to order them, and so on.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;Data resource scripts&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;When you add a data resource to your page, you see a preview of the outputs of that data resource if all the required properties have been configured. The output preview is a good way of seeing how the data gets retrieved so you can quickly determine if the data you need is present.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 20:45:36 GMT</pubDate>
    <dc:creator>Community Alums</dc:creator>
    <dc:date>2023-09-13T20:45:36Z</dc:date>
    <item>
      <title>UI Builder – Making a Page Dynamic with Data</title>
      <link>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/ta-p/2331906</link>
      <description>&lt;TABLE style="background-color: #eeeeee; width: 100%; border-radius: 5px; border-style: hidden; padding: 15px;" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;FONT face="helvetica" size="2"&gt;&amp;nbsp;&lt;A href="https://www.servicenow.com/community/next-experience-articles/next-experience-center-of-excellence/ta-p/2332092" target="_self"&gt;Center of Excellence&lt;/A&gt; / &lt;A href="https://www.servicenow.com/community/next-experience-articles/ui-builder-resources/ta-p/2332009" target="_self"&gt;UI Builder&lt;/A&gt; / &lt;A href="https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=5e4e22f11b08b810ada243f6fe4bcb31" target="_self"&gt;&lt;FONT size="3"&gt;UI Builder Quick Start&lt;/FONT&gt;&lt;/A&gt; / &lt;FONT size="3"&gt;Making a Page Dynamic with Data&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: center;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154039i634D0C99E6FDCA83/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="width: 100.077%; height: 100px;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE style="box-sizing: border-box; border-spacing: 0px; width: 783px; border-top: 2px solid #dddddd; height: 2px;" cellspacing="0" cellpadding="0px"&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; height: 10px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 5px; font-size: 18px; width: 782px; text-align: left; height: 10px;"&gt;
&lt;H2&gt;&lt;A id="SECTION_Event_Mapping" target="_blank"&gt;&lt;/A&gt;Event Mapping&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FjBj--hef6LY%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DjBj--hef6LY&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FjBj--hef6LY%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="UIB Quick Start Guide - Event Mapping (Quebec)" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;An event mapping in Next® Experience UI Builder&amp;nbsp;is the process of mapping an event's payload or contextual values to the object or handler that acts on that event. There are four event types: component, page, data resource, and declarative action.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Event mapping is an important process within&amp;nbsp;UI Builder. When you build pages with components, you need those components to perform actions for users. For example, if you add a button component to the page, a button-clicked event must be mapped to an event handler. The event handler performs a button-clicked action when selected by a user. Another example could be adding a data resource such as a form, and having an event handler notify the user when the form successfully loads.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Event Types&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;The event types that are available are based on the component. For example, declarative action events are available for specific components, such Action bar or List components. The following event types are used in&amp;nbsp;UI Builder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You choose a type of event based on what action you want to perform on your page. For example, if you want to bind an action to a component, such as a button loading a web page, you would use a component event. But if you want an event to apply to your whole page, such as adding an alert notification to a page, you use a page event. The following table describes each event type available in&amp;nbsp;UI Builder&amp;nbsp;and some examples of how to use the events.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Component Events&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;A component event is an action you set up for a component. You set up an event handler to configure that component action. The following example shows the process of adding an event handler to apply an action for a button, such as going to a specific web page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Add a button component to your page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;Events&lt;/STRONG&gt;&amp;nbsp;in configuration.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;Link to destination&lt;/STRONG&gt;&amp;nbsp;under&lt;STRONG&gt;&amp;nbsp;Inherited event handlers&lt;/STRONG&gt;. Inherited event handlers come from the parent page or pages that surround your current page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;Select destination&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;STRONG&gt;External URL&lt;/STRONG&gt;&amp;nbsp;under&amp;nbsp;&lt;STRONG&gt;Select destination&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154025i508B6AC6BCE1C910/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;P&gt;Type the URL in the&amp;nbsp;&lt;STRONG&gt;Chosen route&lt;/STRONG&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;STRONG&gt;External URL&lt;/STRONG&gt;&amp;nbsp;field and click&amp;nbsp;&lt;STRONG&gt;OK&lt;/STRONG&gt;. The URL must be a fully qualified URL. For example: &lt;A href="https://www" target="_blank" rel="noopener"&gt;https://www&lt;/A&gt;...&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154027iAA3F081322C79E61/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Save the page.&lt;/LI&gt;
&lt;LI&gt;Open your page and click the button on your page. You go to the web page that you specified in the URL.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154023iE6EEA53892C83DB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Page Events&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;A page event performs an action for the entire page. You can configure the following page events.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Page event mappings.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;These event mappings are saved on the page definition record, which can be found in the&amp;nbsp;sys_ux_macroponent&amp;nbsp;table.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The source events for these event mappings are&amp;nbsp;&lt;STRONG&gt;Page ready&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;Page property&lt;/STRONG&gt;. They are defined for your page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The available handlers for these event mappings are:&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;User session events&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Page-level events&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;UXR App Shell Data Source&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Client scripts defined on the page&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Operations from local and inherited data resources&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Variant Event mappings.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;These event mappings are saved on the variant record, which can be found in the&amp;nbsp;&lt;SPAN&gt;sys_ux_screen&lt;/SPAN&gt;&amp;nbsp;table.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The source events for these event mappings are any dispatched events defined for your page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The available handlers for these event mappings are canvas-level events, UXR App Shell Data Source, and operations from inherited data resources.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Variant event mappings are used as relays so that events dispatched from components on your page can be relayed up to user session event handlers.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Mappings are created automatically on page save when you have mapped a component's dispatched event to a user session handler. For example, map a&amp;nbsp;&lt;STRONG&gt;Button clicked&lt;/STRONG&gt;&amp;nbsp;event to the canvas-level&amp;nbsp;&lt;STRONG&gt;Link to destination&lt;/STRONG&gt;&amp;nbsp;event. The event creates a dispatched relay event and a variant event mapping when the page is saved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events are saved in the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;table. The page definition record contains references to the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;record.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events serve as source events for variant event mappings.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You can select&amp;nbsp;&lt;STRONG&gt;+Add&lt;/STRONG&gt;&amp;nbsp;to create new dispatched events for your page. Configure the event label to auto-populate the event name and payload fields for your new&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dispatched events are most frequently used to create relay event mappings. You can select a&amp;nbsp;&lt;STRONG&gt;Target parent event handler&lt;/STRONG&gt;&amp;nbsp;to model the payload fields after the selected event. You can also manually create payload fields for your dispatched event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Handled Events.&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Handled events are saved in the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;table. The page definition record contains references to the&amp;nbsp;&lt;SPAN&gt;sys_ux_event&lt;/SPAN&gt;&amp;nbsp;record.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Handled events serve as source events for Page event mappings.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;You can select&amp;nbsp;&lt;STRONG&gt;+Add&lt;/STRONG&gt;&amp;nbsp;to create new dispatched events for your page. Handled events are not modeled after parent event handlers. Payload fields for handled events are created manually. To use an existing handler's payload fields as a template, select a template and edit the fields as necessary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154033i8962E9A7BEB6BE16/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;TABLE style="width: 100.077%; height: 100px;"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="width: 100%;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;TABLE style="box-sizing: border-box; border-spacing: 0px; width: 783px; border-top: 2px solid #dddddd; height: 2px;" cellspacing="0" cellpadding="0px"&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; height: 10px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 5px; font-size: 18px; width: 782px; text-align: left; height: 10px;"&gt;
&lt;H2&gt;&lt;A id="SECTION_Work_with_Data_Resources" target="_blank"&gt;&lt;/A&gt;Work with Data Resources&lt;/H2&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F82wQ_-4-6oQ%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D82wQ_-4-6oQ&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F82wQ_-4-6oQ%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="UIB Quick Start Guide - Data Resources (Quebec)" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Bind data to your page using data resources to dynamically expose your data from tables and records on your page. You then bind these data properties to components on your page. Data enables you to reuse your components in&amp;nbsp;Next® Experience UI Builder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;What are data resources?&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;A data resource in&amp;nbsp;UI Builder&amp;nbsp;is the data that a page fetches to display content in components. Components use data resources as a way to reuse data and configurations across different experiences, and make the components dynamic on a page. You do not need to build a component from scratch for every page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can bind the configuration properties for components, other data resources, client scripts, client state, and events to these data resources.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;How are data resources used?&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Data resources fetch data from Glide, GraphQL, as well as REST API. Data resources then update the data it fetches and transforms it for use in a component on a page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Both inherited data resource instances and local data resource instances are used in components. Inherited data resources are automatically brought in through your page. Use local data resource instances to add and configure additional data resources. You can specify when the resource gets evaluated, as well as supply input values so the data resource knows how to get the right data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Local data resources&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;You choose local data resources to bring your own data to your page in&amp;nbsp;UI Builder. These data resources can be server data, operations, transforms, or client data like the gForm API. Data resources are organized by the application that owns them. They are further organized by the data resource type like Server data or Transform. For example, there are several data resources in the Global application but only a few in the CSM Workspace application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154031i9A65CCD3E06AAA4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You see different data resources depending on the application you are in. If you choose the&amp;nbsp;&lt;STRONG&gt;Global&lt;/STRONG&gt;&amp;nbsp;application, you see different data resources under&amp;nbsp;&lt;STRONG&gt;Server data&lt;/STRONG&gt;&amp;nbsp;than if you choose&amp;nbsp;&lt;STRONG&gt;CSM Configurable Workspace&lt;/STRONG&gt;&amp;nbsp;application and&amp;nbsp;&lt;STRONG&gt;Server data&lt;/STRONG&gt;. The following table shows the data resources available for the&amp;nbsp;&lt;STRONG&gt;Global&lt;/STRONG&gt;&amp;nbsp;application.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; border-color: #c0c2c4; padding: 0px; width: 100%; height: 100px;" border=".2" width="100%" cellspacing="0px" cellpadding="2"&gt;
&lt;THEAD style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; background-color: #f7f7f7; height: 33px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 8%;"&gt;
&lt;H4&gt;&lt;STRONG&gt;Data Resource&lt;/STRONG&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 40%;"&gt;
&lt;H4&gt;&lt;STRONG&gt;Definition&lt;/STRONG&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="height: 28px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 8%;"&gt;&lt;SPAN&gt;Server data&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The server data resources grab data from a server. They include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Aggregation Query&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Build route map&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Canvas_User_Session_DB_GQL&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Dynamic Routing&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;EVAM Data Resource&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Fetch EVAM Data&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Fetch EVAM Metadata&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Filtered Incidents&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GlideRecord Collection Query&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GlideRecord Query&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up Properties&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up Records&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up Users&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Look Up User Preferences&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Search EVAM Data Resource&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Table route map&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 8%;"&gt;&lt;SPAN&gt;Operations&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The Operations data resources let you perform actions. They include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Create Record&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Delete Multiple Records&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Delete Record&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Update Multiple Records&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Update Record&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 8%;"&gt;&lt;SPAN&gt;Transform&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The Transform data resources let you perform transforms. They include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Bind data to component prop&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Canvas_User_Session_DB_Transform&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Data Driven Items&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Data Driven Tabs Transform&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Get Incident Caller Greetings&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Now DateTime&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Substitute Query Variables&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 8%;"&gt;&lt;SPAN&gt;Client data&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 40%;"&gt;
&lt;P&gt;&lt;SPAN&gt;The Client data resources include the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Service Catalog Glide Form&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;What is data binding&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Use data binding to bind properties to static components to make a dynamic page. When you first add a component to a page, it is static, meaning it does not perform any action. Add data resources to fetch data from the back end of your instance to connect a component to data. For example, a&amp;nbsp;&lt;STRONG&gt;Content tree&lt;/STRONG&gt;&amp;nbsp;component doesn't show any data until you bind it to a data resource that pulls in content. You use field parameters to get data resource properties from the URL, like table name or sysID.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can bind data to a component in the following ways.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Context binding. Use required or optional URL parameters to bind context property fields in the URL. For example, like binding the table name from the URL into your component using @context syntax, such as&amp;nbsp;&lt;SPAN&gt;@context.props.table&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, say that your page has a required field on it called&amp;nbsp;&lt;SPAN&gt;table&lt;/SPAN&gt;. The URL that resolves to your page would then be something like /demo/page/&amp;lt;table-name&amp;gt;. The &amp;lt;table-name&amp;gt; could be&amp;nbsp;&lt;SPAN&gt;incident&lt;/SPAN&gt;. Data could also come from the parent data resources, or be local page properties that don’t map to anything. You bind component properties, other data resource properties, or event payload properties to the page property with a&amp;nbsp;&lt;SPAN&gt;@context.props.table&lt;/SPAN&gt;&amp;nbsp;context binding. If you are using a context binding, make sure that you have supplied a test value on the URL, or a static value for that property in the body configuration of your page.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Data resource binding. Add data resources to fetch data from the back end of your instance, such as Client state, GraphQL, or a REST API. Data resources expose properties that you can bind to components and elements on a page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, say that you have a Lookup Record data resource. In a button component, you could use a data expression in the label prop like&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/18498"&gt;@Data&lt;/a&gt;.lookup_record_1.result.number.displayValue&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Component binding. Use component binding to bind one component to another. Say that you have a&amp;nbsp;&lt;STRONG&gt;List Menu&lt;/STRONG&gt;component on the page. It exposes the currently selected list to other components on the page. Other components could get the data by binding to it with an expression such as&amp;nbsp;&lt;SPAN&gt;@elements.list_menu_1.selectedListId&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Client state parameter binding. Use&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/383452"&gt;@STate&lt;/a&gt;&lt;/SPAN&gt; syntax to bind a state property to a client state parameter.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Types of data sources available&amp;nbsp;in UI Builder&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;You can use the following data resource types in&amp;nbsp;UI Builder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; border-color: #c0c2c4; padding: 0px; width: 100%; height: 100px;" border=".2" width="100%" cellspacing="0px" cellpadding="2"&gt;
&lt;THEAD style="box-sizing: border-box;"&gt;
&lt;TR style="box-sizing: border-box; background-color: #f7f7f7; height: 33px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 11.1767%;"&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Data Resource Type&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 0px; height: 33px; width: 35.8233%;"&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY style="box-sizing: border-box;"&gt;
&lt;TR style="height: 28px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 11.1767%;"&gt;&lt;SPAN&gt;GraphQL&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 28px; width: 35.8233%;"&gt;&lt;SPAN&gt;Executes GraphQL queries and mutations.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;Transform&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;A script transforms input data into another format.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;Client state&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;Client-side data resources. Includes client information, domain-specific state or logic, user preferences, and so on.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;Composite&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;Compose multiple data resources into a single reusable data resource.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 23px;"&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 11.1767%;"&gt;&lt;SPAN&gt;REST&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="box-sizing: border-box; padding: 2px; height: 23px; width: 35.8233%;"&gt;&lt;SPAN&gt;Data resources made through REST API requests.&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;Inherited versus local data resources&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Inherited data resources come from the parent page or pages that surround your current page. For example, there may be data resources coming from the application shell of your UX application, or data resources from the page surrounding a tab set. Inherited data resources are available for you to use and expose to your page by binding to them in the body properties for your page and mapping them to local page (context) properties. You do not need to add your own data resource if the data you need is already being supplied through inheritance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Local data resource instances are data resources that you add to the page. Think of local data resources as specific data resources you add yourself. You expose local data resources to a component on a page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example, if you are creating a travel request page, you can expose employee records to a list component. Employees can then create travel requests associated with their own employee data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can add a data resource from an application. Or, you can create a local data resource in&amp;nbsp;ServiceNow&amp;nbsp;platform Lists and Forms. You then use&amp;nbsp;UI Builder&amp;nbsp;to expose that data in UI Builder for components on your page.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Once the data is available to your page, bind the data to your component so the component can use the data. For example, you can create a data resource for a set of records. You then expose that set of records in&amp;nbsp;UI Builder. Finally, you bind that set of records to a component. You then configure the component to perform an action on that data, such as save a new record.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;Data resource properties&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Data resource properties can be thought of as how the data resource fetches the data. The properties of a data resource get exposed when you add the data resource to&amp;nbsp;UI Builder. The properties define everything about the data resource. For example, tables, conditions, how to order them, and so on.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;Data resource scripts&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;When you add a data resource to your page, you see a preview of the outputs of that data resource if all the required properties have been configured. The output preview is a good way of seeing how the data gets retrieved so you can quickly determine if the data you need is present.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 20:45:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/ta-p/2331906</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-09-13T20:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: UI Builder – Making a Page Dynamic with Data</title>
      <link>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/tac-p/2331907#M15</link>
      <description>&lt;P&gt;Have you been able to link to an external destination in the same window? Mine keeps opening up in a new window and this is not the requirement I was given.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 18:48:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/tac-p/2331907#M15</guid>
      <dc:creator>jcarpentier</dc:creator>
      <dc:date>2021-06-09T18:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: UI Builder – Making a Page Dynamic with Data</title>
      <link>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/tac-p/2552230#M461</link>
      <description>&lt;P&gt;Hot on the heels of Mobile app builder and Flow designer we have another wonderful bloated, and over-engineered Next Experience application by ServiceNow.&amp;nbsp; There's a resource problem, and this is ServiceNow's solution to overcome it by making UI builder so complex one needs to be a web developer to even begin to understand it.&amp;nbsp; And that's after one battles the drag-and-drop "ability" without breaking the page layout entirely.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;And I know I'm not the only one feeling this way towards SN approach to this direction of "development" apps.&amp;nbsp; Developers can't stand them and if these are meant to solve the retention of resources and the lack of skills in the industry this couldn't be further from helping.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Another disaster.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 01:45:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/tac-p/2552230#M461</guid>
      <dc:creator>scottl</dc:creator>
      <dc:date>2023-05-04T01:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: UI Builder – Making a Page Dynamic with Data</title>
      <link>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/tac-p/2692340#M608</link>
      <description>&lt;P&gt;Date-time component not rendering on UI is this bug or the component still not published to use?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:58:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/next-experience-articles/ui-builder-making-a-page-dynamic-with-data/tac-p/2692340#M608</guid>
      <dc:creator>hreddy</dc:creator>
      <dc:date>2023-10-05T09:58:38Z</dc:date>
    </item>
  </channel>
</rss>

