{"id":2085,"date":"2019-03-25T17:37:58","date_gmt":"2019-03-25T20:37:58","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/kb31100-creating-historic-fields-at-run-time\/"},"modified":"2020-04-07T11:49:57","modified_gmt":"2020-04-07T14:49:57","slug":"kb31100-how-to-create-historic-fields-at-runtime","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/kb31100-how-to-create-historic-fields-at-runtime\/","title":{"rendered":"KB-31100: Creating Historic fields at run time"},"content":{"rendered":"<h3 align=\"justify\"><span style=\"font-weight: bold;\">Question:<\/span><\/h3>\n<p align=\"justify\">Can I create historic fields at runtime? Or are they only available for edition in the Studio?<\/p>\n<h3 align=\"justify\"><span style=\"font-weight: bold;\">Solution:<\/span><\/h3>\n<p align=\"justify\">Yes, you can create historic fields at runtime; to do so, you will need to use the <strong>Fields<\/strong> object&#8217;s\u00a0 <a href=\"https:\/\/kb.elipse.com.br\/?p=9495\">AddField<\/a> method. This article illustrates how to do so.<\/p>\n<div align=\"justify\">First, you must understand what an Elipse E3 Historic is. A Historic is an Elipse E3 object that you will use for storage purposes. It is a module responsible for storing data from the application in the Database. It allows storing process data for future analyses, in Elipse E3 or any other tool available for doing so.<\/div>\n<div align=\"justify\"><\/div>\n<div align=\"justify\">The Historic&#8217;s <strong>Fields<\/strong> object (HistFieldsCollection) was introduced at <a href=\"https:\/\/www.elipse.com.br\/downloads\/?cat=19&#038;key=&#038;language=ptbr\">version 5.0 of Elipse E3<\/a> in order to return the collection of fields in a Historic. Since its introduction to the Elipse system, it has been possible to handle it not only in Studio mode but also at run time, which allows for greater flexibility for developing, editing and automating historic objects. You can access the <strong>Fields<\/strong> object via Historic&#8217;s <em>Fields<\/em> property.<\/div>\n<div align=\"justify\"><\/div>\n<div align=\"justify\">For further information on\u00a0 Fields object, check the article <strong><a href=\"https:\/\/kb.elipse.com.br\/en\/returning-a-hist\u2026ect-in-elipse-e3\/\" target=\"_blank\" rel=\"noopener noreferrer\">Returning a Historic&#8217;s field collection by using Fields object in Elipse E3<\/a><\/strong>.<\/div>\n<div align=\"justify\"><\/div>\n<div align=\"justify\">However, in versions previous to <strong>Elipse E3 5.0<\/strong>,\u00a0 the procedure is different. In order to add Historic fields at runtime, you can create an XObject that contains a Historic. But in this case, the number of fields must be pre-established. For each field, you can create an\u00a0 <i>XObject<\/i> property to associate the tags to record.<\/div>\n<p align=\"justify\">\n","protected":false},"excerpt":{"rendered":"<p>Question: Can I create historic fields at runtime? Or are they only available for edition in the Studio? Solution: Yes, you can create historic fields at runtime; to do so,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[749],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KB-31100: Creating Historic fields at run time - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB-31100: Creating Historic fields at run time\" \/>\n<meta property=\"og:description\" content=\"Question: Can I create historic fields at runtime? Or are they only available for edition in the Studio? Solution: Yes, you can create historic fields at runtime; to do so,&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:37:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-07T14:49:57+00:00\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. 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:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"KB-31100: Creating Historic fields at run time\",\"datePublished\":\"2019-03-25T20:37:58+00:00\",\"dateModified\":\"2020-04-07T14:49:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/\"},\"wordCount\":320,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Historic\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/\",\"url\":\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/\",\"name\":\"[:pt]KB-31100: Creating Historic fields at run time[:en]KB-31100: Creating Historic fields at run time[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:37:58+00:00\",\"dateModified\":\"2020-04-07T14:49:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB-31100: Creating Historic fields at run time\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KB-31100: Creating Historic fields at run time - Elipse Knowledgebase","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:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]KB-31100: Creating Historic fields at run time[:en]KB-31100: Creating Historic fields at run time[:] - Elipse Knowledgebase","og_description":"Question: Can I create historic fields at runtime? Or are they only available for edition in the Studio? Solution: Yes, you can create historic fields at runtime; to do so,&hellip;","og_url":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:37:58+00:00","article_modified_time":"2020-04-07T14:49:57+00:00","author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"KB-31100: Creating Historic fields at run time","datePublished":"2019-03-25T20:37:58+00:00","dateModified":"2020-04-07T14:49:57+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/"},"wordCount":320,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Historic"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/","url":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/","name":"[:pt]KB-31100: Creating Historic fields at run time[:en]KB-31100: Creating Historic fields at run time[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:37:58+00:00","dateModified":"2020-04-07T14:49:57+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/kb31100-how-to-create-historic-fields-at-runtime\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"KB-31100: Creating Historic fields at run time"}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2085"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=2085"}],"version-history":[{"count":2,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2085\/revisions"}],"predecessor-version":[{"id":10458,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2085\/revisions\/10458"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=2085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=2085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=2085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}