Template:MDBTutorialViewPropertiesAndContext

From Mea Wiki
Jump to navigation Jump to search

Example: Defining View Properties and Variables

  1. Creating a new QPR UI view starts by defining the Name and View Context. These are defined in the view properties that is opened by clicking the Properties button:
    OpenViewProperties.png
  2. First, give your view a Name and a Description. Then, click Presentation:
    ViewProperties.png
  3. On the Presentation tab, change the Background color. Set also the Outer margin to be "5", this setting will make the panels be closer to each other than with the default setting. After that, click Context:
    ViewPresentationTab.png
  4. The context defines the starting points for later querying data from QPR EnterpriseArchitect/ProcessDesigner, QPR Metrics, and/or QPR ProcessAnalyzer. Define the context by selecting values for the context variables by first selecting a variable from the drop-down menu and then tapping the edit icon on the Value column:
    ViewContext.png
  5. To define context variables, type in the name of the variable to the text field and click the check mark. After that, you can click the value field and type in the value for your context variable. Context variables starting with "sys:" are system context variables which have special purpose in QPR UI - use them only for their intended purpose. The Behavior selection affects the context variable used explained in Context Variable Behaviors. To see what context variable values are used in the view, panel, or presentation object, select the Show effective context check box in the Context tab of the view, panel, or presentation object properties pages.