Die BPC Version 4.1 wird nicht mehr gewartet.

Sollten Sie diese BPC Version nutzen, empfehlen wir Ihnen eine Migration auf eine aktuelle Version. Die Dokumentation zur neusten BPC Version finden Sie hier. Sollten Sie Fragen haben, wenden Sie sich bitte an unseren Support.

Monitor Wrapper Plugin

This plugin displays a complete monitor—but without the module header and toolbar—within the plugin itself.

Configuration

moduleId

You must specify at least the ID of the monitor to be displayed in the plugin configuration.

{
   "moduleId": "MONITOR_ID"
}

wrapperConfiguration

Additional parameters can be configured to set up the wrapper object. This is useful, for example, if you want to define a title when displaying the object within a TabPanel.

{
   "moduleId": "MONITOR_ID",
   "wrapperConfiguration": {
      "title": "Ein Monitortitel",
      "iconCls": "x-fa fa-fire"
   }
}

hideMonitorLinkBtn

(Optional, Boolean). If this value is set to true, the button for navigating to the Monitor module is hidden.

{
  "moduleId": "MONITOR_ID",
  "hideMonitorLinkBtn": true
}

monitorLinkBtnPosition

(Optional, String, Default "tr-tr"). This value can be used to change the position of the button for navigating to the Monitor module.

For possible options, see ExtJS Documentation.

{
  "moduleId": "MONITOR_ID",
  "monitorLinkBtnPosition": "tl-tl"
}

Monitor Configuration

The monitor to be displayed can also be customized via the configuration. The entire state can be defined using a State object.

{
   "moduleId": "MONITOR_ID",
   "monitorConfiguration": {
      "moduleCfg": {
         "state": {
            "storeState": {
               "filters": [
                  {
                     "property": "MONITOR_SPALTE",
                     "source": "raw",
                     "value": [
                        "FILTER_WERT"
                     ]
                  }
               ]
            }
         }
      }
   }
}

It is also possible to reference a view that has already been configured.

{
   "moduleId": "MONITOR_ID",
   "monitorConfiguration": {
      "moduleCfg": {
         "stateId": "ZIEL_STATE_ID"
      }
   }
}

Context Information

If the hook (such as the detail view hook ) makes a data record available via the context using the record attribute, this can be accessed in the monitor configuration.

{
   "moduleId": "MONITOR_ID",
   "monitorConfiguration": {
      "moduleCfg": {
         "state": {
            "storeState": {
               "filters": [
                  {
                     "property": "MONITOR_SPALTE",
                     "source": "raw",
                     "value": [
                        "record.DATENSATZ_FELD_NAME"
                     ]
                  }
               ]
            }
         }
      }
   }
}

Keywords: