Customize Error Messages in your Web Applications Many developers want flexibility. Appropriately, they deserve it! One way to get flexibility within your m-Power applications is to customize your error messages. While m-Power generates generic terms such as "Invalid User" or "This record already exists" automatically, you can override these messages to something much more […]
Row Level Security
Row Level Security for m-Power Applications Row Level Security is a highly flexible technique for controlling which records are returned based on the current user. The following few steps demonstrate the technique. Create a security table and populate it with data. It may contain several records per user. Note: You must enter the username in […]
Use “Page Name” to show different outputs for one application
Use "Page Name" to show different outputs for one application Click here to access current documentation for this feature. Perhaps one of the greatest, little known features of m-Power is the use of the Pagename function. The Pagename function allows you to create any number of output pages, then be able to specify which output […]
Tags: Advanced, HTML, m-Painter, Page Names
Setting Up m-Power Applications to Handle Development & Production Data
Setting Up m-Power Applications to Handle Development & Production Data After developing applications, it makes good sense to promote these applications to a production environment. There are many documents that explain how to do that on this site. For example, Set up a production instance. However, this document covers something very different from just […]
Tags: Admin, Administration, Advanced, Data Dictionary, Database, Development, Production
Creating a Line Graph with a Static “Goal Line”
Creating Line Graphs with a Static "Goal Line" Often times when creating a Line Graph, you will have a need to create a "Goal Line" (or Reference Line) that will serve as a constant horizontal line to track if you have met a certain goal. Setting this up with a Report with Graph is […]
Change Variable Data Sources
Change Variable Data Source The data source is the definition of the database connection which includes: IP address DB type DB driver name User and password Special considerations, such as the library list Multiple data sources can be defined in the global Data Source Configuration file (/mrcjava/WEB-INF/classes/mrc-spring-context.xml). In each dictionary (/mrcjava/WEB-INF/classes/DD/mrc_servlet_config.xml), you can assign […]
Tags: Admin, Administration, Advanced, Database
Parameter Calculations
Parameter Calculations Parameter calculations are a great technique when you are trying to pass a value between multiple applications. For example, you would like to pass a value from the prompt page or URL to the output page to determine some conditional calculations. In our case, our calculation would accept a value, then a […]
Copy Calculations within m-Power
Copy Calculations This feature allows you to copy preexisting calculations quickly within the same application. Whether you need to copy one or one hundred, this is an easy and effective way to mass produce similar calculations. Copying Calcs in Retrievals, Reports & Graphs, and Maintenance Applications Enter the Calculations screen and create a calculation […]
Tags: Advanced, Calculations
Use Field Substitutions within HTML Attributes and Inline Styles
Use Field Substitutions within HTML Attributes and Inline Styles m-Painter allows field substitution parameters within HTML attributes and CSS styles. This document will help to explain how m-Painter can be used with field substitutions. Some HTML attributes accept any character data as valid; for example, title, alt, and class can be set to any […]
Tags: Advanced, Conditional Calculations, CSS, HTML, m-Painter
Search
Browse By Category
Build Process (13)Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)