Difference between revisions of "Template: ArticleCloudRN"

From Genesys Documentation
Jump to: navigation, search
(Update package: RN Automation)
 
(Update package: RN Automation)
Line 6: Line 6:
 
{{ArticleCloudRN
 
{{ArticleCloudRN
 
|ComponentId=
 
|ComponentId=
|Platform=
+
|DeploymentTypeId=
|DisplayName=
 
|TocName=
 
|Dimension=
 
|Context=
 
|Product=
 
|ProductShort=
 
|ComingSoon=
 
|Role=
 
|Manual=
 
|Application=
 
|UseCase=
 
|Prereq=
 
 
}}
 
}}
  
Line 26: Line 14:
 
{{#cargo_declare:_table=ArticleCloudRN
 
{{#cargo_declare:_table=ArticleCloudRN
 
|ComponentId=List (,) of String
 
|ComponentId=List (,) of String
|Platform=String
+
|DeploymentTypeId=List (,) of String
|DisplayName=String
 
|TocName=String
 
|Dimension=String
 
|Context=Wikitext (size=10000)
 
|Product=String
 
|ProductShort=String
 
|ComingSoon=String
 
|Role=String
 
|Manual=String
 
|Application=String
 
|UseCase=String
 
|Prereq=Wikitext (size=10000)
 
 
}}
 
}}
  
Line 45: Line 21:
 
__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
 
|ComponentId={{{ComponentId|}}}
 
|ComponentId={{{ComponentId|}}}
|Platform={{{Platform|}}}
+
|DeploymentTypeId={{{DeploymentTypeId|}}}
|DisplayName={{{DisplayName|}}}
 
|TocName={{{TocName|}}}
 
|Dimension={{{Dimension|}}}
 
|Context={{{Context|}}}
 
|Product={{MINTYDOCSPRODUCT}}
 
|ProductShort={{#explode:{{FULLPAGENAME}}|/|0}}
 
|ComingSoon={{{ComingSoon|}}}
 
|Role={{{Role|}}}
 
|Manual={{#explode:{{FULLPAGENAME}}|/|2}}
 
|Application={{{Application|}}}
 
|UseCase={{{UseCase|}}}
 
|Prereq={{{Prereq|}}}
 
 
}}<!-- Set MintyDocs topic, including a switch for different treatment for Manual pages -->{{#switch:{{{PageType|}}}|Manual=|#default={{#mintydocs_topic:
 
}}<!-- Set MintyDocs topic, including a switch for different treatment for Manual pages -->{{#switch:{{{PageType|}}}|Manual=|#default={{#mintydocs_topic:
 
|display name={{{DisplayName|}}}
 
|display name={{{DisplayName|}}}
Line 65: Line 29:
 
*Genesys Engage cloud for AWS
 
*Genesys Engage cloud for AWS
 
*Genesys Engage cloud for Azure
 
*Genesys Engage cloud for Azure
*Genesys Engage cloud private edition|UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=ArticleCloudRN}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list -->
+
*Genesys Engage cloud private edition|UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list -->
 +
 
 
{{#cargo_query:
 
{{#cargo_query:
tables=ComponentRN,JiraIssue
+
tables=JiraIssue,ComponentRN,ComponentRN__ComponentId,ComponentRN__DeploymentTypeId,Component
|join on=ComponentRN._pageName=JiraIssue._pageName
+
|join on=JiraIssue._pageName=ComponentRN._pageName,ComponentRN._ID=ComponentRN__ComponentId._rowID,ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID,ComponentRN.ComponentId HOLDS Component.Id
|fields=ComponentId=Component,ComponentRN.ReleaseNumber=ReleaseNumber,ComponentRN.ReleaseDate=ReleaseDate,ComponentRN._pageName=Page
+
|fields=ComponentId=Component,ComponentRN.ReleaseNumber=ReleaseNumber,ComponentRN.ReleaseDate=ReleaseDate,ComponentRN._pageName=Page,Component.Name=ComponentName
 
|format=template
 
|format=template
 
|template=RNPrint
 
|template=RNPrint
|where=DeploymentType="cloud" AND ComponentId HOLDS '{{{ComponentId|}}}'
+
|where=(ComponentRN__ComponentId._value IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}}))
 
|named args=yes
 
|named args=yes
 
|group by=ReleaseNumber
 
|group by=ReleaseNumber
 
|order by=ComponentRN.ReleaseDate DESC
 
|order by=ComponentRN.ReleaseDate DESC
 
}}
 
}}
 +
 +
 +
<!--|join on=ArticleCloudRN.ComponentId HOLDS Component.Id,ComponentRN.ComponentId__full=ArticleCloudRN.ComponentId__full,ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id
 +
-->
 +
  
  
Line 82: Line 52:
 
<!-- 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=}}<nowiki /></includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude>
+
}}|#default=}}<nowiki /></includeonly><noinclude>[[Category:RNAutomation]]</noinclude>

Revision as of 14:02, February 25, 2021

This is the "ArticleCloudRN" template.

It should be called in the following format:

{{ArticleCloudRN
|ComponentId=
|DeploymentTypeId=
}}

Edit the page to see the template text.

This template defines the table "ArticleCloudRN". View table.

Retrieved from "https://all.docs.genesys.com/Template:ArticleCloudRN (2024-10-06 20:28:00)"