Difference between revisions of "Template: ArticleCloudRN"
From Genesys Documentation
production>Bgrenon (removing cruft (by SublimeText.Mediawiker)) |
|||
Line 41: | Line 41: | ||
|UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article|DepGuideServiceId={{{DepGuideServiceId|}}}|ServiceId={{{ServiceId|}}}}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list --><!-- removing toggle display for now<div class="toggle-wrap"> | |UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article|DepGuideServiceId={{{DepGuideServiceId|}}}|ServiceId={{{ServiceId|}}}}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list --><!-- removing toggle display for now<div class="toggle-wrap"> | ||
<toggledisplay linkstyle font-size:larger showtext="Quick lookup table" hidetext="Quick lookup table"> | <toggledisplay linkstyle font-size:larger showtext="Quick lookup table" hidetext="Quick lookup table"> | ||
− | <div class="toggle-content"> -->{{NoteFormat|The Release table lists the initial availability date for each release and the deployment environments for which a release is made available. Except when otherwise stated in the description for a specific release, each release includes all of the features and resolved issues that were introduced on earlier dates, regardless of the deployment environment. The features and resolved issues that apply only to a specific deployment environment are noted as such.}}{{#cargo_query: | + | <div class="toggle-content"> -->{{NoteFormat|The Release table lists the initial availability date for each release and the deployment environments for which a release is made available. Except when otherwise stated in the description for a specific release, each release includes all of the features and resolved issues that were introduced on earlier dates, regardless of the deployment environment. The features and resolved issues that apply only to a specific deployment environment are noted as such.}} |
− | tables= | + | <!-- setting up list of releases table --> |
− | |join on= | + | {{#cargo_query:tables= |
− | |fields= | + | ArticleCloudRN, |
− | |where=( | + | ComponentRN, |
− | | | + | ComponentRN__DeploymentTypeId |
− | + | |join on= | |
− | | | + | ArticleCloudRN.ComponentId HOLDS ComponentRN.ComponentId, |
+ | ComponentRN._ID =ComponentRN__DeploymentTypeId._rowID | ||
+ | |fields= | ||
+ | ComponentRN.ComponentId, | ||
+ | ComponentRN.ReleaseNumber, | ||
+ | ComponentRN.ReleaseDate, | ||
+ | ComponentRN.Highlight, | ||
+ | ComponentRN.HighlightBoilerplateId | ||
+ | |where=ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | AND ComponentRN._pageNamespace=ArticleCloudRN._pageNamespace | ||
+ | AND (ComponentRN.ComponentId IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) | ||
+ | AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) | ||
+ | |limit=10000 | ||
+ | |order by=ComponentRN.ReleaseDate DESC | ||
+ | |group by=ComponentRN.ComponentId, | ||
+ | ComponentRN.ReleaseNumber, | ||
+ | ComponentRN.ReleaseDate, | ||
+ | ComponentRN.Highlight, | ||
+ | ComponentRN.HighlightBoilerplateId | ||
+ | |named args=yes | ||
|format=template | |format=template | ||
|template=PrintTopRN | |template=PrintTopRN | ||
− | | | + | |intro= |
− | | | + | <table class="sortable" style="font-size:90%"> |
− | | | + | <tr> |
+ | {{#ifeq:{{#cargo_query:tables=ArticleCloudRN,ArticleCloudRN__ComponentId|join on=ArticleCloudRN._ID=ArticleCloudRN__ComponentId._rowID|fields=COUNT(*)|where=ArticleCloudRN._pageName="{{FULLPAGENAME}}" AND ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}"|no html}}|1||<th rowspan="2" style="width:15%">Service</th>}} | ||
+ | <th rowspan="2" style="width:12%">Available</th> | ||
+ | <th colspan="3" style="text-align: center>Genesys CX on</th> | ||
+ | <th rowspan="2">Private edition</th> | ||
+ | <th rowspan="2">Highlights</th> | ||
+ | <th rowspan="2">Release</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th>AWS</th> | ||
+ | <th>Azure</th> | ||
+ | <th>GCP</th> | ||
+ | <tr> | ||
+ | |outro=</table> | ||
}} | }} | ||
− | <!-- | + | <!-- printing content of indivual release note entries --> |
− | |||
− | |||
{{#cargo_query: | {{#cargo_query: | ||
− | tables=Issue,ComponentRN, | + | tables=Issue, |
− | |join on=Issue._pageName=ComponentRN._pageName, | + | ComponentRN, |
− | |fields=ComponentId=Component,ComponentRN.ReleaseNumber=ReleaseNumber,ComponentRN.ReleaseDate=ReleaseDate,PrivateEditionReleaseDate,ComponentRN._pageName=Page,Component.Name=ComponentName | + | ComponentRN__DeploymentTypeId, |
+ | Component | ||
+ | |join on=Issue._pageName=ComponentRN._pageName, | ||
+ | ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID, | ||
+ | ComponentRN.ComponentId=Component.Id | ||
+ | |fields=ComponentId=Component, | ||
+ | ComponentRN.ReleaseNumber=ReleaseNumber, | ||
+ | ComponentRN.ReleaseDate=ReleaseDate, | ||
+ | PrivateEditionReleaseDate, | ||
+ | ComponentRN._pageName=Page, | ||
+ | Component.Name=ComponentName | ||
|format=template | |format=template | ||
|template=RNPrint | |template=RNPrint | ||
− | |where=( | + | |where=(ComponentRN.ComponentId IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) |
+ | AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) | ||
+ | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
|named args=yes | |named args=yes | ||
|order by=ComponentRN.ReleaseDate DESC | |order by=ComponentRN.ReleaseDate DESC | ||
|group by=ComponentRN._pageName | |group by=ComponentRN._pageName | ||
}} | }} | ||
− | |||
Line 78: | Line 119: | ||
{{{AzureBoilerplate|}}} | {{{AzureBoilerplate|}}} | ||
− | |||
− | |||
{{#css: | {{#css: | ||
Line 94: | Line 133: | ||
<!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css: | <!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css: | ||
button#version-dropdown { display: none; } | button#version-dropdown { display: none; } | ||
− | }}|#default=}}[[Category:Linkable]]<nowiki /></includeonly><noinclude>[[Category:RNAutomation]]</noinclude> | + | }}|#default=}}[[Category:Linkable]]<nowiki /></includeonly><noinclude>[[Category:RNAutomation]][[Category:ComponentRN.ComponentId cleanup]]</noinclude> |
Revision as of 17:32, May 20, 2022
This is the "ArticleCloudRN" template.
It should be called in the following format:
{{ArticleCloudRN |ServiceId= |DepGuideServiceId= |ComponentId= |DeploymentTypeId= |ReleaseTypeId= |Footer= }}
Edit the page to see the template text.
This template defines the table "ArticleCloudRN". View table. This template adds rows to the table "Article", which is declared by the template Article. View table.