{"id":37,"date":"2016-07-14T16:40:55","date_gmt":"2016-07-14T15:40:55","guid":{"rendered":"https:\/\/www.threesl.com:2958\/blog\/?p=37"},"modified":"2019-02-04T09:25:47","modified_gmt":"2019-02-04T09:25:47","slug":"controlling-tree-labels","status":"publish","type":"post","link":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/","title":{"rendered":"Controlling Tree Labels"},"content":{"rendered":"<h2>Trees<\/h2>\n<p>Trees are a common way to explore the information in a database and controlling tree labels is important as:<\/p>\n<p>\u2022 Any query\u2019s results can be shown in Tree style<br \/>\n\u2022 Trees are available for each item type from the Project sidebar<br \/>\n\u2022 The Phase hierarchy can contain nodes that run queries whose result item are shown as nodes in the phase hierarchy tree<\/p>\n<p>A default tree view can be set for individual items. This view is used to construct the text label whenever a tree node is added for an item of that type. Any frames, linked items, discussions are ignored.<\/p>\n<p>As shown in the screenshot below, &#8220;REQ-1&#8221; in the DEMO project as the top level item, using the tree view you can see all items which are linked to REQ-1<\/p>\n<figure id=\"attachment_4922\" aria-describedby=\"caption-attachment-4922\" style=\"width: 1608px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4922\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png\" alt=\"Screenshot showing the Requirement hierarchy tree from a query in the DEMO project\" width=\"1608\" height=\"704\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png 1608w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree-300x131.png 300w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree-768x336.png 768w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree-1024x448.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption id=\"caption-attachment-4922\" class=\"wp-caption-text\">Requirement hierarchy tree from a query<\/figcaption><\/figure>\n<p>Cradle has a default for the labels of the nodes in these trees. This default uses an item\u2019s Identity, Name, Key, Version and Draft attributes. This label may not be what you want to see, particularly if:<\/p>\n<p>\u2022 Your items are auto-numbered, so the Identity is generated by Cradle and is not important to you,<br \/>\n\u2022 If most of this type of item do not have anything in their Name attributes<\/p>\n<p>You can control the contents of labels in tree nodes. To do this:<\/p>\n<p>1. Login to WorkBench as a user who can modify the schema and can create project-wide views<br \/>\n2. Define a new view that lists the attributes that you want to appear in the labels. This view can include any attributes except calculations and frames. Only the first row in the view will be used. Save the view with Project scope, to ensure that everyone can use it.<br \/>\n3. Start Project Setup from the Project tab, set Options to Item Definitions and select the Item Types tab<br \/>\n4. Select the item type whose tree labels are to be set and choose your view from the Tree view: drop-down list<br \/>\n5. Save the schema and close Project Setup<\/p>\n<p>Now when any user sees any items of this type in any tree, the labels for these tree nodes will only contain the information defined by the view.<\/p>\n<p>Setting up tree labels for item types can be a very efficient tool when using Cradle to help your team save time when browsing through the tree nodes for items types, as this will only show the pre determined information the user is looking for.<\/p>\n<h5>Article Updated\u00a0 &#8211; 04\/02\/2019 &#8211; Added image and conclusion<\/h5>\n<p>&nbsp;<\/p>\n<aside class=\"mashsb-container mashsb-main mashsb-stretched\"><div class=\"mashsb-box\"><div class=\"mashsb-buttons\"><a class=\"mashicon-twitter mash-small mash-center mashsb-noshadow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=&amp;url=https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/&amp;via=threesl\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Tweet<\/span><\/a><a class=\"mashicon-facebook mash-small mash-center mashsb-noshadow\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.threesl.com%2Fblog%2Fcontrolling-tree-labels%2F\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Share<\/span><\/a><a class=\"mashicon-subscribe mash-small mash-center mashsb-noshadow\" href=\"#\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Newsletter<\/span><\/a><div class=\"onoffswitch2 mash-small mashsb-noshadow\" style=\"display:none\"><\/div><\/div>\n            <\/div>\n                <div style=\"clear:both\"><\/div><\/aside>\n            <!-- Share buttons by mashshare.net - Version: 4.0.47-->","protected":false},"excerpt":{"rendered":"<p>Trees Trees are a common way to explore the information in a database and controlling tree labels is important as: \u2022 Any query\u2019s results can be shown in Tree style \u2022 Trees are available for each item type from the Project sidebar \u2022 The Phase hierarchy can contain nodes that run queries whose result item &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Controlling Tree Labels&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[78,6],"tags":[558,346],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-articles","category-tips","tag-hierarchies","tag-trees"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Controlling Tree Labels - 3SL Blog<\/title>\n<meta name=\"description\" content=\"Information on how to customise the contents of tree labels\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Controlling Tree Labels - 3SL Blog\" \/>\n<meta property=\"og:description\" content=\"Information on how to customise the contents of tree labels\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/\" \/>\n<meta property=\"og:site_name\" content=\"3SL Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/3SLCradle\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-14T15:40:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-04T09:25:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png\" \/>\n<meta name=\"author\" content=\"3SL\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threesl\" \/>\n<meta name=\"twitter:site\" content=\"@threesl\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"3SL\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/\"},\"author\":{\"name\":\"3SL\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ccd9b2d74303fa8927e06c2af8b0b\"},\"headline\":\"Controlling Tree Labels\",\"datePublished\":\"2016-07-14T15:40:55+00:00\",\"dateModified\":\"2019-02-04T09:25:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/\"},\"wordCount\":422,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/tree.png\",\"keywords\":[\"hierarchies\",\"trees\"],\"articleSection\":[\"Articles\",\"Hints &amp; Tips\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/\",\"name\":\"Controlling Tree Labels - 3SL Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/tree.png\",\"datePublished\":\"2016-07-14T15:40:55+00:00\",\"dateModified\":\"2019-02-04T09:25:47+00:00\",\"description\":\"Information on how to customise the contents of tree labels\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/tree.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/tree.png\",\"width\":1608,\"height\":704,\"caption\":\"Requirement hierarchy tree from a query\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/controlling-tree-labels\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Controlling Tree Labels\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"name\":\"3SL Blog\",\"description\":\"From concept to creation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\",\"name\":\"3SL\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"width\":152,\"height\":80,\"caption\":\"3SL\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/facebook.com\\\/3SLCradle\",\"https:\\\/\\\/x.com\\\/threesl\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ccd9b2d74303fa8927e06c2af8b0b\",\"name\":\"3SL\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g\",\"caption\":\"3SL\"},\"sameAs\":[\"http:\\\/\\\/www.threesl.com\\\/\",\"https:\\\/\\\/x.com\\\/threesl\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Controlling Tree Labels - 3SL Blog","description":"Information on how to customise the contents of tree labels","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/","og_locale":"en_GB","og_type":"article","og_title":"Controlling Tree Labels - 3SL Blog","og_description":"Information on how to customise the contents of tree labels","og_url":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/","og_site_name":"3SL Blog","article_publisher":"http:\/\/facebook.com\/3SLCradle","article_published_time":"2016-07-14T15:40:55+00:00","article_modified_time":"2019-02-04T09:25:47+00:00","og_image":[{"url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png","type":"","width":"","height":""}],"author":"3SL","twitter_card":"summary_large_image","twitter_creator":"@threesl","twitter_site":"@threesl","twitter_misc":{"Written by":"3SL","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/#article","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/"},"author":{"name":"3SL","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/749ccd9b2d74303fa8927e06c2af8b0b"},"headline":"Controlling Tree Labels","datePublished":"2016-07-14T15:40:55+00:00","dateModified":"2019-02-04T09:25:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/"},"wordCount":422,"publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png","keywords":["hierarchies","trees"],"articleSection":["Articles","Hints &amp; Tips"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/","url":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/","name":"Controlling Tree Labels - 3SL Blog","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/#primaryimage"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png","datePublished":"2016-07-14T15:40:55+00:00","dateModified":"2019-02-04T09:25:47+00:00","description":"Information on how to customise the contents of tree labels","breadcrumb":{"@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/#primaryimage","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2019\/01\/tree.png","width":1608,"height":704,"caption":"Requirement hierarchy tree from a query"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threesl.com\/blog\/controlling-tree-labels\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threesl.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Controlling Tree Labels"}]},{"@type":"WebSite","@id":"https:\/\/www.threesl.com\/blog\/#website","url":"https:\/\/www.threesl.com\/blog\/","name":"3SL Blog","description":"From concept to creation","publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threesl.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.threesl.com\/blog\/#organization","name":"3SL","url":"https:\/\/www.threesl.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","width":152,"height":80,"caption":"3SL"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/3SLCradle","https:\/\/x.com\/threesl"]},{"@type":"Person","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/749ccd9b2d74303fa8927e06c2af8b0b","name":"3SL","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g","caption":"3SL"},"sameAs":["http:\/\/www.threesl.com\/","https:\/\/x.com\/threesl"]}]}},"modified_by":"Phil Shaw","_links":{"self":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":5,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":4950,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions\/4950"}],"wp:attachment":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}