{"id":28853,"date":"2017-11-08T13:13:16","date_gmt":"2017-11-08T05:13:16","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=28853"},"modified":"2024-10-23T14:21:06","modified_gmt":"2024-10-23T06:21:06","slug":"text-input","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-input\/","title":{"rendered":"Text Input"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.5.2 and later of IFS OI Explorer.<\/p>\n<h2 class=\"page-subheading\">Overview<\/h2>\n<p class=\"intro-text\">When a user types text or a number into a Text Input, the associated variable is updated. This variable can be used to change the data displayed on the page.\u00a0If the variable is updated from another part of the page (for example, in the Default Value), then this appears in the control; otherwise either the hint text appears, as shown below, or if there is no hint text then the words 'Text Input...' appear.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/image002.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28863\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/image002.png\" alt=\"\" width=\"204\" height=\"67\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/image002.png 204w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/image002-150x49.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/image002-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/image002-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/image002-48x16.png 48w\" sizes=\"auto, (max-width: 204px) 100vw, 204px\" \/><\/a><\/p>\n<p class=\"intro-text\">The Text Input's value is retained in snapshots and page links.<\/p>\n<p class=\"intro-text\">The primary purpose of a Text Input is to enable a user to filter a dataset query by typing in text or a number which is then used as a variable parameter to a dataset query. This is covered in the tutorials.<\/p>\n<p class=\"left-bar-p2blue\">Related: <a title=\"Using the Text Input\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/using-the-page-controls\/using-the-text-input\/\">Using the Text Input<\/a>\u00a0in display mode, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/variables\/\">Variables<\/a> in Explorer<\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"page-subheading\">Properties of the Text Input<\/h2>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Control-1.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29377 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Control-1.png\" alt=\"\" width=\"705\" height=\"360\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Control-1.png 705w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Control-1-150x77.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Control-1-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Control-1-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Control-1-48x25.png 48w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>1. Variable Name<\/strong>:\u00a0Select a Text or Number variable. In display mode, the user types into the Text Input control to update the selected variable. This variable can be used elsewhere on the page, or as a dataset query parameter.<\/p>\n<p class=\"intro-text\"><strong>2. Hint Text<\/strong>: Optionally add a hint, which appears over the text input in display mode, when the user's mouse hovers over it. This is also displayed in the text box if the Variable Name has no value.<\/p>\n<p class=\"intro-text\"><strong>3. Style<\/strong>: Select a suitable style from the drop-down list (no styles are available in the example).<\/p>\n<p class=\"intro-text\"><strong>4. Alignment<\/strong>: Click on one of the boxes to override the selected style's alignment.<\/p>\n<p class=\"left-bar-p2blue\">Related: <a title=\"Text Input Styles\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/explorer-styles\/styling-controls\/\">Styling Text Input controls<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"page-subheading\">Tutorial 1<\/h2>\n<p class=\"note\">If you're unfamiliar with the process of building pages, read the article\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-create-your-first-page\/building-an-explorer-page\/\">Building an Explorer Page<\/a>.<\/p>\n<p class=\"intro-text\">In this tutorial we will use the Text Input component to allow the user to search a column (DowntimeComments) in a dataset. To achieve this, we'll add a Text Input component, and configure it to update a variable used as a parameter in a dataset query.<\/p>\n<p class=\"intro-text\">Next, we'll add a data table component that uses the dataset query, and a text label to describe the table.<\/p>\n<p class=\"intro-text\">Finally, in <em>Display Mode<\/em>, we will demonstrate how to limit the dataset query result set by typing some text into the Text Input control. Note that this functionality is specific to this dataset, although the principle can be applied to other datasets. In this example, the result set will contain only rows where the DowntimeComments field contains part or all of the text that the user enters into the Text Input field.<\/p>\n<p class=\"left-bar\"><strong>Note<\/strong>: This tutorial uses the <em>Sample Data <\/em> datasource and datasets that can optionally be made available\u00a0during initial installation and setup. If you don't have access to this data, you will need to adjust the configuration to suit your data at your site.<\/p>\n<div id=\"attachment_29234\" style=\"width: 555px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-1.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-29234\" class=\"wp-image-29234 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-1.png\" alt=\"\" width=\"545\" height=\"274\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-1.png 545w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-1-150x75.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-1-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-1-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-1-48x24.png 48w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><\/a><p id=\"caption-attachment-29234\" class=\"wp-caption-text\">Filtering a dataset to limit the rows returned to the data table<\/p><\/div>\n<p class=\"intro-text\">There are four steps in this tutorial:<\/p>\n<ul class=\"intro-text\">\n<li><a href=\"#Step_1_Prepare_the_Tutorial_Page\">Step 1<\/a>. Prepare the new tutorial page.<\/li>\n<li><a href=\"#Step_2_Add_a_new_Default_Value\">Step 2<\/a>. Add a new default value.<\/li>\n<li><a href=\"#Step_3_Add_and_Configure_a_Text_Input_Component\">Step 3<\/a>. Add and configure a text input component.<\/li>\n<li><a href=\"#Step_4_Add_and_Configure_a_Data_Table_and_a_Text_Label\">Step 4<\/a>. Add and configure a data table, and a text label.<\/li>\n<\/ul>\n<p class=\"intro-text\">First, the dataset is described in the following section.<\/p>\n<h3>About the Dataset used to Populate the Data Table<\/h3>\n<p class=\"note\">The dataset used here is called <strong>DowntimeQuery<\/strong>, with the description: <em>Get all downtime from sample data, for the given period. The user can filter by comments<\/em>. This dataset is in the <strong>Oil and Gas Data<\/strong> datasource.<\/p>\n<pre class=\"wrap:true lang:default decode:true \">declare @DowntimeComments varchar(100)\r\nset @DowntimeComments = ltrim(rtrim(PARAM(DowntimeComments, string)) )\r\nset @DowntimeComments = '%' + @DowntimeComments + '%'\r\n                                \r\nSelect Corporation, [Business Unit], Region, Area, Location, Entity, EntityType, StartDate, EndDate, DowntimeHours,\r\nDowntimeReason, DowntimeComments\r\nFrom SampleData\r\nWhere StartDate Between PARAM(StartDate, datetime) and PARAM(EndDate, datetime)\r\nand DowntimeComments like @DowntimeComments<\/pre>\n<p class=\"intro-text\">We will be configuring the Text Input to update the variable <em>DowntimeComments<\/em> which we will assign to the dataset's <span class=\"code-fragment\">DowntimeComments<\/span> parameter.<\/p>\n<p class=\"note\">To add or update a dataset, you need access to IFS OI Server Management. Read more about <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-dataset-datasource\/how-to-write-a-dataset-query\/\">How to Write a Dataset Query<\/a>.<\/p>\n<h3>Step 1. Prepare the Tutorial Page<\/h3>\n<p class=\"left-bar\"><strong>Note: <\/strong>Before you start the tutorial, <a title=\"Preparing an Explorer page for Tutorials (Precision)\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/preparing-an-explorer-page-for-tutorials-precision\/\">prepare a precision layout page in Studio<\/a> and save it with a suitable name, such as <em>Text Input Tutorial<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29258 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page.png\" alt=\"\" width=\"861\" height=\"577\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page.png 861w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page-768x515.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page-150x101.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-New-Page-48x32.png 48w\" sizes=\"auto, (max-width: 861px) 100vw, 861px\" \/><\/a><\/p>\n<p class=\"intro-text\">1. Drag and drop a <a title=\"Grid Layout\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/grid-layout\/\">Grid Layout<\/a> onto the page, and give it a <strong>Width<\/strong> of about 1000 and a <strong>Height<\/strong> of about 470. Configure it to have three columns and two rows. Resize the first column to <strong>45*<\/strong>, the second to <strong>10*<\/strong>, and the third to <strong>45*<\/strong>. Resize the first row to <strong>20*<\/strong> and the second to <strong>80*<\/strong>.<\/p>\n<p class=\"intro-text\">2. Drop a second grid layout onto the page onto the top left cell, and another onto the top right cell, of the first grid. Configure each of these grid layouts to have one Column, and two Rows.<\/p>\n<p class=\"intro-text\">This is how the page should look at this stage:<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29256 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts.png\" alt=\"\" width=\"1080\" height=\"599\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts.png 1080w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts-768x426.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts-150x83.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts-36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Page-Layouts-48x27.png 48w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/a><\/p>\n<h3>Step 2. Add a new Default Value<\/h3>\n<p class=\"left-bar-p2blue\">Related: <a title=\"Default Values\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/default-value\/\">Default Value<\/a><\/p>\n<p class=\"intro-text\">1. Open the Default Values panel.<\/p>\n<p class=\"intro-text\">2. Click <strong>Add<\/strong> to add a new default value.<\/p>\n<p class=\"intro-text\">3. Type the variable name <em>DowntimeComments<\/em> and keep the <em>Text<\/em> type.<\/p>\n<p class=\"note\"><strong>Note<\/strong>: Leave the default value blank.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-a-default-value-2.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29265 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-a-default-value-2.png\" alt=\"\" width=\"372\" height=\"572\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-a-default-value-2.png 372w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-a-default-value-2-98x150.png 98w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-a-default-value-2-16x24.png 16w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-a-default-value-2-23x36.png 23w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-a-default-value-2-31x48.png 31w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><\/p>\n<h3>Step 3. Add and Configure a Text Input Component<\/h3>\n<p class=\"intro-text\">1. Drag and drop a Text Input component onto the top left grid cell. The Text Input is in the Control <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/controls_sm.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1840\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/controls_sm.png\" alt=\"Controls\" width=\"18\" height=\"16\" \/><\/a>\u00a0group in the Toolbox.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29268 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input.png\" alt=\"\" width=\"750\" height=\"597\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input.png 750w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-150x119.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-36x29.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-48x38.png 48w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Click the Text Input to configure it.<\/strong><\/p>\n<p class=\"intro-text\">2. Select the new variable <em>DowntimeComments<\/em> from the <strong>Variable Name<\/strong> drop-down list.<\/p>\n<p class=\"intro-text\">3. Type <em>Filter by downtime comments<\/em> into the <strong>Hint Text<\/strong> box.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-to-a-variable.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29267 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-to-a-variable.png\" alt=\"\" width=\"372\" height=\"273\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-to-a-variable.png 372w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-to-a-variable-150x110.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-to-a-variable-24x18.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-to-a-variable-36x26.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-to-a-variable-48x35.png 48w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><\/p>\n<h3>Step 4. Add and Configure a Data Table and a Text Label<\/h3>\n<p class=\"left-bar-p2blue\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-label\/\">Text Label<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/data-table\/\">Data Table<\/a><\/p>\n<p class=\"intro-text\">1. Drag and drop a Text Label (from the <strong>Display<\/strong> group in the Toolbox) into the cell below the Text Input.<\/p>\n<p class=\"intro-text\">2. Drag and drop a Data Table (from the <strong>Table<\/strong> group in the Toolbox) into the cell below the Text Label.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-label-and-data-table.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29272 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-label-and-data-table.png\" alt=\"\" width=\"529\" height=\"610\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-label-and-data-table.png 529w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-label-and-data-table-130x150.png 130w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-label-and-data-table-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-label-and-data-table-31x36.png 31w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-label-and-data-table-42x48.png 42w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/a><\/p>\n<p class=\"intro-text\">3. Give the Text Label a <strong>Content<\/strong> of <em>Downtime reasons<\/em> and select a title <strong>Style<\/strong>, such as <em>Page Subtitle<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-Config.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29286 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-Config.png\" alt=\"\" width=\"367\" height=\"305\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-Config.png 367w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-Config-150x125.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-Config-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-Config-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-Config-48x40.png 48w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Give the Data Table's Data property a dataset:<\/strong><\/p>\n<p class=\"intro-text\">4. Assign the <em>Downtime Query<\/em> dataset to the Data Table's <strong>Dataset Query<\/strong>.<\/p>\n<p class=\"intro-text\"><strong>Allocate the Dataset Parameters:<\/strong><\/p>\n<p class=\"intro-text\">5. Select the <em>DowntimeComments<\/em> variable for the <strong>DowntimeComments<\/strong> parameter.<\/p>\n<p class=\"intro-text\">6. Select the <em>endTime<\/em> page variable for the <strong>EndDate<\/strong> parameter.<\/p>\n<p class=\"intro-text\">7. Select the <em>startTime<\/em> page variable for the <strong>StartDate<\/strong> parameter.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-the-dataset-and-parameters.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29271 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-the-dataset-and-parameters.png\" alt=\"\" width=\"369\" height=\"461\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-the-dataset-and-parameters.png 369w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-the-dataset-and-parameters-120x150.png 120w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-the-dataset-and-parameters-19x24.png 19w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-the-dataset-and-parameters-29x36.png 29w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Allocate-the-dataset-and-parameters-38x48.png 38w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Add three table columns:<\/strong><\/p>\n<p class=\"intro-text\">8. First column: <strong>Header<\/strong>: <em>Area<\/em>, <strong>Column<\/strong>: <em>Area<\/em>, <strong>Column Type<\/strong>: <em>Text<\/em>.<\/p>\n<p class=\"intro-text\">9. Second column: <strong>Header<\/strong>: <em>Downtime Reason<\/em>, <strong>Column<\/strong>: <em>DowntimeReason<\/em>, <strong>Column Type<\/strong>: <em>Text<\/em>.<\/p>\n<p class=\"intro-text\">10. Third column: <strong>Header<\/strong>: <em>Downtime Comments<\/em>, <strong>Column<\/strong>: <em>DowntimeComments<\/em>, <strong>Column Type<\/strong>: <em>Text<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-three-columns.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29292 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-three-columns.png\" alt=\"\" width=\"349\" height=\"602\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-three-columns.png 349w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-three-columns-87x150.png 87w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-three-columns-14x24.png 14w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-three-columns-21x36.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-three-columns-28x48.png 28w\" sizes=\"auto, (max-width: 349px) 100vw, 349px\" \/><\/a><\/p>\n<p class=\"intro-text\">You now have a functioning Text Input component, which updates the dataset query each time the user changes the text. The dataset query results appear in the Data Table.<\/p>\n<p class=\"intro-text\"><strong>To try out the new functionality:<\/strong><\/p>\n<ul>\n<li class=\"intro-text\">Click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2896\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" alt=\"preview\" width=\"13\" height=\"14\" \/><\/a> button on the Studio toolbar to see what your page will look like in display mode.<\/li>\n<li class=\"intro-text\">Note the hint that appears when you hover over the control.<\/li>\n<li class=\"intro-text\">Type some text, 'force', into the Text Input box, and note how the data table returns only rows where the downtime comment includes this text.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/In-Display-Mode.png\" rel=\"lightbox-14\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29290 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/In-Display-Mode.png\" alt=\"\" width=\"498\" height=\"239\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/In-Display-Mode.png 498w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/In-Display-Mode-150x72.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/In-Display-Mode-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/In-Display-Mode-36x17.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/In-Display-Mode-48x23.png 48w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"page-subheading\">Tutorial 2<\/h2>\n<p class=\"intro-text\">We're going to update the page from Tutorial 1, by adding another Text Input component. We'll use this one's variable as a parameter to a different dataset query.<\/p>\n<p class=\"intro-text\">Next, we'll add a chart component that uses the dataset query, and a text label to describe the chart.<\/p>\n<p class=\"intro-text\">Finally, in <em>Display Mode<\/em>, we will demonstrate how to limit the dataset query result set by typing a <strong>number<\/strong> into the Text Input control.<\/p>\n<p class=\"left-bar\"><strong>Note<\/strong>: This tutorial uses the <em>Sample Data <\/em> data datasource and datasets that can be optionally made available\u00a0during initial installation and setup. If you don't have access to this data, you will need to adjust the configuration to suit your data at your site.<\/p>\n<div id=\"attachment_29235\" style=\"width: 525px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-2.png\" rel=\"lightbox-15\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-29235\" class=\"wp-image-29235 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-2.png\" alt=\"\" width=\"515\" height=\"541\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-2.png 515w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-2-143x150.png 143w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-2-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-2-34x36.png 34w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-Tutorial-2-46x48.png 46w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/a><p id=\"caption-attachment-29235\" class=\"wp-caption-text\">Filtering the dataset to limit the results that are used by the chart<\/p><\/div>\n<p class=\"intro-text\">There are three steps in this tutorial:<\/p>\n<ul class=\"intro-text\">\n<li><a href=\"#Step_1_Add_a_new_Default_Value\">Step 1<\/a>. Add a new default value.<\/li>\n<li><a href=\"#Step_2_Add_and_Configure_a_Text_Input_Component\">Step 2<\/a>. Add and configure a text input component.<\/li>\n<li><a href=\"#Step_3_Add_and_Configure_a_Chart_and_a_Text_Label\">Step 3<\/a>. Add and configure a bar chart and a text label.<\/li>\n<\/ul>\n<p class=\"intro-text\">First, the dataset is described in the following section.<\/p>\n<h3>About the Dataset used to Populate the Chart<\/h3>\n<p class=\"note\">The dataset used here is called <strong>MiningDowntime<\/strong>, with the description: <em>Select mining downtime data where the downtime hours are greater than input downtime hours<\/em>. This is in the <strong>Mining Data<\/strong> datasource.<\/p>\n<pre class=\"wrap:true lang:default decode:true \">select Entity, \r\n       DowntimeHours\r\n  from SampleData\r\nwhere StartDate = PARAM(StartDate, datetime) \r\n  and DowntimeHours &gt; PARAM(DowntimeHours, integer) \r\n  order by DowntimeHours desc<\/pre>\n<p class=\"note\">To add or update a dataset, you need access to IFS OI Server Management. Read more about <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/connecting-your-data\/creating-a-dataset-datasource\/how-to-write-a-dataset-query\/\">How to Write a Dataset Query<\/a>.<\/p>\n<p class=\"intro-text\">We will be using the Text Input to update the variable <em>DowntimeHours<\/em> which we will assign to the dataset's <span class=\"code-fragment\">DowntimeHours<\/span> parameter.<\/p>\n<h3>Step 1. Add a new Default Value<\/h3>\n<p class=\"left-bar-p2blue\">Related: <a title=\"Default Values\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/default-value\/\">Default Value<\/a>.<\/p>\n<p class=\"intro-text\">1. Open the Default Values panel.<\/p>\n<p class=\"intro-text\">2. Click <strong>Add<\/strong> to add a new default value.<\/p>\n<p class=\"intro-text\">3. Type the variable name <em>DowntimeHours<\/em> and select the <em>Number<\/em> type. Type 0 in the value text box.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Default-Values-2.png\" rel=\"lightbox-16\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29333 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Default-Values-2.png\" alt=\"\" width=\"367\" height=\"632\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Default-Values-2.png 367w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Default-Values-2-87x150.png 87w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Default-Values-2-14x24.png 14w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Default-Values-2-21x36.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Default-Values-2-28x48.png 28w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<h3>Step 2. Add and Configure a Text Input Component<\/h3>\n<p class=\"intro-text\">1. Drag and drop a new Text Input component onto the top right grid cell.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29325 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2.png\" alt=\"\" width=\"1254\" height=\"482\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2.png 1254w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2-768x295.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2-150x58.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Drag-and-Drop-a-Text-Input-2-48x18.png 48w\" sizes=\"auto, (max-width: 1254px) 100vw, 1254px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Click the Text Input to configure it.<\/strong><\/p>\n<p class=\"intro-text\">2. Select the new variable <em>DowntimeHours<\/em> from the <strong>Variable Name<\/strong> drop-down list.<\/p>\n<p class=\"intro-text\">3. Type <em>Filter by downtime hours greater than.. (integer between 0 and 30)<\/em> into the <strong>Hint Text<\/strong> box.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-for-Tut-2.png\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29361 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-for-Tut-2.png\" alt=\"\" width=\"375\" height=\"202\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-for-Tut-2.png 375w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-for-Tut-2-150x81.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-for-Tut-2-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-for-Tut-2-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Input-for-Tut-2-48x26.png 48w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/a><\/p>\n<h3>Step 3. Add and Configure a Chart and a Text Label<\/h3>\n<p class=\"left-bar-p2blue\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/charts\/\">Chart<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/data-table\/\">Data Table<\/a><\/p>\n<p class=\"intro-text\">1. Drag and drop a Text Label (from the <strong>Display<\/strong> group in the Toolbox) into the cell below the new Text Input.<\/p>\n<p class=\"intro-text\">2. Drag and drop a Bar Chart (from the <strong>Chart<\/strong> group in the Toolbox) into the cell below the Text Label.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-text-label-and-chart.png\" rel=\"lightbox-19\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29327 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-text-label-and-chart.png\" alt=\"\" width=\"482\" height=\"500\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-text-label-and-chart.png 482w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-text-label-and-chart-145x150.png 145w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-text-label-and-chart-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-text-label-and-chart-36x36.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Add-text-label-and-chart-46x48.png 46w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><\/a><\/p>\n<p class=\"intro-text\">3. Give the Text Label a <strong>Content<\/strong> of <em>Downtime hours<\/em> and select a title <strong>Style<\/strong>, such as <em>Page Subtitle<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-for-Downtime-Hours.png\" rel=\"lightbox-20\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29328 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-for-Downtime-Hours.png\" alt=\"\" width=\"371\" height=\"303\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-for-Downtime-Hours.png 371w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-for-Downtime-Hours-150x123.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-for-Downtime-Hours-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-for-Downtime-Hours-36x29.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Text-Label-for-Downtime-Hours-48x39.png 48w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Give the Bar Chart's Data property a dataset:<\/strong><\/p>\n<p class=\"intro-text\">4. Assign the <em>MiningDowntime<\/em> dataset to the Chart's <strong>Dataset Query<\/strong>.<\/p>\n<p class=\"intro-text\"><strong>Allocate the Dataset Parameters:<\/strong><\/p>\n<p class=\"intro-text\">5. Select the <em>DowntimeHours<\/em> variable for the <strong>DowntimeHours<\/strong> parameter.<\/p>\n<p class=\"intro-text\">6. Select the <em>startTime<\/em> page variable for the <strong>StartDate<\/strong> parameter.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Chart-Data.png\" rel=\"lightbox-21\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29329 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Chart-Data.png\" alt=\"\" width=\"370\" height=\"417\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Chart-Data.png 370w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Chart-Data-133x150.png 133w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Chart-Data-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Chart-Data-32x36.png 32w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Chart-Data-43x48.png 43w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Configure the Bar Series to show the data:<\/strong><\/p>\n<p class=\"intro-text\">7. Select <em>DataColumn<\/em>, then <em>DowntimeHours<\/em> for the <strong>Y Column<\/strong>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-Y-Column.png\" rel=\"lightbox-22\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29330 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-Y-Column.png\" alt=\"\" width=\"377\" height=\"433\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-Y-Column.png 377w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-Y-Column-131x150.png 131w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-Y-Column-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-Y-Column-31x36.png 31w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-Y-Column-42x48.png 42w\" sizes=\"auto, (max-width: 377px) 100vw, 377px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Configure the X Axis:<\/strong><\/p>\n<p class=\"intro-text\">8. Click <strong>X Axis<\/strong> to expand the X Axis properties, then select <em>DataColumn<\/em>, then <em>Entity<\/em> for the <strong>Column<\/strong>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-X-Axis.png\" rel=\"lightbox-23\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29331 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-X-Axis.png\" alt=\"\" width=\"374\" height=\"410\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-X-Axis.png 374w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-X-Axis-137x150.png 137w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-X-Axis-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-X-Axis-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Configure-X-Axis-44x48.png 44w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><\/a><\/p>\n<p class=\"intro-text\">You now have a second functioning Text Input component, which updates a dataset query each time the user changes the text. The dataset query results appear in the Bar Chart.<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<p class=\"intro-text\"><strong>To try out the new functionality:<\/strong><\/p>\n<ul>\n<li class=\"intro-text\">Click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2896\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" alt=\"preview\" width=\"13\" height=\"14\" \/><\/a> button on the Studio toolbar to see what your page will look like in display mode.<\/li>\n<li class=\"intro-text\">Note the hint that appears when you hover over the control.<\/li>\n<li class=\"intro-text\">Type a number, <strong>20<\/strong>, into the Text Input box, and note how the chart's dataset returns only rows where the downtime hours are greater than this number.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/End-of-Tutorial-2.png\" rel=\"lightbox-25\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29332 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/End-of-Tutorial-2.png\" alt=\"\" width=\"486\" height=\"547\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/End-of-Tutorial-2.png 486w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/End-of-Tutorial-2-133x150.png 133w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/End-of-Tutorial-2-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/End-of-Tutorial-2-32x36.png 32w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/End-of-Tutorial-2-43x48.png 43w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"page-subheading\">Tips and Best Practices<\/h2>\n<p class=\"note\"><strong>Note<\/strong> that if the Text Input's variable is used as a parameter for a dataset query, the dataset query refreshes for every letter or number that the user enters.<\/p>\n<p class=\"intro-text\">Ensure that your dataset queries are optimised to handle frequent updates, if you are using these with a Text Input variable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When a user types text or a number into a Text Input, the associated variable is updated. Read about how to configure a Text Input.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-input\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":29177,"parent":1407,"menu_order":488,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[10],"tags":[701,513,437],"class_list":["post-28853","page","type-page","status-publish","has-post-thumbnail","hentry","category-troubleshooting","tag-inputs","tag-text","tag-variables","Version-4-5-2","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/28853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=28853"}],"version-history":[{"count":2,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/28853\/revisions"}],"predecessor-version":[{"id":67064,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/28853\/revisions\/67064"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/1407"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/29177"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=28853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=28853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=28853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}