Difference between revisions of "Template: EPPOQueries"
From Genesys Documentation
(Created page with "<!-- add link to HIW portal to HIW pages -->{{#cargo_query: tables=HIW |fields=CONCAT('Getting started with Genesys Multicloud CX') |where=HIW._page...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <!-- | + | <includeonly><!-- |
add link to HIW portal to HIW pages | add link to HIW portal to HIW pages | ||
Line 62: | Line 62: | ||
tables=Article,MintyDocsManual | tables=Article,MintyDocsManual | ||
|join on=Article._pageNamespace=MintyDocsManual._pageNamespace | |join on=Article._pageNamespace=MintyDocsManual._pageNamespace | ||
− | |fields=CONCAT(' | + | |fields=CONCAT('{{Link-AnywhereElse|product=PrivateEdition|version=Current|manual=PEGuide|display text=Suite-level guide}}') |
|where= | |where= | ||
− | Article._pageName="{{FULLPAGENAME}}" | + | MintyDocsManual._pageNamespace="{{NAMESPACENUMBER}}" |
+ | AND Article._pageName="{{FULLPAGENAME}}" | ||
AND Article.Manual=MintyDocsManual.Manual | AND Article.Manual=MintyDocsManual.Manual | ||
+ | AND Article.productshort=MintyDocsManual.product | ||
AND MintyDocsManual._pageName!="{{FULLPAGENAME}}" | AND MintyDocsManual._pageName!="{{FULLPAGENAME}}" | ||
AND MintyDocsManual._pageName NOT LIKE "%Boilerplate%" | AND MintyDocsManual._pageName NOT LIKE "%Boilerplate%" | ||
+ | AND MintyDocsManual.ServiceId IS NOT NULL | ||
|format=template | |format=template | ||
|template=ListItems | |template=ListItems | ||
Line 84: | Line 87: | ||
AND MintyDocsManual._pageName NOT LIKE "%Boilerplate%" | AND MintyDocsManual._pageName NOT LIKE "%Boilerplate%" | ||
AND Article._pageName NOT LIKE "%GEServices%" | AND Article._pageName NOT LIKE "%GEServices%" | ||
+ | AND MintyDocsManual.ServiceId IS NOT NULL | ||
|format=template | |format=template | ||
|template=ListItems | |template=ListItems | ||
Line 105: | Line 109: | ||
|format=template | |format=template | ||
|template=ListItems | |template=ListItems | ||
− | |default= | + | |default= |
{{#cargo_query: | {{#cargo_query: | ||
tables=ArticleCloudRN,MintyDocsManual,Article,Service | tables=ArticleCloudRN,MintyDocsManual,Article,Service | ||
Line 123: | Line 127: | ||
}} | }} | ||
|group by=ArticleIndexRN._pageName,Service.Name | |group by=ArticleIndexRN._pageName,Service.Name | ||
+ | }}<!-- | ||
+ | |||
+ | Adding link to Index RN and all services page on suite-level PE guide | ||
+ | |||
+ | -->{{#cargo_query: | ||
+ | tables=Article | ||
+ | |fields=CONCAT('{{Link-AnywhereElse|product=ReleaseNotes|version=Current|manual=GenesysEngage-cloud|topic=PrivateEdition|display text=Release Notes}}') | ||
+ | |where= | ||
+ | Article._pageName="{{FULLPAGENAME}}" | ||
+ | AND (Article.productshort="PrivateEdition" OR Article.productshort="Draft:PrivateEdition") | ||
+ | AND Article._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | |format=template | ||
+ | |template=ListItems | ||
+ | |default= | ||
+ | }}{{#cargo_query: | ||
+ | tables=Article | ||
+ | |fields=CONCAT('{{Link-AnywhereElse|product=PrivateEdition|version=Current|manual=PEGuide|topic=GEServices|display text=All services}}') | ||
+ | |where= | ||
+ | Article._pageName="{{FULLPAGENAME}}" | ||
+ | AND (Article.productshort="PrivateEdition" OR Article.productshort="Draft:PrivateEdition") | ||
+ | AND Article._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | AND (Article._pageName!="PrivateEdition/Current/PEGuide/GEServices" AND Article._pageName!="Draft:PrivateEdition/Current/PEGuide/GEServices") | ||
+ | |format=template | ||
+ | |template=ListItems | ||
+ | |default= | ||
}}<!-- | }}<!-- | ||
Line 183: | Line 212: | ||
|#default= | |#default= | ||
|Yes= | |Yes= | ||
+ | {{#cargo_query: <!-- Adding link to helm/containers RN page --> | ||
+ | tables=Article,ArticleHelmRN,Service | ||
+ | |join on= | ||
+ | Article._pageNamespace=ArticleHelmRN._pageNamespace, | ||
+ | ArticleHelmRN.ServiceId HOLDS Service.Id | ||
+ | |fields=CONCAT('[[',ArticleHelmRN._pageName,'|',ArticleHelmRN.DisplayName,']]') | ||
+ | |where= | ||
+ | {{#arraymap:{{{ServiceId|}}}|,|x|(Article._pageName="{{FULLPAGENAME}}" AND ArticleHelmRN.ServiceId HOLDS 'x')||OR }} | ||
+ | AND ArticleHelmRN._pageName != "{{FULLPAGENAME}}" | ||
+ | |format=template | ||
+ | |delimiter= | ||
+ | |template=ListItems | ||
+ | |default= | ||
+ | |group by=ArticleHelmRN._pageName,ArticleHelmRN.DisplayName | ||
+ | }} | ||
{{#if: <!-- check if page is IndexRN --> | {{#if: <!-- check if page is IndexRN --> | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 218: | Line 262: | ||
}} | }} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
| | | | ||
− | }}< | + | }}</includeonly> |