{"id":467,"date":"2017-03-13T10:25:15","date_gmt":"2017-03-13T10:25:15","guid":{"rendered":"https:\/\/www.threesl.com\/blog\/?p=467"},"modified":"2017-06-27T09:18:06","modified_gmt":"2017-06-27T08:18:06","slug":"query-delete-state-linked-items","status":"publish","type":"post","link":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/","title":{"rendered":"Query Delete State of Linked Items"},"content":{"rendered":"<h2>New Cradle Query Feature<\/h2>\n<figure id=\"attachment_468\" aria-describedby=\"caption-attachment-468\" style=\"width: 545px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-468 size-full\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.png\" alt=\"Selection of linked item's delete state\" width=\"545\" height=\"272\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.png 545w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state-300x150.png 300w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><figcaption id=\"caption-attachment-468\" class=\"wp-caption-text\">Query Details -Linked items delete state<\/figcaption><\/figure>\n<p>In the query details dialog, users can now set the &#8216;Delete State&#8217; of linked (or not linked items).<\/p>\n<p>Those states are:<\/p>\n<ul>\n<li><em>Normal<\/em> an item considered live and accessible<\/li>\n<li><em>Recoverable <\/em>an item that has been deleted but could be brought back, hidden in most operations<\/li>\n<li><em>All<\/em> a combination of the two.<\/li>\n<\/ul>\n<h3>Why is Delete State Important?<\/h3>\n<p>It would be logical to run a query to check that all your Requirements are linked to System Requirements. Therefore, setting a query to return Requirements &#8216;Not Linked&#8217; to System Requirements that are of a <em>Normal<\/em> Delete State would give you the required list.<\/p>\n<p>On the other hand, before permanently deleting a batch of items, you may want to check that they are not linked to <em>Recoverable<\/em> items first. In that way you can ensure those items linked items are deleted too.<\/p>\n<p>Since the state of both the primary item and the linked items can be set\u00a0 this gives all query combinations for an item&#8217;s deleted status.<\/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\/query-delete-state-linked-items\/&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%2Fquery-delete-state-linked-items%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>New Cradle Query Feature In the query details dialog, users can now set the &#8216;Delete State&#8217; of linked (or not linked items). Those states are: Normal an item considered live and accessible Recoverable an item that has been deleted but could be brought back, hidden in most operations All a combination of the two. Why &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Query Delete State of Linked Items&#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":[6],"tags":[329,289],"class_list":["post-467","post","type-post","status-publish","format-standard","hentry","category-tips","tag-cross-references","tag-item-status"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Query Delete State of Linked Items - 3SL Blog<\/title>\n<meta name=\"description\" content=\"When querying for &#039;linked items&#039; the desired &#039;delete state&#039; (Recoverable\/Normal\/All) of those items can be set in the query dialkog.\" \/>\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\/query-delete-state-linked-items\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Query Delete State of Linked Items - 3SL Blog\" \/>\n<meta property=\"og:description\" content=\"When querying for &#039;linked items&#039; the desired &#039;delete state&#039; (Recoverable\/Normal\/All) of those items can be set in the query dialkog.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/\" \/>\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=\"2017-03-13T10:25:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-27T08:18:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/\"},\"author\":{\"name\":\"3SL\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ccd9b2d74303fa8927e06c2af8b0b\"},\"headline\":\"Query Delete State of Linked Items\",\"datePublished\":\"2017-03-13T10:25:15+00:00\",\"dateModified\":\"2017-06-27T08:18:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/\"},\"wordCount\":185,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/query_details_dialog_delete_state.png\",\"keywords\":[\"cross references \\\/ links\",\"item status\"],\"articleSection\":[\"Hints &amp; Tips\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/\",\"name\":\"Query Delete State of Linked Items - 3SL Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/query_details_dialog_delete_state.png\",\"datePublished\":\"2017-03-13T10:25:15+00:00\",\"dateModified\":\"2017-06-27T08:18:06+00:00\",\"description\":\"When querying for 'linked items' the desired 'delete state' (Recoverable\\\/Normal\\\/All) of those items can be set in the query dialkog.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/query_details_dialog_delete_state.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/query_details_dialog_delete_state.png\",\"width\":545,\"height\":272,\"caption\":\"Query Details -Linked items delete state\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/query-delete-state-linked-items\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Query Delete State of Linked Items\"}]},{\"@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":"Query Delete State of Linked Items - 3SL Blog","description":"When querying for 'linked items' the desired 'delete state' (Recoverable\/Normal\/All) of those items can be set in the query dialkog.","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\/query-delete-state-linked-items\/","og_locale":"en_GB","og_type":"article","og_title":"Query Delete State of Linked Items - 3SL Blog","og_description":"When querying for 'linked items' the desired 'delete state' (Recoverable\/Normal\/All) of those items can be set in the query dialkog.","og_url":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/","og_site_name":"3SL Blog","article_publisher":"http:\/\/facebook.com\/3SLCradle","article_published_time":"2017-03-13T10:25:15+00:00","article_modified_time":"2017-06-27T08:18:06+00:00","og_image":[{"url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.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":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/#article","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/"},"author":{"name":"3SL","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/749ccd9b2d74303fa8927e06c2af8b0b"},"headline":"Query Delete State of Linked Items","datePublished":"2017-03-13T10:25:15+00:00","dateModified":"2017-06-27T08:18:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/"},"wordCount":185,"publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.png","keywords":["cross references \/ links","item status"],"articleSection":["Hints &amp; Tips"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/","url":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/","name":"Query Delete State of Linked Items - 3SL Blog","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/#primaryimage"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.png","datePublished":"2017-03-13T10:25:15+00:00","dateModified":"2017-06-27T08:18:06+00:00","description":"When querying for 'linked items' the desired 'delete state' (Recoverable\/Normal\/All) of those items can be set in the query dialkog.","breadcrumb":{"@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/#primaryimage","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/03\/query_details_dialog_delete_state.png","width":545,"height":272,"caption":"Query Details -Linked items delete state"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threesl.com\/blog\/query-delete-state-linked-items\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threesl.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Query Delete State of Linked Items"}]},{"@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":null,"_links":{"self":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/467","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=467"}],"version-history":[{"count":1,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/467\/revisions"}],"predecessor-version":[{"id":469,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/467\/revisions\/469"}],"wp:attachment":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/media?parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/categories?post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/tags?post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}