Template: GCXI Metrics Display

From Genesys Documentation
Revision as of 17:00, April 29, 2022 by WikiSysop (talk | contribs)
Jump to: navigation, search

Query template to generate the display of metrics information in the GCXI Project Guide, by subfolder. The template calls sub-queries in Template:GCXI_Metrics_DisplayList and Template:GCXI_Metrics_DisplayDetails to generate the list of links at the top of the page and the details, respectively.

Content is:

{{#switch:{{NAMESPACENUMBER}}
|620={{NoteFormat| '''Tip for Writer:''' To edit the template-generated content of this page, go to [[Draft:PEC-REP/Library/GCXIPRGLibrary/{{#explode:{{FULLPAGENAME}}|/|3}}|the equivalent page in the Library book]].

(This tip appears only on draft versions of this page.)|2}}
|#default=}}
The following Metrics are available in this folder and are described on this page.
{{AnchorDiv|MetricsList}}
{{ColumnFormat|cols=3|content=
{{#cargo_query:
tables=GCXI_Folder
|fields=folderName=folder,CONCAT('{{FULLPAGENAME}}')=page
|where=_pageName LIKE "{{#sub:{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}PEC-REP/Library/GCXIPRGLibrary/{{#explode:{{FULLPAGENAME}}|/|3}}|0|-7}}"
|format=template
|template=GCXI_Metrics_DisplayList
|order by=folder ASC
|named args=yes
}}
}}
{{#cargo_query:
tables=GCXI_Folder
|fields=folderName=folder,CONCAT('{{FULLPAGENAME}}')=page
|where=_pageName LIKE "{{#sub:{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}PEC-REP/Library/GCXIPRGLibrary/{{#explode:{{FULLPAGENAME}}|/|3}}|0|-7}}"
|format=template
|template=GCXI_Metrics_DisplayDetails
|order by=folder ASC
|named args=yes
}}



The following Metrics are available in this folder and are described on this page.


A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `folderName` AS `folder`,CONCAT('Template:GCXI Metrics Display') AS `page` FROM `cargo__GCXI_Folder` WHERE GCXI_Metric.cloud='no' ORDER BY `folder` LIMIT 100 Function: CargoSQLQuery::run Error: 1054 Unknown column 'GCXI_Metric.cloud' in 'where clause' (127.0.0.1)

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `folderName` AS `folder`,CONCAT('Template:GCXI Metrics Display') AS `page` FROM `cargo__GCXI_Folder` WHERE GCXI_Metric.cloud='no' ORDER BY `folder` LIMIT 100 Function: CargoSQLQuery::run Error: 1054 Unknown column 'GCXI_Metric.cloud' in 'where clause' (127.0.0.1)

Retrieved from "https://all.docs.genesys.com/Template:GCXI_Metrics_Display (2026-02-11 10:48:28)"