1. Home
  2. Knowledge Base
  3. General
  4. Control Data Output on Page Load

Control Data Output on Page Load

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 selection, then press “Filter.”

Two common benefits of this feature are:

  • Reducing the need for prompt maintainers to serve as an initial search screen.
  • Allowing users the chance to first search an Interactive or Pivot Report prior to loading all data.

The m-Power templates that contain this feature are:

  • Multiple Row Data List
  • Interactive Report
  • Pivot Table Report
  • Data List with Web Form Maintainer
  • Grid Update Maintainer

Activating this Feature

To enable this feature, go to Application Properties -> Program Options. Find the property for “Display Data on Page Load.” Set this option to “No.” Press “Save Application Properties.”

When you run your application, you will see a screen that looks like this:

Once a user makes a selection or clicks the “Filter” icon, they will be shown their result set.

Additional Notes

  • Unless custom client scripting is added, users can simply click “Filter” to see all data.
  • Passing any parameter across the URL assumes that the user has already made their selection and will automatically display data.
Updated on April 26, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support