Difference between revisions of "Template: ArticleCloudRN"
From Genesys Documentation
(Update package: RN Automation) |
(Update package: RN Automation: Data Structure) |
||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{ArticleCloudRN | {{ArticleCloudRN | ||
+ | |ServiceId= | ||
|ComponentId= | |ComponentId= | ||
|DeploymentTypeId= | |DeploymentTypeId= | ||
Line 14: | Line 15: | ||
{{#cargo_declare:_table=ArticleCloudRN | {{#cargo_declare:_table=ArticleCloudRN | ||
+ | |ServiceId=String | ||
|ComponentId=List (,) of String | |ComponentId=List (,) of String | ||
|DeploymentTypeId=List (,) of String | |DeploymentTypeId=List (,) of String | ||
Line 22: | Line 24: | ||
<includeonly>{{#css: .MintyDocsTopicDesc {display:none} }}[[Category:ArticleCloudRN]]__TOC__ | <includeonly>{{#css: .MintyDocsTopicDesc {display:none} }}[[Category:ArticleCloudRN]]__TOC__ | ||
__NOEDITSECTION__{{#cargo_store:_table=Article|Standalone={{{Standalone}}}|productshort={{#explode:{{FULLPAGENAME}}|/|0}}|DisplayName={{{DisplayName|}}}|Context={{{Context|}}}}}{{#cargo_store:_table=ArticleCloudRN | __NOEDITSECTION__{{#cargo_store:_table=Article|Standalone={{{Standalone}}}|productshort={{#explode:{{FULLPAGENAME}}|/|0}}|DisplayName={{{DisplayName|}}}|Context={{{Context|}}}}}{{#cargo_store:_table=ArticleCloudRN | ||
+ | |ServiceId={{{ServiceId|}}} | ||
|ComponentId={{{ComponentId|}}} | |ComponentId={{{ComponentId|}}} | ||
|DeploymentTypeId={{{DeploymentTypeId|}}} | |DeploymentTypeId={{{DeploymentTypeId|}}} | ||
Line 28: | Line 31: | ||
|display name={{{DisplayName|}}} | |display name={{{DisplayName|}}} | ||
|toc name={{{TocName|}}} | |toc name={{{TocName|}}} | ||
− | }}}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|Role={{{Role|}}}|ComingSoon={{{ComingSoon|}}}|Dimension={{{Dimension|}}}|Context=Not all releases or changes listed below may pertain to your deployment. | + | }}}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|Role={{{Role|}}}|ComingSoon={{{ComingSoon|}}}|Dimension={{{Dimension|}}}|Context=Not all releases or changes listed below may pertain to your deployment. Check the table below to see which releases apply to you. |
+ | |UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list --> | ||
− | + | {{#cargo_query: | |
− | + | tables=ArticleCloudRN__ComponentId,ArticleCloudRN,Component,ComponentRN__ComponentId,ComponentRN,DeploymentType | |
− | + | |join on=ArticleCloudRN__ComponentId._value=Component.Id,ArticleCloudRN__ComponentId._rowID=ArticleCloudRN._ID,ArticleCloudRN__ComponentId._value = ComponentRN__ComponentId._value,ComponentRN__ComponentId._rowID=ComponentRN._ID,ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id | |
+ | |fields=Component.Name=Service,CONCAT('[[',ArticleCloudRN._pageName,'#',DATE_FORMAT(ReleaseDate,'%M %d, %Y'),'|',DATE_FORMAT(ReleaseDate,'%M %d, %Y'),']]')=Release Date,CONCAT('[[File:',Image,'|80px]]')=Supported Cloud,Highlight=Highlights,ComponentId=ComponentId,ReleaseDate=ReleaseDate | ||
+ | |where=(ComponentRN__ComponentId._value IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | |intro=<table><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>Service</th>}} | ||
+ | <th>Release Date</th><th>Supported Cloud</th><th>Highlights</th></tr> | ||
+ | |outro=</table> | ||
+ | |format=template | ||
+ | |template=PrintTopRN | ||
+ | |named args=yes | ||
+ | |group by=ReleaseNumber | ||
+ | |order by=ComponentRN.ReleaseDate DESC | ||
+ | }} | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 40: | Line 55: | ||
|format=template | |format=template | ||
|template=RNPrint | |template=RNPrint | ||
− | |where=(ComponentRN__ComponentId._value IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) | + | |where=(ComponentRN__ComponentId._value IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" |
|named args=yes | |named args=yes | ||
|group by=ReleaseNumber | |group by=ReleaseNumber |
Revision as of 21:03, March 22, 2021
This is the "ArticleCloudRN" template.
It should be called in the following format:
{{ArticleCloudRN |ServiceId= |ComponentId= |DeploymentTypeId= |ReleaseTypeId= }}
Edit the page to see the template text.
This template defines the table "ArticleCloudRN". View table.