{"id":513,"date":"2017-02-20T15:44:40","date_gmt":"2017-02-20T15:44:40","guid":{"rendered":"https:\/\/www.threesl.com\/blog\/?p=513"},"modified":"2019-02-04T09:32:15","modified_gmt":"2019-02-04T09:32:15","slug":"add-document-attribute-items","status":"publish","type":"post","link":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/","title":{"rendered":"Add a Document Attribute to Items"},"content":{"rendered":"<p>It is often helpful to be able to store document(s) inside items in a Cradle database.<\/p>\n<p>This is easy to set up. You simply add one or more new document &#8216;frame&#8217; attribute(s) to the type of item in which you want to store documents, such as your test cases, or your System Breakdown Structure (SBS). To do this:<\/p>\n<p>1. Start WorkBench and login to your database as a user with PROJECT privilege so you can change the schema<br \/>\n2. Select &#8216;Project Setup&#8217; from the &#8216;Project&#8217; tab to open the schema<br \/>\n3. With &#8216;Options&#8217; set to &#8216;Item Definitions&#8217;, select the &#8216;Item&#8217; type (this is the default)<br \/>\n4. Select the item type and select &#8216;Frames&#8230;&#8217;<br \/>\n5. Select &#8216;New&#8230;&#8217; and enter the name of the new image attribute, such as: document<br \/>\n6. Set the new attribute&#8217;s frame type to be WORD (DOCX) or OO WRITER that are provided with all Cradle systems. With no frame type, the frame stores plain text.<br \/>\n7. Select &#8216;OK&#8217; to close the schema<\/p>\n<p>Now any\/all items of your chosen item type can have a document frame that can contain a Word document (for WORD (DOCX) frames) or a LibreOffice\/Open Office document (for OO WRITER frames). The entire document is embedded inside the item&#8217;s attribute.<\/p>\n<p>When you view the attribute, it will appear as &lt;DATA&gt;. If you select View or Edit for this attribute, then it will open in Word or Writer. If you chose Edit, then any changes that you made to the document will be saved back into the database.<\/p>\n<p>You can capture tables or images or ranges of text from external Word documents into the attribute using Document Loader. You can include these Word documents in reports and in documents published by Document Publisher. If you edit the document, then the change history will store the documents from before and after each edit.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-607 size-full\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.png\" alt=\"Add a Document Attribute to Items\" width=\"543\" height=\"392\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.png 543w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items-300x217.png 300w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><\/p>\n<h5>Article Updated 04\/02\/2019 &#8211; Increased image size to make it readable<\/h5>\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\/add-document-attribute-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%2Fadd-document-attribute-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>It is often helpful to be able to store document(s) inside items in a Cradle database. This is easy to set up. You simply add one or more new document &#8216;frame&#8217; attribute(s) to the type of item in which you want to store documents, such as your test cases, or your System Breakdown Structure (SBS). &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Add a Document Attribute to 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":[299],"class_list":["post-513","post","type-post","status-publish","format-standard","hentry","category-tips","tag-document-attribute"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add a Document Attribute to Items - 3SL Blog<\/title>\n<meta name=\"description\" content=\"Hints and tips on how to add document attribute to items\" \/>\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\/add-document-attribute-items\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add a Document Attribute to Items - 3SL Blog\" \/>\n<meta property=\"og:description\" content=\"Hints and tips on how to add document attribute to items\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threesl.com\/blog\/add-document-attribute-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-02-20T15:44:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-04T09:32:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.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\\\/add-document-attribute-items\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/\"},\"author\":{\"name\":\"3SL\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ccd9b2d74303fa8927e06c2af8b0b\"},\"headline\":\"Add a Document Attribute to Items\",\"datePublished\":\"2017-02-20T15:44:40+00:00\",\"dateModified\":\"2019-02-04T09:32:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/\"},\"wordCount\":324,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-a-Document-Attribute-to-Items.png\",\"keywords\":[\"document attribute\"],\"articleSection\":[\"Hints &amp; Tips\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/\",\"name\":\"Add a Document Attribute to Items - 3SL Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-a-Document-Attribute-to-Items.png\",\"datePublished\":\"2017-02-20T15:44:40+00:00\",\"dateModified\":\"2019-02-04T09:32:15+00:00\",\"description\":\"Hints and tips on how to add document attribute to items\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-a-Document-Attribute-to-Items.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-a-Document-Attribute-to-Items.png\",\"width\":543,\"height\":392,\"caption\":\"Add a Document Attribute to Items\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-document-attribute-items\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add a Document Attribute to 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":"Add a Document Attribute to Items - 3SL Blog","description":"Hints and tips on how to add document attribute to items","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\/add-document-attribute-items\/","og_locale":"en_GB","og_type":"article","og_title":"Add a Document Attribute to Items - 3SL Blog","og_description":"Hints and tips on how to add document attribute to items","og_url":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/","og_site_name":"3SL Blog","article_publisher":"http:\/\/facebook.com\/3SLCradle","article_published_time":"2017-02-20T15:44:40+00:00","article_modified_time":"2019-02-04T09:32:15+00:00","og_image":[{"url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.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\/add-document-attribute-items\/#article","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/"},"author":{"name":"3SL","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/749ccd9b2d74303fa8927e06c2af8b0b"},"headline":"Add a Document Attribute to Items","datePublished":"2017-02-20T15:44:40+00:00","dateModified":"2019-02-04T09:32:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/"},"wordCount":324,"publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.png","keywords":["document attribute"],"articleSection":["Hints &amp; Tips"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/","url":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/","name":"Add a Document Attribute to Items - 3SL Blog","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/#primaryimage"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.png","datePublished":"2017-02-20T15:44:40+00:00","dateModified":"2019-02-04T09:32:15+00:00","description":"Hints and tips on how to add document attribute to items","breadcrumb":{"@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/#primaryimage","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-a-Document-Attribute-to-Items.png","width":543,"height":392,"caption":"Add a Document Attribute to Items"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threesl.com\/blog\/add-document-attribute-items\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threesl.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Add a Document Attribute to 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":"Phil Shaw","_links":{"self":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/513","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=513"}],"version-history":[{"count":10,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/513\/revisions"}],"predecessor-version":[{"id":4954,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/513\/revisions\/4954"}],"wp:attachment":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/media?parent=513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/categories?post=513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/tags?post=513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}