{"id":12072,"date":"2017-12-20T13:05:03","date_gmt":"2017-12-20T05:05:03","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=12072"},"modified":"2024-10-23T14:21:07","modified_gmt":"2024-10-23T06:21:07","slug":"text-label","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-label\/","title":{"rendered":"Text Label"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.5.3 and later of IFS OI Explorer. For more, see <a href=\"#Release_History\">Release History<\/a>.<\/p>\n<h2 class=\"page-subheading\">Overview<\/h2>\n<p class=\"overview\">The Text Label displays text on a page.<\/p>\n<p class=\"intro-text\">The diagram below shows a configured text label on a grid, in Studio mode. The text label here has been styled, and includes variable data.<\/p>\n<table class=\"table-toc\">\n<tbody>\n<tr>\n<td><strong>Content<\/strong>:<\/td>\n<td>The text displayed in the label. Any added data is enclosed in curly brackets {} with any formatting applied.<\/td>\n<\/tr>\n<tr>\n<td><strong>Add Data:<\/strong><\/td>\n<td>You can add data to the content. The selected data (fixed or variable) forms part of the content text.<\/td>\n<\/tr>\n<tr>\n<td><strong>Style<\/strong>:<\/td>\n<td>Select one of the available styles from the drop-down list, or keep the default style.\u00a0If you are a Style Administrator,\u00a0you can\u00a0add a new Text Label\u00a0style.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12100\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured.png\" alt=\"\" width=\"750\" height=\"250\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured.png 921w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured-768x256.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured-150x50.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-Configured-48x16.png 48w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<p class=\"left-bar-p2blue\">Related: The <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/using-the-page-controls\/using-labels\/#Text_Label\">Text Label<\/a> in display mode, Adding a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/explorer-styles\/styling-displays\/\">Text Label style<\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Interaction with other Controls<\/h2>\n<p class=\"intro-text\">The Text Label interacts with other controls on the page if it is configured to use variable data from other controls.<\/p>\n<p class=\"left-bar-blue\">Watch the video below to see how the Text Label changes every time the page default <em>endTime<\/em> updates.<\/p>\n\r\n\t<!-- Begin Video.js -->\r\n\t<video id=\"example_video_id_1724015600\" class=\"video-js vjs-default-skin\" width=\"498\" height=\"236\" controls preload=\"auto\" data-setup='[]'>\r\n\t\t<source src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/videos\/ShowCurrentTime.mp4\" type='video\/mp4' \/>\r\n\t\t\r\n\t\t\r\n\t<\/video>\r\n\t<!-- End Video.js -->\r\n\n<p class=\"note\">The page default variable <strong>endTime<\/strong> is embedded as data in the Text Label's <strong>Content<\/strong>. The <strong>endTime<\/strong> variable is refreshed every second by a <em>Current Date\/Time Toggle<\/em> component, until this is switched off.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Tutorial:\u00a0Adding a Text Label with Data<\/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'll add a Text Label component, and add the page default value of <strong>endTime<\/strong>. We'll configure the endTime to use the <strong>Full Date<\/strong> format<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12112 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture.png\" alt=\"\" width=\"378\" height=\"150\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture.png 378w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-150x60.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-48x19.png 48w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/a><\/p>\n<p class=\"note\"><strong>Note: <\/strong>Before you start the tutorial, <a title=\"Preparing an Explorer page for Tutorials\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/preparing-an-explorer-studio-page-for-a-tutorial\/\">prepare a page in Studio.<\/a><\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9318\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page.png\" alt=\"\" width=\"700\" height=\"458\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page.png 1054w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page-768x503.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page-150x98.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Explorer-Page-48x31.png 48w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 1. Add a Text Label to the Page<\/strong><\/p>\n<p class=\"intro-text\">Drag and drop a Text Label component onto a grid cell.\u00a0The Text Label is in the Display <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1844 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/display.png\" alt=\"Display group icon\" width=\"22\" height=\"13\" \/>\u00a0group.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12113\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1.png\" alt=\"\" width=\"1000\" height=\"252\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1.png 1677w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1-768x194.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1-150x38.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1-1280x323.png 1280w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-a-text-Label-1-48x12.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 2. Configure the Text Label<\/strong><\/p>\n<p class=\"intro-text\">In this example we will add <em>Value <\/em>data to the Text Label, by selecting the <em>Values<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9572 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Value-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/> data category.<\/p>\n<p class=\"intro-text\">Click the <strong>Text Label<\/strong> component to configure it:<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td width=\"700\">\n<table>\n<tbody>\n<tr>\n<td width=\"2\">\u00a0<\/td>\n<td width=\"280\"><strong>1. Add Content<\/strong>:<\/td>\n<td width=\"420\"><strong>Content<\/strong> is a combination of text and formatted data. To add text, type it into the edit box. To add data, click <strong>Add Data<\/strong>. See the next section for details on adding content.<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td><strong>2. Select a Style<\/strong>:<\/td>\n<td>In the <strong>Selected Option<\/strong> drop-down list, select <em>Normal Centered<\/em>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\u00a0<\/td>\n<td>&nbsp;<\/td>\n<td><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configure-Text-Label-Overview-a.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12135 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configure-Text-Label-Overview-a.png\" alt=\"\" width=\"353\" height=\"327\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configure-Text-Label-Overview-a.png 353w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configure-Text-Label-Overview-a-150x139.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configure-Text-Label-Overview-a-24x22.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configure-Text-Label-Overview-a-36x33.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configure-Text-Label-Overview-a-48x44.png 48w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"left-bar\"><strong>Adding Content<\/strong><\/p>\n<p class=\"intro-text\"><strong>Content<\/strong> is a combination of text and formatted data. To add text, type it into the edit box. To add data, click <strong>Add Data<\/strong>.<\/p>\n<table style=\"border: 1px solid #cccccc;\">\n<tbody>\n<tr>\n<td>\n<table>\n<tbody>\n<tr>\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"200\"><strong>1. Add Content<\/strong>:<\/td>\n<td width=\"400\">In the <strong>Content<\/strong> edit box, type <em>The current date is: <\/em><\/td>\n<\/tr>\n<tr>\n<td><strong>2. Add Data<\/strong>:<\/td>\n<td>Click <strong>Add Data<\/strong> to add data to the content text.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"400\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-1-2.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12130 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-1-2.png\" alt=\"\" width=\"355\" height=\"329\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-1-2.png 355w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-1-2-150x139.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-1-2-24x22.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-1-2-36x33.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-1-2-48x44.png 48w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<table>\n<tbody>\n<tr>\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"600\">A data panel appears below the <strong>Content<\/strong> edit box.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"400\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Data-Panel.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12195 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Data-Panel.png\" alt=\"\" width=\"296\" height=\"133\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Data-Panel.png 296w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Data-Panel-150x67.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Data-Panel-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Data-Panel-36x16.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Data-Panel-48x22.png 48w\" sizes=\"auto, (max-width: 296px) 100vw, 296px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<table>\n<tbody>\n<tr>\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"200\"><strong>3. Select a data type<\/strong>:<\/td>\n<td width=\"400\">In the <strong>Type<\/strong> drop-down list, select <em>Datetime<\/em>.<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">\u00a0<\/td>\n<td width=\"400\">We're going to select the page default value for <em>endTime<\/em>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"400\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/ADd-content-2-2.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12131 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/ADd-content-2-2.png\" alt=\"\" width=\"355\" height=\"343\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/ADd-content-2-2.png 355w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/ADd-content-2-2-150x145.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/ADd-content-2-2-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/ADd-content-2-2-36x36.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/ADd-content-2-2-48x46.png 48w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<table>\n<tbody>\n<tr>\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"200\"><strong>4. Select the <em>endTime<\/em> variable<\/strong>:<\/td>\n<td width=\"400\">Follow the instructions in <a title=\"Using Value Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/#Using_Value_Data\">Using Value Data<\/a> to add the <em>endTime<\/em> variable.<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td width=\"200\"><strong>Note<\/strong>: For instructions on adding different categories of data (such as Tag or Attribute data), see the section: <a title=\"Options for a Text Label's Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/text-label\/#Options_for_a_Text_Labels_Data\"> Options for a Text Label's Data<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><strong>5. Format the Datetime<\/strong>:<\/td>\n<td>The various types are require text formatting, so that they can form part of the Text Label's <strong>Content<\/strong>. In the <strong>Format<\/strong> drop-down list, select <em>Full Date<\/em>.<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td width=\"200\"><strong>Note<\/strong>: For more about formatting the various data types, see the section: <a title=\"Options for Formatting a Text Label's Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/text-label\/#Options_for_Formatting_a_Text_Labels_Data\"> Options for Formatting a Text Label's Data<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><strong>6. Click Add<\/strong>:<\/td>\n<td>This adds the formatted data to the <strong>Content<\/strong>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"400\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-3-a.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12136 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-3-a.png\" alt=\"\" width=\"355\" height=\"364\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-3-a.png 355w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-3-a-146x150.png 146w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-3-a-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-3-a-36x36.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-content-3-a-48x48.png 48w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px;\">For numerical data (not shown here), choose a <strong>Separator<\/strong> using the check box.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">In preview mode, the Text Label shows the content, including the changing <em>endDate<\/em> date.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12112 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture.png\" alt=\"\" width=\"378\" height=\"150\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture.png 378w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-150x60.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tutorial-Picture-48x19.png 48w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Options for a Text Label's Data<\/h2>\n<p class=\"intro-text\">There are up to five separate data categories that you can choose from, when adding data to a Text Label, depending on the data's <em>Type<\/em>.<\/p>\n<p class=\"intro-text\">Here is the full reference of data categories you can choose from (including the dataset category already covered in the Tutorial).<\/p>\n<p class=\"note\"><strong>Note: <\/strong>You can tab through the different data categories, to configure them. The one that is selected when you add the data remains the configured option. Any other configurations will be lost.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc; border-left: 2px solid #cccccc; border-right: 2px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"750\"><strong>Select a Data Category<\/strong><\/td>\n<td width=\"500\">\u00a0<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc; border-left: 2px solid #cccccc; border-right: 2px solid #cccccc;\">\n<td style=\"padding-left: 10px;\">\n<p><strong>Dataset<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9576 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Dataset-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/> Add dataset (relational) data to your Text Label's Content. <strong>See how: <\/strong><a title=\"Using Dataset Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/#Using_Dataset_Data\">Using Dataset Data<\/a><\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Dataset-Data.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12146 size-medium\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Dataset-Data-267x300.png\" alt=\"\" width=\"267\" height=\"300\" \/><\/a><\/p>\n<\/td>\n<td style=\"padding-left: 10px;\">\n<p><strong>Attribute<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9574 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Attribute-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/> Add attribute data to your Text Label's Content. <strong>See how: <\/strong><a title=\"Using Attribute Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/#Using_Attribute_Data\">Using Attribute Data<\/a><\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Attribute-Data.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12144 size-medium\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Attribute-Data-267x300.png\" alt=\"\" width=\"267\" height=\"300\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc; border-left: 2px solid #cccccc; border-right: 2px solid #cccccc;\">\n<td style=\"padding-left: 10px;\">\n<p><strong>Ad-hoc Calculation<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9575 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Ad-Hoc-Calc-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/> Add ad-hoc calculation data (using tags, calculations and\/or attributes) to your Text Label's Content. <strong>See how: <\/strong><a title=\"Using Ad hoc Calculation Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/#Using_Ad_hoc_Calculation_Data\">Using Ad hoc Calculation Data<\/a><\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Calculation-Data.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12145 size-medium alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Calculation-Data-269x300.png\" alt=\"\" width=\"269\" height=\"300\" \/><\/a><\/p>\n<\/td>\n<td style=\"padding-left: 10px;\">\n<p><strong>Tag<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9573 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/tag-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/> Add tag data to your Text Label's Content. <strong>See how: <\/strong><a title=\"Using Tag Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/#Using_Tag_Data\">Using Tag Data<\/a><\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Tag-Data.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12147 size-medium alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Tag-Data-268x300.png\" alt=\"\" width=\"268\" height=\"300\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc; border-left: 2px solid #cccccc; border-right: 2px solid #cccccc;\">\n<td style=\"padding-left: 10px;\">\n<p><strong>Value<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9572 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Value-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/> Add value data to your Text Label's Content. <strong>See how: <\/strong><a title=\"Using Value Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/#Using_Value_Data\">Using Value Data<\/a><\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Value-Data.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12148 size-medium alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Text-Label-with-Value-Data-264x300.png\" alt=\"\" width=\"264\" height=\"300\" \/><\/a><\/p>\n<\/td>\n<td style=\"padding-left: 10px;\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Options for Formatting a Text Label's Data<\/h2>\n<p class=\"intro-text\">When you add data to a text label, you can choose from various formats.<\/p>\n<p class=\"intro-text\">The available options relate to the data's <em>Type<\/em>:<\/p>\n<ul class=\"intro-text\">\n<li>List Formats<\/li>\n<li>Number Formats<\/li>\n<li>Entity Formats<\/li>\n<li>EntityList Formats<\/li>\n<li>Datetime Formats<\/li>\n<\/ul>\n<p class=\"intro-text\">Text data does not require formatting; nor does the <em>Yes\/No<\/em> type, which just adds the text: 'true' or 'false'<\/p>\n<p class=\"intro-text\">Below are some examples of type formatting.<\/p>\n<p class=\"no-toc-heading\">Datetime Formats<\/p>\n<p class=\"intro-text\">The Datetime type has several formats. Here are the different formats for the date Thur 19\/10\/2017 04:12:16 GMT.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"100\"><strong>Format<\/strong><\/td>\n<td><strong>Result<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Full Date<\/td>\n<td>19 October 2017 04:12<\/td>\n<\/tr>\n<tr>\n<td>Date<\/td>\n<td>19 October 2017<\/td>\n<\/tr>\n<tr>\n<td>Short Date<\/td>\n<td>19\/10\/2017<\/td>\n<\/tr>\n<tr>\n<td>Time<\/td>\n<td>4:12:16 am<\/td>\n<\/tr>\n<tr>\n<td>Month<\/td>\n<td>October<\/td>\n<\/tr>\n<tr>\n<td>Day<\/td>\n<td>19th<\/td>\n<\/tr>\n<tr>\n<td>Hour<\/td>\n<td>4 am<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"no-toc-heading\">Number Formats<\/p>\n<p class=\"intro-text\">The Number type has several formats. Here are some of the results you'll get when you format the number 10,932.5821. The number separator depends on the locale of the user\u2019s browser.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"100\"><strong>Format<\/strong><\/td>\n<td width=\"300\"><strong>Parameter (for example: Separator, Symbol)<\/strong><\/td>\n<td><strong>Result<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Normal<\/td>\n<td>(Separator) selected<\/td>\n<td>10,932.582<\/td>\n<\/tr>\n<tr>\n<td>Currency<\/td>\n<td>(Symbol) $<\/td>\n<td>$10,932.58<\/td>\n<\/tr>\n<tr>\n<td>Scientific<\/td>\n<td>(Decimals) 2<\/td>\n<td>1.09e+4<\/td>\n<\/tr>\n<tr>\n<td>Decimals<\/td>\n<td>(Decimals) 4<\/td>\n<td>10,932.5821<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"no-toc-heading\">Entity and EntityList Formats<\/p>\n<p class=\"intro-text\">The only format here is Display Name.<\/p>\n<p class=\"no-toc-heading\">List Formats<\/p>\n<p class=\"intro-text\">All lists are formatted as Comma Separated. For example, a list: 1, 2, 3 appears in the text label as 1, 2, 3.<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li class=\"overview\">Text Label 4.5.3 (this release)\n<ul class=\"overview\">\n<li>If the text label's data contains tags or calculations that have a digital state set assigned, the matching digital state pair's <em>Name<\/em> is used instead of the <em>Value<\/em> if there is a match. No changes to the Text Label's configuration are required.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul class=\"intro-text\">\n<li><a title=\"Text Label (4.3.1)\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-label\/text-label-4-3-1\/\">Text Label 4.3.1<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A text label displays text on an Explorer display. This article describes how to configure a text label, and applies to versions 4.4 and later of IFS OI Explorer.<\/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-label\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":8,"featured_media":12214,"parent":1407,"menu_order":489,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[29,513,45],"class_list":["post-12072","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-headings","tag-text","tag-titles","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/12072","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=12072"}],"version-history":[{"count":2,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/12072\/revisions"}],"predecessor-version":[{"id":67065,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/12072\/revisions\/67065"}],"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\/12214"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=12072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=12072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=12072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}