mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Data Exploration Reporting Business Intelligence Dashboards Mobile Apps ERP Enhancements Modernization Spreadsheets to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Database Front-Ends
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Overview Training Project Consulting Staff Consulting Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • m-Power Administration
  • Global Application Properties
Back to Manual

Configuring Global Application Properties

Click here to access legacy documentation for this feature

As you may know, the majority of an application's behavior is controlled via the Application Properties file, found within each specific application. This design, while giving developers maximum control and flexibility, can sometimes frustrate developers who would like to globally control some of these properties across all of their m-Power applications. For instance:

  • You would like all of your applications to default to display 50 rows, instead of the default (10 rows).
  • You would like to default the redirection page of a report sent via email to a specific page, rather than the default (mrc's website).
  • You dislike the m-Power default graphing colors and would like to default to your corporate color palette

Developers who are interested in adding this type of functionality can now do so at the Data Dictionary level. To illustrate, lets walk-through changing the Default Rows property to make all applications with this property set to 50 row.

Begin by opening the "Admin" right-side slider. Drill down on "Dictionary Configuration" and select "Interface and Build Settings". Finally, choose the "Default Properties" tab.

Interface and Build Settings

Default Properties

Here you will choose the App Type, Template and lastly the Property. These are cascading options, so you must choose an App Type prior to Template and Template prior to Property. For our example, we will choose the Retrieval App Type, Multiple Row Data List template and the Default Row Count property. Click "Add" to choose the default value.

Default Properties

Note: Any template that shares this property will be affected, not just the selected template. The selected template is simply a method of narrowing the property to default. Any new application compiled will now inherit this default property. Additionally, if an existing application has its App Properties reset, the property will be honored.

Question: I've set up a fair amount of work for my global properties in Dictionary A, but now I've made Dictionary B and now they are not there. How can I easily copy these over?
Answer: The underlying changes were made to the file mpower-config-DICTIONARY.xml in /m-power/proddata/conf (where DICTIONARY is your Data Dictionary's name). Simply copy the entire "<Default_Properties>" section and paste it into your new Dictionary's configuration file.

Created: February 12, 2014 | Modified: July 15, 2020

Search


Browse By Category

Build Process (14)
Starting with m-Power (8)
Retrievals (10)
Reports (14)
Summaries (4)
Maintainers (18)
Graphs (8)
m-Power Data Explorer (4)
General (21)
Calculations (5)
Utilities (8)
m-Power Administration (20)
Security (11)
Freemarker (6)
m-Painter (27)
Form Validation (5)
External Objects & UDFs (11)
Deprecated Documentation (33)
Bootstrap Templates (7)

Popular Tags

Excel mrc-Productivity Series Retrievals Maintainer Tomcat Bootstrap Templates Java External Objects Report Dates DB2 Maintainers Graph Properties Graphs Bar Graphs RPG Getting Started Admin Security Dropdowns Summaries Freemarker App Properties Administration Email Application Properties UDF Graphing Advanced Calculations Retrieval m-Power Reports Popular Data Dictionary SQL m-Painter Parameters Production Database Record Selections Form Validation Video Compiling Prompt Screens

See all tags »

michaels, ross & cole, ltd. (mrc)
Privacy Settings Privacy Policy Cookie Policy Employee Intranet
© 2018 mrc. All rights reserved.
mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566