Template: GCXI Folder Display

From Genesys Documentation
Jump to: navigation, search

Query template to generate the display of folder information in the GCXI Project Reference/Universe Guide. The |where condition switches to select source content from different Library versions depending on the version of the page from which the template call originates. This template contains two direct queries to (a) generate the linked list of folders at the top of the page and then (b) provide descriptions for each folder. The template also calls a supplementary query, Template:GCXI_ReportsList, to generate the list of Reports at the bottom of the page.

The folder descriptions query uses a formatting template. This query template accepts an optional parameter, |formatTemplate, to specify the formatting template to use. The default formatting template is Template:GCXI_Folder_DisplayFormat.

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=}}
{{NoteFormat|Use this document for Genesys CX Insights Multicloud deployments.  For information relevant to Genesys CX Insights on-premises deployments, see the [https://docs.genesys.com/Documentation/GCXI/9.0.0/PG/{{#explode:
{{#replace:{{FULLPAGENAME}}| |_}}|/|-1}} corresponding page] in the ''Genesys CX Insights on-premises Projects Reference Guide''. }}
{{#if:{{{intro|}}}|{{{intro}}}|}}
This folder contains the following root folder and subfolders.
{{AnchorDiv|FolderList}}
{{ColumnFormat|cols=3|content=
{{#cargo_query:
tables=GCXI_Folder
|fields=CONCAT('[[{{FULLPAGENAME}}#',anchor,'|',folderName,']]')
|where=_pageName LIKE "{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}PEC-REP/Library/GCXIPRGLibrary/{{#explode:{{FULLPAGENAME}}|/|3}}" {{#switch: {{#explode:{{FULLPAGENAME}}|/|2}} | GCXIMCPRG = AND (GCXI_Folder.cloud LIKE "yes" OR GCXI_Folder.cloud IS NULL) | GCXIPRG = AND (GCXI_Folder.premise LIKE "yes" OR GCXI_Folder.premise IS NULL) | #default= }}
|format=ul
|order by=folderName ASC
}}
}}
{{#cargo_query:
tables=GCXI_Folder
|fields=folderName=folderName,longDesc=longDesc,introduced=introduced,modified=modified,discontinued=discontinued,anchor=anchor,cloud=cloud,premise=premise,project=project,notproject=notproject
|where=_pageName LIKE "{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}PEC-REP/Library/GCXIPRGLibrary/{{#explode:{{FULLPAGENAME}}|/|3}}" {{#switch: {{#explode:{{FULLPAGENAME}}|/|2}} | GCXIMCPRG = AND (GCXI_Folder.cloud LIKE "yes" OR GCXI_Folder.cloud IS NULL) | GCXIPRG = AND (GCXI_Folder.premise LIKE "yes" OR GCXI_Folder.premise IS NULL) | #default= }}
|intro={{{!}}
|outro={{!}}}
|format=template
|template={{#if:{{{formatTemplate|}}}|{{{formatTemplate}}}|GCXI_Folder_DisplayFormat}}
|named args=yes
}}
==Reports built primarily from the objects in the {{#cargo_query:
tables=GCXI_Folder
|fields=SUBSTRING_INDEX(folderName,'>',1)
|where=_pageName LIKE "{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}PEC-REP/Library/GCXIPRGLibrary/{{#explode:{{FULLPAGENAME}}|/|3}}" {{#switch: {{#explode:{{FULLPAGENAME}}|/|2}} | GCXIMCPRG = AND (GCXI_Folder.cloud LIKE "yes" OR GCXI_Folder.cloud IS NULL) | GCXIPRG = AND (GCXI_Folder.premise LIKE "yes" OR GCXI_Folder.premise IS NULL) | #default= }}
|group by=SUBSTRING_INDEX(folderName,'>',1)
}} folder and subfolders==
{{ColumnFormat|cols=2|content={{GCXI_ReportsList}} }}



Important
Use this document for Genesys CX Insights Multicloud deployments. For information relevant to Genesys CX Insights on-premises deployments, see the corresponding page in the Genesys CX Insights on-premises Projects Reference Guide.

This folder contains the following root folder and subfolders.


No results

No results

Reports built primarily from the objects in the No results folder and subfolders[edit source]

No results

Retrieved from "https://all.docs.genesys.com/Template:GCXI_Folder_Display (2024-04-25 12:05:10)"