{"id":1193,"date":"2019-03-25T17:34:01","date_gmt":"2019-03-25T20:34:01","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/kb12286-creating-links-at-runtime\/"},"modified":"2019-03-25T17:34:01","modified_gmt":"2019-03-25T20:34:01","slug":"kb12286-creating-links-at-runtime","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/kb12286-creating-links-at-runtime\/","title":{"rendered":"KB-12286: Creating links at runtime."},"content":{"rendered":"<div align=\"justify\"><b>Question:<\/b><\/p>\n<p>How can I create links between I\/O tags and objects already added to the screen, at runtime?<br \/><b><br \/>Solution:<\/b><\/p>\n<p>To do so, use the object&#8217;s <i>CreateLink <\/i>method.:<\/p>\n<p><font face=\"Courier New\">CreateLink (Property, Source[, Type])<\/font><\/p>\n<p>Where:<\/p>\n<ul>\n<li><i><b>Property<\/b><\/i>: name of the property for which the link will be created<\/li>\n<li><i><b>Source<\/b><\/i>: name of the link&#8217;s source object<\/li>\n<li><i><b>Type <\/b><\/i>(optional): type of link to be created. When this parameter is omitted, a simple link will be created<\/li>\n<\/ul>\n<p>Available options for <i>Type <\/i>parameter: <\/p>\n<p><b>0 &#8211; Simple Link:<\/b> source value is copied to the property whenever it is modified.&nbsp; <\/p>\n<p><b>1 &#8211; Bidirectional Link: <\/b>same as above; however, if the property changes, its value is copied to the source, thus generating a bidirectional link. <\/p>\n<p><b>2 &#8211; Analog Link:<\/b> establishes a conversion scale between the source&#8217;s variable and the property.&nbsp; <\/p>\n<p><b>3 &#8211; Digital Link:<\/b> fixed or alternant values are specified for the property, and they are attributed according to the source (true or false). <\/p>\n<p><b>4 &#8211; Table Link:<\/b> where conditions between variable, values, and destination can be established. Minimum and maximum values are specified on the table, in addition to other settings. <\/p>\n<p><b>5 &#8211; Reverse Link:<\/b> this is a unidirectional link from property to source. <\/p>\n<p><b>6 &#8211; Multiple Link:<\/b> this is similar to a table link, except that each line on the link is able to retrieve value from a different source.<\/p>\n<p>Sample script between a screen display and a demo tag, creating a simple link: <\/p>\n<div align=\"left\"><font face=\"Courier New\">Screen.Item(&#8220;Display&#8221;).Links.CreateLink &#8220;Value&#8221;, &#8220;Data.TagDemo1.Value&#8221;, 0<\/font><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Question: How can I create links between I\/O tags and objects already added to the screen, at runtime?Solution: To do so, use the object&#8217;s CreateLink method.: CreateLink (Property, Source[, Type])&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":[763],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KB-12286: Creating links at runtime. - 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\/kb12286-creating-links-at-runtime\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB-12286: Creating links at runtime.\" \/>\n<meta property=\"og:description\" content=\"Question: How can I create links between I\/O tags and objects already added to the screen, at runtime?Solution: To do so, use the object&#8217;s CreateLink method.: CreateLink (Property, Source[, Type])&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-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:34:01+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"KB-12286: Creating links at runtime.\",\"datePublished\":\"2019-03-25T20:34:01+00:00\",\"dateModified\":\"2019-03-25T20:34:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/\"},\"wordCount\":244,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Scripts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/\",\"url\":\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/\",\"name\":\"[:pt]KB-12286: Creating links at runtime.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:34:01+00:00\",\"dateModified\":\"2019-03-25T20:34:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB-12286: Creating links at runtime.\"}]},{\"@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-12286: Creating links at runtime. - 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\/kb12286-creating-links-at-runtime\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]KB-12286: Creating links at runtime.[:] - Elipse Knowledgebase","og_description":"Question: How can I create links between I\/O tags and objects already added to the screen, at runtime?Solution: To do so, use the object&#8217;s CreateLink method.: CreateLink (Property, Source[, Type])&hellip;","og_url":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:34:01+00:00","author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"KB-12286: Creating links at runtime.","datePublished":"2019-03-25T20:34:01+00:00","dateModified":"2019-03-25T20:34:01+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/"},"wordCount":244,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/","url":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/","name":"[:pt]KB-12286: Creating links at runtime.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:34:01+00:00","dateModified":"2019-03-25T20:34:01+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/kb12286-creating-links-at-runtime\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"KB-12286: Creating links at runtime."}]},{"@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\/1193"}],"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=1193"}],"version-history":[{"count":0,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1193\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=1193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=1193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=1193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}