This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
en:mobile:setup:server_side:dashboard [2020/08/20 23:58] – [7. Setting up the mSupply Mobile app dashboard] Mark Glover | en:mobile:setup:server_side:dashboard [2020/08/21 00:04] (current) – [Mobile specific dashboard configuration] Mark Glover |
---|
| |
^ Property ^ Values ^ Description ^ | ^ Property ^ Values ^ Description ^ |
| //isMobile// | ''True'' or ''False'' | This is the important one! This enables or disables sending this report to your mobile sites.\\ When //isMobile// is ''True'', a Mobile dashboard report is generated, and <wrap em>no</wrap> [[https://docs.msupply.org.nz/web_interface:dashboard_using#legacy_web_dashboard|legacy (non-grafana) mSupply web dashboard]] report is generated.\\ When //isMobile// is ''False'', a [[https://docs.msupply.org.nz/web_interface:dashboard_using#legacy_web_dashboard|legacy (non-grafana) mSupply web dashboard]] report is generated and <wrap em>no</wrap> Mobile dashboard report is generated.| | | //isMobile// | ''True'' or ''False'' | This is the important one! This enables or disables sending this report to mobile sites.\\ When //isMobile// is ''True'', [[en:mobile:user_guide:mobile_dashboard|Mobile dashboard]] reports are generated, and <wrap em>no</wrap> [[https://docs.msupply.org.nz/web_interface:dashboard_using#legacy_web_dashboard|legacy (non-grafana) mSupply web dashboard]] report is generated.\\ When //isMobile// is ''False'', a [[https://docs.msupply.org.nz/web_interface:dashboard_using#legacy_web_dashboard|legacy (non-grafana) mSupply web dashboard]] report is generated and <wrap em>no</wrap> [[en:mobile:user_guide:mobile_dashboard|Mobile dashboard]] reports are generated.| |
| //reportType// | ''Table'', ''BarChart'', ''LineChart'' or ''PieChart'' | The report display type. When the //reportType// parameter is not set the data displays as a ''Table'' by default. This parameter is mobile specific. | | | //reportType// | ''Table'', ''BarChart'', ''LineChart'' or ''PieChart'' | The report display type. This parameter is mobile specific, but needs to be consistent with the report method's 'type'. If the //reportType// parameter is not set, it defaults to ''Table''.| |
| //#[report property]// | ''[field on store table]'' | This allows you to pick a value from the [[https://docs.msupply.org.nz/tables_fields:other_tables:store|store table]], which is therefore store specific, and assign the value to the ''report property''. In this way you can create a report which is customised to each store. The ''report property'' must exist in your report for this to work. See [[https://docs.msupply.org.nz/web_interface:dashboard_setup#available_dashboard_reports|report options]] for available reports and properties. See example below | | | //#[report property]// | ''[field on store table]'' | This allows you to pick a value from the [[https://docs.msupply.org.nz/tables_fields:other_tables:store|store table]], which is therefore store specific, and assign the value to the ''report property''. In this way you can create a report which is customised to each store. The ''report property'' must exist in your report for this to work. See [[https://docs.msupply.org.nz/web_interface:dashboard_setup#available_dashboard_reports|report options]] for available reports and properties. See example below | |
| |