{"id":33519,"date":"2017-11-29T15:55:06","date_gmt":"2017-11-29T07:55:06","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=33519"},"modified":"2017-12-15T11:37:21","modified_gmt":"2017-12-15T03:37:21","slug":"hierarchy-query-4-5-2","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/hierarchy-query\/hierarchy-query-4-5-2\/","title":{"rendered":"Hierarchy Query (4.5.2)"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.5.2 and later of P2 Explorer. For the latest, see <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/hierarchy-query\/\">Hierarchy Query<\/a>.<\/p>\n<p class=\"intro-text\">The Triggers panel in Studio mode is where you can set up controls for updating or manuipluating variables; these controls are not visible on the Explorer page.<\/p>\n<p class=\"intro-text\">This topic covers the Hierarchy Query control, and how to use it.<\/p>\n<p class=\"instruct\">To open the Triggers panel, click the Triggers button in the <em>Configuration<\/em> group on the Studio ribbon tab.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/TRiggers-button.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28921 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/TRiggers-button.png\" alt=\"\" width=\"707\" height=\"170\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Hierarchy Query Overview<\/h2>\n<p class=\"intro-text\">A Hierarchy Query is used to generate a list of child entities from a defined hierarchy, for a selected entity. It also exposes the primary template name for the selected hierarchy. Using a hierarchy query, you could display the children of a selected entity with some of their attributes, in a chart or a table layout. For example, show the oil and water production figures (attribute values) for all oil producing wells (child entities) of a particular region (selected entity).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29211 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query.png\" alt=\"\" width=\"957\" height=\"323\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query.png 957w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query-768x259.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query-150x51.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Usage-of-Hierarchy-Query-48x16.png 48w\" sizes=\"auto, (max-width: 957px) 100vw, 957px\" \/><\/a><\/p>\n<p class=\"intro-text\">Here are examples of how a selected entity's children are returned by a hierarchy query. The child entities are assigned to a variable, and can then be used elsewhere on the page, or sent to another page or to a trend using a hyperlink. The configuration of the hierarchy query determines how many levels of child entities are assigned to the variable, as well as whether to filter on one or more defined templates.<\/p>\n<table style=\"width: 900px; border: 1px solid #cccccc;\">\n<tbody>\n<tr>\n<td style=\"width: 50%; padding: 10px; border-right: 1px solid #cccccc;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Children-of-selected-Entities-2-Levels.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28927 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Children-of-selected-Entities-2-Levels.png\" alt=\"\" width=\"342\" height=\"446\" \/><\/a><\/td>\n<td style=\"width: 50%; padding-left: 10px; border-right: 1px solid #cccccc;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Children-of-selected-Entities-1-Level.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28926 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Children-of-selected-Entities-1-Level.png\" alt=\"\" width=\"364\" height=\"446\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%; padding: 10px; border-right: 1px solid #cccccc; border-bottom: 1px solid #cccccc;\"><em>Child entities of selected entity going down one level<\/em><\/td>\n<td style=\"width: 50%; padding-left: 10px; border-right: 1px solid #cccccc; border-bottom: 1px solid #cccccc;\"><em>Child entities of selected entity going down two levels<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">Below is an example of the child entities from the level below the selected entity, appearing on a page in a chart. The query has been configured so that only entities whose <strong>primary template<\/strong> is an <strong>Oil Producing Well<\/strong> template are included in the set of child entities.<\/p>\n<table style=\"width: 900px; border: 1px solid #cccccc;\">\n<tbody>\n<tr>\n<td style=\"width: 100%; padding: 10px; border-right: 1px solid #cccccc;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29611 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot.png\" alt=\"\" width=\"875\" height=\"392\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot.png 875w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot-768x344.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot-150x67.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot-36x16.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/08\/Oil-Producing-Wells-screenshot-48x22.png 48w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">You can configure a hierarchy query to select a set of child entities as follows:<\/p>\n<table style=\"width: 1000px;\">\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td>\n<table>\n<tbody>\n<tr>\n<td style=\"width: 40%; padding-left: 10px;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Hierarchy-Query-Overview-1.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28899 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Hierarchy-Query-Overview-1.png\" alt=\"\" width=\"398\" height=\"614\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Hierarchy-Query-Overview-1.png 398w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Hierarchy-Query-Overview-1-97x150.png 97w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Hierarchy-Query-Overview-1-16x24.png 16w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Hierarchy-Query-Overview-1-23x36.png 23w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Hierarchy-Query-Overview-1-31x48.png 31w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/a><\/td>\n<td style=\"width: 60%; padding-left: 10px;\">\n<table>\n<tbody>\n<tr>\n<td style=\"width: 1000px; padding-left: 10px;\">\n<p><strong>1. Hierarchy Name<\/strong>:<br \/>\n Select a hierarchy to query from. Either select a variable, or select a hierarchy from the drop-down list of hierarchies that exist in P2 Server.<\/p>\n<p><strong>2. Entity<\/strong>:<br \/>\n Assign a fixed entity name, or more commonly a variable entity that the user will update from another page control. This is the entity whose children the hierarchy query returns.<\/p>\n<p><strong>3. Levels<\/strong>:<br \/>\n Specify how many levels to fetch from, below the selected entity (1 for one level down, 2 for two levels, and so on). The default is one level (1).<\/p>\n<p><strong>4. Template Filters<\/strong>:<br \/>\n Optionally add one or more template filters, to restrict what type of entity to fetch. This is covered in the <a href=\"#Configuring_the_Levels_and_Template_Filters_in_the_Hierarchy_Query\">tutorial<\/a> in more detail, under <em>Adding Template Filters<\/em>.<\/p>\n<p><strong>5. Filter By Primary Only<\/strong>:<br \/>\n You can further restrict to child entities where their primary template is one of the listed template filters.<\/p>\n<p><strong>6. Child Entities<\/strong>:<br \/>\n The child entities returned by the query are assigned to an entity list variable (the default variable is called <em>childEntities<\/em>).<\/p>\n<p><strong>More Settings [7-10]<\/strong>:<br \/>\n There are extra settings associated with the hierarchy query, under the <em>More Settings<\/em> section. Click <em>More Settings<\/em> to expand this section, and <em>Less Settings<\/em> to collapse it.<\/p>\n<p><strong>7. Current Template<\/strong>:<br \/>\n Use this property to assign the name of the selected entity's current primary template to a variable (called <em>currentTemplate<\/em> by default).<\/p>\n<p><strong>8. Page Number<\/strong>:<br \/>\n You can use the Page Number, Page Size and Total Record Count in conjunction with a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/paging-control\/\">Paging Control<\/a>, to allow paging of the child entities.<\/p>\n<p><strong>9. Page Size<\/strong>:<br \/>\n You can use the Page Number, Page Size and Total Record Count in conjunction with a Paging Control, to allow paging of the child entities.<\/p>\n<p><strong>10. Total Record Count<\/strong>:<br \/>\n You can use the Page Number, Page Size and Total Record Count in conjunction with a Paging Control, to allow paging of the child entities. Or use this property independently; it sets a variable for the number of children for the current entity selection for this particular hierarchy query.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"note\">A hierarchy is an organised structure of entities, which models an organisation's assets. Read more about <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-getting-started\/tag-search-and-hierarchy-navigation\/\">the <strong>Hierarchy Navigator<\/strong><\/a>, the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/hierarchy\/\"><strong>Hierarchy<\/strong> page component<\/a>, and <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/configuring-your-system\/setting-up-hierarchies\/\">setting up a hierarchy in Server Management<\/a>.<\/p>\n<h2 class=\"page-subheading\">Tutorial<\/h2>\n<p class=\"intro-text\">In this tutorial, we'll add and configure a hierarchy query, a hierarchy component to control it, a selection list to display its child entities and a text label to describe the child entities.<\/p>\n<p class=\"intro-text\">Later in the tutorial we'll show how to change the hierarchy query by changing the <strong>Levels<\/strong> and adding <strong>Template Filters<\/strong>, as well as selecting the <strong>Filter By Primary Only<\/strong> check box.<\/p>\n<p class=\"intro-text\">Finally, we'll work with the paging properties of the hierarchy query.<\/p>\n<p class=\"intro-text\">At the end of the tutorial, we'll have something that looks like this:<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29078 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page.png\" alt=\"\" width=\"781\" height=\"457\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page.png 781w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page-768x449.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page-150x88.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page-36x21.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Finished-Tutorial-Page-48x28.png 48w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/a><\/p>\n<p class=\"left-bar\"><strong>Note<\/strong>: This configuration uses the <em>Sample Data table<\/em> 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<h3>Setting up a Page with a Basic Hierarchy Query<\/h3>\n<p class=\"intro-text\">There are four steps in the first part of the 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_Update_the_selectedEntity_Default_Value\">Step 2.<\/a> Update the selectedEntity default value.<\/li>\n<li><a href=\"#Step_3_Add_and_Configure_a_Hierarchy_a_Text_Label_and_a_Selection_list\">Step 3.<\/a> Add and configure hierarchy, text label and selection list.<\/li>\n<li><a href=\"#Step_4_Add_and_Configure_a_Hierarchy_Query\">Step 4.<\/a>. Add a hierarchy query.<\/li>\n<\/ul>\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\/\" data-slimstat-clicked=\"false\" data-slimstat-type=\"2\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"false\" data-slimstat-async=\"false\">Building an Explorer Page<\/a>.<\/p>\n<h4>Step 1. Prepare the Tutorial Page<\/h4>\n<p class=\"note\"><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>Hierarchy Query Tutorial<\/em>.<\/p>\n<h4>Step 2. Update the selectedEntity Default Value<\/h4>\n<p class=\"left-bar\">See how to add and configure a <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. Type <em>New South Wales<\/em> in the <em>selectedEntity<\/em> value edit box.<\/p>\n<p class=\"note\">This is an entity from the <strong>P2 Corporate<\/strong> hierarchy which we will be using for this tutorial.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Default-Value-for-Selected-Entity.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28962 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Default-Value-for-Selected-Entity.png\" alt=\"\" width=\"368\" height=\"435\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h4>Step 3. Add and Configure a Hierarchy, a Text Label and a Selection list<\/h4>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-components-to-the-page.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28966 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-components-to-the-page.png\" alt=\"\" width=\"807\" height=\"520\" \/><\/a><\/p>\n<p class=\"intro-text\">The hierarchy is for selecting the entity (<em>selectedEntity<\/em>), the selection list is for displaying the selected entity's child entities, and the text label provides a description of the child entities.<\/p>\n<p class=\"left-bar\">Related: <a title=\"Hierarchy\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/hierarchy\/\">Hierarchy<\/a>, <a title=\"Selection List\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/selection-list\/\">Selection List<\/a>, <a title=\"Text Label\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-label\/\">Text Label<\/a>.<\/p>\n<p class=\"intro-text\">1. Drag a Hierarchy onto the page. Resize it to fit in the top left area of the page, as shown.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-hierarchy-1.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28968 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-hierarchy-1.png\" alt=\"\" width=\"535\" height=\"500\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-hierarchy-1.png 535w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-hierarchy-1-150x140.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-hierarchy-1-24x22.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-hierarchy-1-36x34.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-hierarchy-1-48x45.png 48w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. In the Hierarchy component's property panel, select <strong>P2 Corporate<\/strong> from the drop-down list of available hierarchies for the <strong>Hierarchy Name<\/strong>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Hierarchy-2.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28969 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Hierarchy-2.png\" alt=\"\" width=\"368\" height=\"358\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Hierarchy-2.png 368w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Hierarchy-2-150x146.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Hierarchy-2-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Hierarchy-2-36x36.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Hierarchy-2-48x48.png 48w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/a><\/p>\n<p class=\"note\">Note how the default value for <strong>Selected Entity<\/strong> is <em>selectedEntity<\/em>. This control will be used for updating the <em>selectedEntity<\/em> variable.<\/p>\n<p class=\"intro-text\">3. Drag a Text Label onto the page, to the right of the hierarchy. Widen the label slightly, as shown.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28985 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1.png\" alt=\"\" width=\"929\" height=\"517\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1.png 929w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1-768x427.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1-150x83.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1-36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-text-label-1-48x27.png 48w\" sizes=\"auto, (max-width: 929px) 100vw, 929px\" \/><\/a><\/p>\n<p class=\"intro-text\">4. In the Text Label content, type \"Child entities of selected entity \" then click <strong>Add Data<\/strong>, select <em>Entity<\/em> as the <strong>Type<\/strong>, and add the <strong>selectedEntity<\/strong> variable.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-text-label-1.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28987 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-text-label-1.png\" alt=\"\" width=\"362\" height=\"387\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-text-label-1.png 362w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-text-label-1-140x150.png 140w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-text-label-1-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-text-label-1-34x36.png 34w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-text-label-1-45x48.png 45w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/a><\/p>\n<p class=\"intro-text\">5. Drag a Selection list onto the page, below the Text Label, and resize to line up to the Hierarchy and the Text Label, as shown.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28984 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1.png\" alt=\"\" width=\"944\" height=\"498\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1.png 944w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1-768x405.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1-150x79.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-selection-list-6-1-48x25.png 48w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><\/a><\/p>\n<p class=\"intro-text\">6. In the <strong>Option Values<\/strong> of the Selection list component, type a variable name, <em>childEntities<\/em>, as a variable value.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Selection-List-1.png\" rel=\"lightbox-14\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28988 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Selection-List-1.png\" alt=\"\" width=\"360\" height=\"240\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Selection-List-1.png 360w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Selection-List-1-150x100.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Selection-List-1-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Selection-List-1-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-Selection-List-1-48x32.png 48w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/a><\/p>\n<p class=\"note\">The <em>childEntities<\/em> variable will contain the child entities from the hierarchy query.<\/p>\n<p>&nbsp;<\/p>\n<h4>Step 4. Add and Configure a Hierarchy Query<\/h4>\n<p class=\"overview\">In this step, we'll add a hierarchy query that gets child entities from the <em>P2 Corporate Hierarchy<\/em>, for the selected entity.<\/p>\n<p class=\"intro-text\">1. Click the Triggers button in the <em>Configuration<\/em> group on the Studio ribbon tab.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/TRiggers-button.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28921 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/TRiggers-button.png\" alt=\"\" width=\"707\" height=\"170\" \/><\/a><\/p>\n<p class=\"intro-text\">The Triggers panel opens so that you can add, edit or view the page's hierarchy queries.<\/p>\n<p class=\"intro-text\">2. Click <strong>Add<\/strong> to add a new hierarchy query.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-hierarchy-query.png\" rel=\"lightbox-16\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28980 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-hierarchy-query.png\" alt=\"\" width=\"372\" height=\"244\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-hierarchy-query.png 372w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-hierarchy-query-150x98.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-hierarchy-query-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-hierarchy-query-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-hierarchy-query-48x31.png 48w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><\/p>\n<p class=\"intro-text\">3. Click <strong>Hierarchy Query<\/strong> to expand the hierarchy query.<\/p>\n<p class=\"intro-text\">4. Select <em>P2 Corporate Hierarchy<\/em> from the <strong>Hierarchy Name<\/strong> drop-down list.<\/p>\n<p class=\"note\">This matches the hierarchy used in the Hierarchy component.<br \/>\n Note that by default the <strong>Entity<\/strong> property uses the <em>selectedEntity<\/em> variable, and the <strong>Child Entities<\/strong> property uses the <em>childEntities<\/em> variable. These names describe the functionailty of the hierarchy query, which is that child entities (<em>childEntities<\/em>) are generated by the query when a user selects an entity (<em>selectedEntity<\/em>).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-the-hieararchy-query.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28982 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-the-hieararchy-query.png\" alt=\"\" width=\"371\" height=\"402\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-the-hieararchy-query.png 371w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-the-hieararchy-query-138x150.png 138w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-the-hieararchy-query-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-the-hieararchy-query-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Configure-the-hieararchy-query-44x48.png 44w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/a><\/p>\n<p class=\"intro-text\">You now have a functioning hierarchy query, whose <strong> Entity<\/strong> is updated by the users's selection on the <strong>Hierarchy<\/strong> component, and whose <strong>Child Entities<\/strong> are displayed in the <strong>Selection List<\/strong>.<\/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-18\"><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 how the child entities of the default <em>selectedEntity<\/em>, <strong>New South Wales<\/strong> appear in the selection list.<\/li>\n<li class=\"intro-text\">Select a different entity from the hierarchy, to see how its child entities are displayed in the selection list.<\/li>\n<li class=\"intro-text\">Note that child entities match the child entities in the hierarchy component.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page.png\" rel=\"lightbox-19\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28991 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page.png\" alt=\"\" width=\"683\" height=\"275\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page.png 683w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-150x60.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-48x19.png 48w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/a><\/p>\n<p class=\"left-bar\">Watch the video to see how the child entities change (as shown in the selection list) when different entities are selected from the hierarchy.<\/p>\n\r\n\t<!-- Begin Video.js -->\r\n\t<video id=\"example_video_id_1304761353\" class=\"video-js vjs-default-skin\" width=\"764\" height=\"662\" controls preload=\"auto\" data-setup='[]'>\r\n\t\t<source src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/videos\/HierarchyQueryVideo.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<h3>Configuring the Levels and Template Filters in the Hierarchy Query<\/h3>\n<p class=\"overview\">Now we're going to change the hierarchy query to go down more than one level. We're also going to add template filters. Both of these changes will modify the query results (the child entities that are generated by the hierarchy query).<\/p>\n<p class=\"intro-text\"><strong><em>Changing the Levels<\/em><\/strong><\/p>\n<p class=\"intro-text\">First click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-18\"><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 again, to go back into Design mode.<\/p>\n<p class=\"intro-text\">1. Open the Hierarchy Query in the Triggers panel, and update the <strong>Levels<\/strong> value to 3.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Change-the-levels.png\" rel=\"lightbox-21\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28997 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Change-the-levels.png\" alt=\"\" width=\"371\" height=\"410\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Change-the-levels.png 371w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Change-the-levels-136x150.png 136w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Change-the-levels-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Change-the-levels-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Change-the-levels-43x48.png 43w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>To try out the changed levels:<\/strong><\/p>\n<p class=\"intro-text\">2. Click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-18\"><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.<\/p>\n<p class=\"intro-text\">3. Click the top node of the hierarchy, <strong>P2 Energy Solutions<\/strong>.<\/p>\n<p class=\"note\">Note how the child entities (displayed in the selection list) include child entities from three levels below the selected entity.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Child-entities-of-selected-entity-with-3-levels.png\" rel=\"lightbox-23\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-28996 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Child-entities-of-selected-entity-with-3-levels.png\" alt=\"\" width=\"697\" height=\"561\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Child-entities-of-selected-entity-with-3-levels.png 697w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Child-entities-of-selected-entity-with-3-levels-150x121.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Child-entities-of-selected-entity-with-3-levels-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Child-entities-of-selected-entity-with-3-levels-36x29.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Child-entities-of-selected-entity-with-3-levels-48x39.png 48w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong><em>Adding Template Filters<\/em><\/strong><\/p>\n<p class=\"note\">A template defines the characteristics (attributes) of an entity.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/\">Templates and Primary Templates<\/a>, as defined in Server Management.<\/p>\n<p class=\"overview\">For a hierarchy query, the list of child entities is restricted to those that have a template that is included in the list of template filters. (If there are no template filters, this restriction does not apply.)<\/p>\n<p class=\"intro-text\">First click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-18\"><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 again, to go back into Design mode.<\/p>\n<p class=\"intro-text\">1. Open the Hierarchy Query in the Triggers panel, start typing a template name (type \"Oil\"), then select a template filter (select <em>Oil Producing Well<\/em>) from the auto-complete drop-down list.<\/p>\n<p class=\"intro-text\">2. Click <strong>Add<\/strong> next to the Template Filters, to add the new Template Filter for the Hierarchy Query.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-template-filter.png\" rel=\"lightbox-25\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29003 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-template-filter.png\" alt=\"\" width=\"371\" height=\"404\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-template-filter.png 371w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-template-filter-138x150.png 138w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-template-filter-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-template-filter-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-a-new-template-filter-44x48.png 44w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>To try out the new template filter:<\/strong><\/p>\n<p class=\"intro-text\">2. Click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-18\"><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.<\/p>\n<p class=\"intro-text\">3. Click the top node of the hierarchy, <strong>P2 Energy Solutions<\/strong>.<\/p>\n<p class=\"note\">Note how not all of the child entities are selected; only those that have <strong>Oil Producing Well<\/strong> as a template.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Oil-Producing-Wells-3.png\" rel=\"lightbox-27\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29013 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Oil-Producing-Wells-3.png\" alt=\"\" width=\"719\" height=\"568\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Oil-Producing-Wells-3.png 719w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Oil-Producing-Wells-3-150x118.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Oil-Producing-Wells-3-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Oil-Producing-Wells-3-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Oil-Producing-Wells-3-48x38.png 48w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><\/p>\n<p class=\"left-bar-p2blue\">If you want the child entities limited to those where their primary template is in the list of template filters, then select the <strong>Filter By Primary Only<\/strong> check box. Note that in the Hierarchy, the entity has the primary template's icon displayed alongside it.<\/p>\n<h3>Paging the Results of the Hierarchy Query<\/h3>\n<p class=\"overview\">If you're expecting large sets of child entities from a hierarchy query, you can configure the hierarchy query so that a user can page through the resulting child entities. This is only where the control supports paging: for example, a Data Table control. You need a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/paging-control\/\n\">Paging Control<\/a> in order to do this.<\/p>\n<p class=\"intro-text\">First click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-18\"><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 again, to go back into Design mode.<\/p>\n<p class=\"intro-text\">1. Drag a Paging Control onto the page, and position it below the Selection List.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page.png\" rel=\"lightbox-29\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29020 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page.png\" alt=\"\" width=\"949\" height=\"544\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page.png 949w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page-768x440.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page-150x86.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page-36x21.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/1-Drop-a-Paging-Control-Onto-the-Page-48x28.png 48w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. Add two new variables names to the Default Values: <em>pageNumber<\/em> and <em>pageSize<\/em>, both of type <em>Number<\/em> and assign the values 1 and 5, respectively.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-default-values-for-Paging-2.png\" rel=\"lightbox-30\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29019 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-default-values-for-Paging-2.png\" alt=\"\" width=\"369\" height=\"621\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-default-values-for-Paging-2.png 369w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-default-values-for-Paging-2-89x150.png 89w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-default-values-for-Paging-2-14x24.png 14w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-default-values-for-Paging-2-21x36.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Add-default-values-for-Paging-2-29x48.png 29w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/a><\/p>\n<p class=\"intro-text\">3. Open the Hierarchy Query in the Triggers panel, and click <em>More Settings<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Click-Show-More-on-Triggers-1.png\" rel=\"lightbox-31\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29025 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Click-Show-More-on-Triggers-1.png\" alt=\"\" width=\"371\" height=\"404\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Click-Show-More-on-Triggers-1.png 371w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Click-Show-More-on-Triggers-1-138x150.png 138w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Click-Show-More-on-Triggers-1-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Click-Show-More-on-Triggers-1-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Click-Show-More-on-Triggers-1-44x48.png 44w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/a><\/p>\n<p class=\"intro-text\">4. Update the paging properties as follows:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Page Number<\/strong>: Select the <em>pageNumber<\/em> variable from the drop-down list.<\/li>\n<li><strong>Page Size<\/strong>: Select the <em>pageSize<\/em> variable from the drop-down list.<\/li>\n<li><strong>Total Record Count<\/strong>: Type <em>totalRecordCount<\/em> into the list.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Values-for-Hierarchy-Query.png\" rel=\"lightbox-32\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29024 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Values-for-Hierarchy-Query.png\" alt=\"\" width=\"369\" height=\"570\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Values-for-Hierarchy-Query.png 369w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Values-for-Hierarchy-Query-97x150.png 97w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Values-for-Hierarchy-Query-16x24.png 16w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Values-for-Hierarchy-Query-23x36.png 23w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Values-for-Hierarchy-Query-31x48.png 31w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/a><\/p>\n<p class=\"intro-text\">5. Now click on the Paging Control component and configure its properties as follows:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Page Number<\/strong>: Select the <em>pageNumber<\/em> variable from the drop-down list.<\/li>\n<li><strong>Page Size<\/strong>: Select the <em>pageSize<\/em> variable from the drop-down list.<\/li>\n<li><strong>Total Record Count<\/strong>: Select the <em>totalRecordCount<\/em> variable from the drop-down list.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Contorl-properties.png\" rel=\"lightbox-33\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29032 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Contorl-properties.png\" alt=\"\" width=\"372\" height=\"262\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Contorl-properties.png 372w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Contorl-properties-150x106.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Contorl-properties-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Contorl-properties-36x25.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Paging-Contorl-properties-48x34.png 48w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>To try out the new paging 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-18\"><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\">Click <strong>New South Wales<\/strong>, near the top of the hierarchy.<\/li>\n<li class=\"intro-text\">Click the <strong>Next<\/strong> button on the Paging Control to see the next five child entities appear in the selection list.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Use-the-paging-control.png\" rel=\"lightbox-35\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29033 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Use-the-paging-control.png\" alt=\"\" width=\"754\" height=\"458\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Use-the-paging-control.png 754w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Use-the-paging-control-150x91.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Use-the-paging-control-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Use-the-paging-control-36x22.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Use-the-paging-control-48x29.png 48w\" sizes=\"auto, (max-width: 754px) 100vw, 754px\" \/><\/a><\/p>\n<h3>Displaying the Current Template Name and the Number of Child Entities<\/h3>\n<p class=\"overview\">Also found in the <em>More Settings<\/em> section are the properties for the selected entity's primary template and its number of child entities (which we also used for the paging). We're going to display these variables on the page.<\/p>\n<p class=\"intro-text\">First click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-18\"><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 again, to go back into Design mode.<\/p>\n<p class=\"intro-text\">1. Drag two Data Labels onto the page, and widen each of these.<\/p>\n<p class=\"intro-text\">2. For the first, assign the variable <em>totalRecordCount<\/em> to the <strong>Value<\/strong>, and assign zero (0) to the <strong>Decimals<\/strong>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-2-1.png\" rel=\"lightbox-37\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29038 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-2-1.png\" alt=\"\" width=\"369\" height=\"239\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-2-1.png 369w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-2-1-150x97.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-2-1-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-2-1-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-2-1-48x31.png 48w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/a><\/p>\n<p class=\"intro-text\">3. For the second, type a variable name <em>currentTemplate<\/em> into the <strong>Value<\/strong> property.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-3-1.png\" rel=\"lightbox-38\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29039 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-3-1.png\" alt=\"\" width=\"367\" height=\"243\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-3-1.png 367w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-3-1-150x99.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-3-1-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-3-1-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Data-Label-3-1-48x32.png 48w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p class=\"intro-text\">Click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-18\"><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 to view the values in the new labels.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1.png\" rel=\"lightbox-40\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29037 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1.png\" alt=\"\" width=\"947\" height=\"375\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1.png 947w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1-768x304.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1-150x59.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/Preview-page-again-1-48x19.png 48w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/a><\/p>\n<p class=\"note\">Note how these values change as you select different entities in the hierarchy.<\/p>\n<h2 class=\"page-subheading\">Tips and Best Practices<\/h2>\n<p class=\"overview\">Here are some tips to consider when using hierarchy queries.<\/p>\n<h3>Use a Single Hierarchy Query per Page<\/h3>\n<p class=\"intro-text\">We strongly recommend that you only use a single hierarchy query in any P2 Explorer page.<\/p>\n<h2 class=\"page-subheading\">FAQs<\/h2>\n<p class=\"overview\">Some of the questions relating to hierarchy queries on an Explorer page:<\/p>\n<h3>Can I have a hierarchy query that is updated from an Explorer ribbon link?<\/h3>\n<p class=\"intro-text\">Yes, the user can update the selected entity by opening the page from the Table of Contents ribbon for an entity selected in the hierarchy navigator.<\/p>\n<p class=\"intro-text\">In the example below, the user selects an entity, <em>TField 1<\/em>, in the hierarchy navigator (<strong>1<\/strong> in screenshot), then clicks the link in the entity's table of contents (<strong>2<\/strong> in screenshot).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/User-selects-a-page-from-the-hierarchy-query.png\" rel=\"lightbox-41\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29061 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/User-selects-a-page-from-the-hierarchy-query.png\" alt=\"\" width=\"399\" height=\"366\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/User-selects-a-page-from-the-hierarchy-query.png 399w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/User-selects-a-page-from-the-hierarchy-query-150x138.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/User-selects-a-page-from-the-hierarchy-query-24x22.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/User-selects-a-page-from-the-hierarchy-query-36x33.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/User-selects-a-page-from-the-hierarchy-query-48x44.png 48w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/a><\/p>\n<p class=\"intro-text\">This opens a page which has a chart for the child entities of the selected entity, <em>TField 1<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened.png\" rel=\"lightbox-42\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-29060 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened.png\" alt=\"\" width=\"1051\" height=\"501\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened.png 1051w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened-768x366.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened-150x72.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened-36x17.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/07\/THe-page-is-openened-48x23.png 48w\" sizes=\"auto, (max-width: 1051px) 100vw, 1051px\" \/><\/a><\/p>\n<p class=\"note\">To add a link to a template's table of contents on the Explorer Ribbon, you need access and permissions in P2 Server.<\/p>\n<p class=\"left-bar\">Read more about <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/configuring-your-system\/links-and-the-table-of-contents\/#Creating_a_Link\">Creating a Link<\/a>, and assigning it to a template: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/configuring-your-system\/creating-templates\/#Creating_a_Template_Definition\">Template Definitions<\/a>.<\/p>\n<h3>Can I pass child entities to another page or a trend?<\/h3>\n<p class=\"intro-text\">Yes, you can pass the child entities variable to a page or trend, using variable mapping in a hyperlink or other linking control.<\/p>\n<p class=\"left-bar\">Read more about the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/hyperlink\/\">Hyperlink<\/a> component.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open the Triggers panel from the Studio toolbar, to configure hierarchy queries which reveal the current selected entity's primary template name, as well as its child entities to a stipulated level, and optionally filtered to specific templates.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/hierarchy-query\/hierarchy-query-4-5-2\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":8,"featured_media":29134,"parent":33522,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[584,587],"class_list":["post-33519","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-hierarchy-query","tag-trigger","Version-4-5-2","Version-4-5-3","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/33519","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=33519"}],"version-history":[{"count":0,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/33519\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/33522"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/29134"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=33519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=33519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=33519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}