{"id":15387,"date":"2016-06-09T11:38:54","date_gmt":"2016-06-09T03:38:54","guid":{"rendered":"http:\/\/localhost\/help\/?p=15387"},"modified":"2017-02-01T11:18:28","modified_gmt":"2017-02-01T03:18:28","slug":"feature-preview-explorer-table-layout","status":"publish","type":"post","link":"https:\/\/oihelp.corporate.ifs.com\/help\/feature-preview-explorer-table-layout\/","title":{"rendered":"Feature Preview: Explorer Table Layout"},"content":{"rendered":"\n<p>Explorer 4.4.1 introduces two controls in Explorer Studio to take your page building to the next level!\u00a0The Hierarchy Navigator and Table Layout (formerly known as Dataset Repeat)\u00a0allow Page Designers to create\u00a0a page control which iterates over\u00a0the children of a node in the hierarchy. In this post, we will go through a tutorial on how to use these new components.<\/p>\n<h2>Step 1 - Configure the\u00a0Hierarchy Navigator<\/h2>\n<p>The aim of this tutorial is to set up a page where a user can choose a field and then the table shows the details of the Wells under that field. We have already configured an <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/entity-selector\/\">Entity Selector<\/a> which is filtered to show entities of type 'TField', as follows:<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/EntitySelector.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15414 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/EntitySelector.png\" alt=\"EntitySelector\" width=\"357\" height=\"441\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/EntitySelector.png 357w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/EntitySelector-121x150.png 121w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/EntitySelector-19x24.png 19w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/EntitySelector-29x36.png 29w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/EntitySelector-39x48.png 39w\" sizes=\"auto, (max-width: 357px) 100vw, 357px\" \/><\/a><\/p>\n<p>We have also defaulted the <strong>selectedEntity<\/strong> to '<em>TField 1<\/em>' and placed a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/time-menu\/\">Time Range Picker<\/a> on the page with default configuration. The\u00a0page looks like this.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15420 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore.png\" alt=\"previewbnefore\" width=\"1335\" height=\"441\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore.png 1335w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore-768x254.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore-150x50.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore-1280x423.png 1280w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/previewbnefore-48x16.png 48w\" sizes=\"auto, (max-width: 1335px) 100vw, 1335px\" \/><\/a><\/p>\n<p>Next, we add a Hierarchy Navigator by selecting the new '<strong>Triggers<\/strong>' button on the Studio tab of the Ribbon.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/triggers.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15418 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/triggers.png\" alt=\"triggers\" width=\"166\" height=\"111\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/triggers.png 166w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/triggers-150x100.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/triggers-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/triggers-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/triggers-48x32.png 48w\" sizes=\"auto, (max-width: 166px) 100vw, 166px\" \/><\/a><\/p>\n<p>And then clicking on <strong>Add<\/strong> next to the Hierarchy Navigators.<\/p>\n<p>We then configure the Hierarchy Navigator as follows.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/HierarchyNavConfig.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15415 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/HierarchyNavConfig.png\" alt=\"HierarchyNavConfig\" width=\"347\" height=\"303\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/HierarchyNavConfig.png 347w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/HierarchyNavConfig-150x131.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/HierarchyNavConfig-24x21.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/HierarchyNavConfig-36x31.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/HierarchyNavConfig-48x42.png 48w\" sizes=\"auto, (max-width: 347px) 100vw, 347px\" \/><\/a><\/p>\n<p>This setup means that the control will work out the children immediately under <strong>selectedEntity<\/strong> in the hierarchy '<em>Test Time Series Hierarchy<\/em>' that match the reporting structure '<em>TestHierarchyReportingStructure<\/em>' (this has been defined in web.config) and populate the variable <strong>childEntities<\/strong>. Essentially, <em>childEntities<\/em> will be populated with all entities of the type <em>TWells<\/em> under <em>TField1<\/em>.<\/p>\n<p>To test the hierarchy navigator, place a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-label\/\">Text Label<\/a> onto the page and configure it to show an Entity List of <em>childEntities<\/em>, like so.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TextLabelConfig.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15417 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TextLabelConfig.png\" alt=\"TextLabelConfig\" width=\"345\" height=\"379\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TextLabelConfig.png 345w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TextLabelConfig-137x150.png 137w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TextLabelConfig-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TextLabelConfig-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TextLabelConfig-44x48.png 44w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/a><\/p>\n<p>You will see if you change the <strong>selectedEntity<\/strong> in the Entity Selector to <em>TField 2<\/em> that it updates the variable.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TestingNavigator.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15416 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TestingNavigator.png\" alt=\"TestingNavigator\" width=\"582\" height=\"243\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TestingNavigator.png 582w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TestingNavigator-150x63.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TestingNavigator-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TestingNavigator-36x15.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TestingNavigator-48x20.png 48w\" sizes=\"auto, (max-width: 582px) 100vw, 582px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Step 2 - Add your Table Layout (Dataset Repeat)<\/h2>\n<p>Delete the Text Label you added in the previous step.<\/p>\n<p>Now we are going to add a Table Layout and select some Time Series Data to iterate over (the control can also iterate over a Dataset). For this scenario we want to do a single point fetch as we only want to iterate over each Entity once (one row per Entity). We want the\u00a0table to show the Oil and Gas Alloc\u00a0for each well (as well as the forecast).<\/p>\n<p>Add the Table Layout to the large\u00a0grid cell. Using the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/\">Data Selector<\/a>, configure the Data for the Table Layout as follows.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TableLayoutConfig-1.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15424 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TableLayoutConfig-1.png\" alt=\"TableLayoutConfig\" width=\"344\" height=\"724\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TableLayoutConfig-1.png 344w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TableLayoutConfig-1-71x150.png 71w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TableLayoutConfig-1-11x24.png 11w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TableLayoutConfig-1-17x36.png 17w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/TableLayoutConfig-1-23x48.png 23w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><\/a><\/p>\n<p>Notice that we have set both\u00a0the Start Time and End Time parameters to be <em>endTime<\/em>, which\u00a0will create a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/single-point-fetch-vs-range-fetch\/\">Single Point Fetch<\/a>.<\/p>\n<p>You will also notice that the Table created some columns based off the original fetch as placeholders. For the purpose of this tutorial, delete all columns except for the '<em>Entity<\/em>'\u00a0column.<\/p>\n<p>Now, add a new column with the title <strong>Oil Alloc<\/strong>.\u00a0<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/oilalloc.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15426 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/oilalloc.png\" alt=\"oilalloc\" width=\"333\" height=\"149\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/oilalloc.png 333w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/oilalloc-150x67.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/oilalloc-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/oilalloc-36x16.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/oilalloc-48x21.png 48w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><\/p>\n<p>We want to use a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/data-label\/\">Data Label<\/a> which shows the <em>Oil Alloc<\/em> column from the Dataset, so on the canvas, drag and drop a Data Label into the new column:<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15427 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped.png\" alt=\"DataLabelDropped\" width=\"907\" height=\"412\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped.png 907w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped-768x349.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped-150x68.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped-36x16.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/DataLabelDropped-48x22.png 48w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/a><\/p>\n<p>Using the Data Selector, configure the Data Label's <strong>Value\u00a0<\/strong>to look at the '<em>[Oil Producing Well]:Alloc Oil!Actual<\/em>' column. You will see that a <strong>new button<\/strong> <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datasetrepeat-icon.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15519\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datasetrepeat-icon.png\" alt=\"Table Layout dataset repeat icon\" width=\"15\" height=\"14\" \/><\/a>\u00a0is available next to the Variable icon. This button allows you to get data in the context of the Table Layout - from those attributes specified in the Table Layout component.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datalabelconfig-2.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15430 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datalabelconfig-2.png\" alt=\"datalabelconfig\" width=\"375\" height=\"273\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datalabelconfig-2.png 375w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datalabelconfig-2-150x109.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datalabelconfig-2-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datalabelconfig-2-36x26.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/datalabelconfig-2-48x35.png 48w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/a><\/p>\n<p>So let's recap what we've done so far.<\/p>\n<ul>\n<li>We made a table which creates a table row for each row of some data.<\/li>\n<li>We then added columns\u00a0in\u00a0which we can then place any control into (essentially it's created a layout).<\/li>\n<li>We then added a Data Label which used the data from the Table Layout - more to follow on this later.<\/li>\n<\/ul>\n<p>Repeat the above steps for the remaining attributes you configured for the Table Layout's data. You will end up with a table which looks like this (we also applied a style to the table to make it look nicer).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15433 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable.png\" alt=\"sprucedtable\" width=\"1432\" height=\"466\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable.png 1432w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable-768x250.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable-150x49.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable-1280x417.png 1280w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/sprucedtable-48x16.png 48w\" sizes=\"auto, (max-width: 1432px) 100vw, 1432px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>So what is this good for?<\/h2>\n<p>So at this point you might be saying \"you have made a table control..so what?\"<\/p>\n<p>Well, this control isn't just a table control, it's something quite different and powerful. Let's see just how powerful!<\/p>\n<p>&nbsp;<\/p>\n<h2>Adding a Rich Control<\/h2>\n<p>The Table Layout can handle rich controls\u00a0that\u00a0can create a visualization from multiple pieces of data.<\/p>\n<p>In the Table Layout component, add a new column called '<strong>Oil KPI<\/strong>' and then add an <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/image\/\">Image<\/a> component\u00a0to it.\u00a0Configure it as follows:<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/Imagepart2.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15437 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/Imagepart2.png\" alt=\"Imagepart2\" width=\"363\" height=\"581\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/Imagepart2.png 363w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/Imagepart2-94x150.png 94w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/Imagepart2-15x24.png 15w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/Imagepart2-22x36.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/Imagepart2-30x48.png 30w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/a><\/p>\n<p>We added the default image '<em>https:\/\/cadrondev01.petroleumplace.com\/images\/cross.png<\/em>' and set the Display to 'CONTAIN' to resize the image to the cell.<\/p>\n<p>Then we added an extra image '<em>https:\/\/cadrondev01.petroleumplace.com\/images\/tick.png<\/em>' to display when the <strong>Oil Alloc<\/strong> is greater than the <strong>Oil Alloc Forecast<\/strong>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15438 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable.png\" alt=\"fulltable\" width=\"1039\" height=\"238\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable.png 1039w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable-768x176.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable-150x34.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/fulltable-48x11.png 48w\" sizes=\"auto, (max-width: 1039px) 100vw, 1039px\" \/><\/a><\/p>\n<p>How\u00a0cool is that, we've just added a dynamic visualisation!<\/p>\n<p>&nbsp;<\/p>\n<h2>Adding a Sparkline<\/h2>\n<p>We now want to show you how to add another cool\u00a0control \u2014\u00a0the <em>sparkline<\/em> (fancy name for a mini chart deprived of options). What we will do here is create a Chart in a column....but instead of using the data from the Table Layout for the control...we will use some different data that uses a range fetch. However, we also want to use the context from the Table Layout to filter that data to the appropriate rows.<\/p>\n<p>Let's do this now...<\/p>\n<p>Add a new column called <em>Sparkline<\/em>.<\/p>\n<p>Drag and drop a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/charts\/\">Chart<\/a> into the column.<\/p>\n<p>Configure the chart to fetch Data for <strong>childEntities<\/strong> (just like the Table Layout did) but this time we just want the '<strong>Alloc Oil<\/strong>' attribute and we want it for a range, so leave the time variables at <em>startTime<\/em> and <em>endTime<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart1.png\" rel=\"lightbox-14\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15439 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart1.png\" alt=\"chart1\" width=\"345\" height=\"682\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart1.png 345w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart1-76x150.png 76w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart1-12x24.png 12w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart1-18x36.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart1-24x48.png 24w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/a><\/p>\n<p>Now, configure the X Axis to use the <strong>Timestamp<\/strong> column, and <em>hide<\/em> the axis itself (Visible is not selected).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/xaxis.png\" rel=\"lightbox-15\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15440 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/xaxis.png\" alt=\"xaxis\" width=\"325\" height=\"383\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/xaxis.png 325w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/xaxis-127x150.png 127w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/xaxis-20x24.png 20w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/xaxis-31x36.png 31w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/xaxis-41x48.png 41w\" sizes=\"auto, (max-width: 325px) 100vw, 325px\" \/><\/a><\/p>\n<p>Now also hide the Left Y Axis and the gridlines.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/yaxis.png\" rel=\"lightbox-16\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15441 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/yaxis.png\" alt=\"yaxis\" width=\"321\" height=\"394\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/yaxis.png 321w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/yaxis-122x150.png 122w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/yaxis-20x24.png 20w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/yaxis-29x36.png 29w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/yaxis-39x48.png 39w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/a><\/p>\n<p>Now add a Line Series showing the '<strong>Alloc Oil<\/strong>' column, and use the Entity from the Table Row context to filter for this row in the chart, as follows.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart2.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15442 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart2.png\" alt=\"chart2\" width=\"337\" height=\"306\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart2.png 337w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart2-150x136.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart2-24x22.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart2-36x33.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/chart2-48x44.png 48w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/a><\/p>\n<p>Notice that the Y Column is set to show the Data column for <strong>Oil Alloc<\/strong>, the Filter Column is set to the <strong>Entity<\/strong> column and the Filter Value is set to the Table <strong>Context's<\/strong> Entity column.<\/p>\n<p>Modify the Sample Interval for the Chart to 86400 (1 day) to get a smoother chart.<\/p>\n<p>Here's the final result \u2014\u00a0a data table that also contains other interactive controls. \u00a0Nice.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/completed.png\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15444 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/completed.png\" alt=\"completed\" width=\"747\" height=\"275\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/completed.png 747w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/completed-150x55.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/completed-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/completed-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/06\/completed-48x18.png 48w\" sizes=\"auto, (max-width: 747px) 100vw, 747px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Explorer 4.4.1 introduces two controls in Explorer Studio to take your page building to the next level! The Hierarchy Navigator and Table Layout (formerly known as Dataset Repeat) allow Page Designers to create a page control which iterates over the children of a node in the hierarchy. In this post, we will go through a tutorial on how to use these new components.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/feature-preview-explorer-table-layout\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":15520,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[2],"tags":[],"class_list":["post-15387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/posts\/15387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/post"}],"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=15387"}],"version-history":[{"count":0,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/posts\/15387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/15520"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=15387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=15387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=15387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}