{"id":553,"date":"2008-02-29T03:45:36","date_gmt":"2008-02-29T09:45:36","guid":{"rendered":"http:\/\/www.mrc-productivity.com\/docs\/?page_id=553"},"modified":"2021-09-29T10:57:58","modified_gmt":"2021-09-29T15:57:58","slug":"displaying-system-variables-at-run-time-2","status":"publish","type":"ht_kb","link":"https:\/\/www.mrc-productivity.com\/docs\/knowledge-base\/displaying-system-variables-at-run-time-2","title":{"rendered":"Displaying System Variables at Run Time"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Overview<\/h3>\n\n\n\n<p>There are numerous times when a developer needs to display System Variables within a Web Application.  This can be done easily through the calculation screen.  Simply create a System Variable Calculation.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/docs\/vue-images\/currentdatecalc.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Simply select &#8220;System Value&#8221; from the &#8220;Calc Type&#8221; dropdown list.  Next, specify a description for this calculation.  Lastly, pick one of the available system values.  Click &#8220;Save calculation&#8221;.<\/p>\n\n\n\n<p>After completing the build process of your application, you will see an output screen similar to this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/docs\/vue-images\/systemvariable.png\"><img decoding=\"async\" src=\"\/docs\/vue-images\/systemvariable.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>The same method can be used for retrieving the:<\/p>\n\n\n\n<p>\u00b7 Current Date (Alpha or Numeric)<\/p>\n\n\n\n<p>\u00b7 Current Time<\/p>\n\n\n\n<p>\u00b7 Username (username will only be pulled if the mrcSignon logic has been implemented)<\/p>\n\n\n\n<p>\u00b7 Session ID<\/p>\n\n\n\n<p>\u00b7 Data Dictionary<\/p>\n\n\n\n<p>\u00b7 Program Name<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview There are numerous times when a developer needs to display System Variables within a Web Application. This can be done easily through the calculation screen. Simply create a System Variable Calculation. Simply select &#8220;System Value&#8221; from the &#8220;Calc Type&#8221; dropdown list. Next, specify a description for this calculation. Lastly,&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[266],"ht-kb-tag":[],"class_list":["post-553","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-general"],"_links":{"self":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/comments?post=553"}],"version-history":[{"count":7,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/553\/revisions"}],"predecessor-version":[{"id":10960,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/553\/revisions\/10960"}],"wp:attachment":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/media?parent=553"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=553"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}