{"id":4674,"date":"2012-06-19T00:00:33","date_gmt":"2012-06-19T05:00:33","guid":{"rendered":"http:\/\/www.mrc-productivity.com\/docs\/?page_id=4674"},"modified":"2023-04-26T12:30:06","modified_gmt":"2023-04-26T17:30:06","slug":"control-data-output-on-page-load","status":"publish","type":"ht_kb","link":"https:\/\/www.mrc-productivity.com\/docs\/knowledge-base\/control-data-output-on-page-load","title":{"rendered":"Control Data Output on Page Load"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Overview<\/h3>\n\n\n\n<p>m-Power allows developers to disable certain m-Power templates from automatically displaying data on page load. When this is set, end-users who load an application will be presented with a standard m-Power page, however, it will be void of data. To make data appear, the end-user needs to enter a selection, then press &#8220;Filter.&#8221;<\/p>\n\n\n\n<p>Two common benefits of this feature are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reducing the need for prompt maintainers to serve as an initial search screen.<\/li>\n\n\n\n<li>Allowing users the chance to first search an Interactive or Pivot Report prior to loading all data.<\/li>\n<\/ul>\n\n\n\n<p>The m-Power templates that contain this feature are:<\/p>\n\n\n\n<ul class=\"padleft wp-block-list\">\n<li>Multiple Row Data List<\/li>\n\n\n\n<li>Interactive Report<\/li>\n\n\n\n<li>Pivot Table Report<\/li>\n\n\n\n<li>Data List with Web Form Maintainer<\/li>\n\n\n\n<li>Grid Update Maintainer<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Activating this Feature<\/h3>\n\n\n\n<p>To enable this feature, go to Application Properties -> Program Options. Find the property for  &#8220;Display Data on Page Load.&#8221; Set this option to &#8220;No.&#8221; Press &#8220;Save Application Properties.&#8221; <\/p>\n\n\n\n<p>When you run your application, you will see a screen that looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.mrc-productivity.com\/docs\/images\/PageLoad11.jpg\"><img decoding=\"async\" src=\"https:\/\/www.mrc-productivity.com\/docs\/vue-images\/makeASelection.jpg\" alt=\"\" title=\"Page Load Screenshot\"\/><\/a><\/figure>\n\n\n\n<p>Once a user makes a selection or clicks the &#8220;Filter&#8221; icon, they will be shown their result set.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Additional <strong>Notes<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unless custom client scripting is added, users can simply click &#8220;Filter&#8221; to see all data.<\/li>\n\n\n\n<li>Passing any parameter across the URL assumes that the user has already made their selection and will automatically display data.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview m-Power allows developers to disable certain m-Power templates from automatically displaying data on page load. When this is set, end-users who load an application will be presented with a standard m-Power page, however, it will be void of data. To make data appear, the end-user needs to enter a&#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-4674","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\/4674","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=4674"}],"version-history":[{"count":22,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/4674\/revisions"}],"predecessor-version":[{"id":12689,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/4674\/revisions\/12689"}],"wp:attachment":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/media?parent=4674"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=4674"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=4674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}