Difference between revisions of "Template: PrintTopRN"
From Genesys Documentation
(PUBSWIKI-2672 - removed td for GCP) |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <tr> | + | <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||<td>{{{ | + | |
− | <td>{{{ | + | print Service column if there is more than 1 service |
− | {{# | + | |
− | <td>{{#cargo_query: | + | -->{{#ifeq: |
− | + | {{#cargo_query:tables=ArticleCloudRN,ArticleCloudRN__ComponentId | |
− | + | |join on=ArticleCloudRN._ID=ArticleCloudRN__ComponentId._rowID | |
− | + | |fields=COUNT(*) | |
− | + | |where= | |
− | |fields=CONCAT('[[File:',Image,'|',Size,'px|link=]]') | + | ArticleCloudRN._pageName="{{FULLPAGENAME}}" |
− | + | AND ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}" | |
− | + | |no html | |
− | <td>{{#cargo_query: | + | }} |
− | + | |1||<td>{{#cargo_query:tables=Component|fields=Name|where=Id="{{{ComponentId|}}}"}}</td> | |
− | + | }}<!-- | |
− | + | ||
− | + | Print ReleaseDate | |
− | + | ||
− | + | --><td>{{#cargo_query: | |
+ | tables=Component | ||
+ | |fields=CONCAT('[[#',Name,'-{{{ReleaseNumber|}}}|{{#time:F j, Y|{{{ReleaseDate|}}}}}]]') | ||
+ | |where=Id="{{{ComponentId|}}}" | ||
+ | }}</td> | ||
+ | <td><!-- | ||
+ | |||
+ | Find and print Genesys CX on AWS per ComponentRN | ||
+ | -->{{#cargo_query: | ||
+ | tables=ComponentRN,DeploymentType | ||
+ | |join on=ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id | ||
+ | |fields=CONCAT('[[File:',Image,'|',Size,'px|link=]]') | ||
+ | |where= | ||
+ | ComponentRN.ComponentId="{{{ComponentId|}}}" | ||
+ | AND ComponentRN.ReleaseNumber="{{{ReleaseNumber|}}}" | ||
+ | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | AND DeploymentType.Id="ec194bf2-b79a-436d-8ff6-eaff94d9f43a" | ||
+ | |delimiter= | ||
+ | |order by=DeploymentType.Name | ||
+ | |default= | ||
+ | }} | ||
+ | </td> | ||
+ | <td> | ||
+ | <!-- | ||
+ | |||
+ | Find and print Genesys CX on Azure per ComponentRN | ||
+ | |||
+ | -->{{#cargo_query: | ||
+ | tables=ComponentRN,DeploymentType | ||
+ | |join on=ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id | ||
+ | |fields=CONCAT('[[File:',Image,'|',Size,'px|link=]]') | ||
+ | |where= | ||
+ | ComponentRN.ComponentId="{{{ComponentId|}}}" | ||
+ | AND ComponentRN.ReleaseNumber="{{{ReleaseNumber|}}}" | ||
+ | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | AND DeploymentType.Id="5439f1be-1868-4091-b058-1667389b6ce1" | ||
+ | |delimiter= | ||
+ | |order by=DeploymentType.Name | ||
+ | |default= | ||
+ | }} | ||
+ | </td> | ||
+ | <td> | ||
+ | <!--Find Private Edition--> | ||
+ | {{#cargo_query:tables=ComponentRN,DeploymentType | ||
+ | |join on=ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id | ||
+ | |fields=CONCAT('[[File:',Image,'|',Size,'px|link=]]') | ||
+ | |where= | ||
+ | ComponentRN.ComponentId="{{{ComponentId|}}}" | ||
+ | AND ComponentRN.ReleaseNumber="{{{ReleaseNumber|}}}" | ||
+ | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | AND DeploymentType.Id="8b480b3c-2733-433a-9166-eab2c2d0663a" | ||
+ | |delimiter= | ||
+ | |order by=DeploymentType.Name | ||
+ | |default= | ||
+ | }}</td><!-- | ||
+ | |||
+ | print Highlights | ||
+ | |||
+ | --> | ||
+ | <td><!-- | ||
+ | |||
+ | printing boilerplate and content for highlight content | ||
+ | |||
+ | |{{ | ||
+ | {{{HighlightBoilerplateId|}}} | ||
+ | |{{{ReleaseNumber|}}} | ||
+ | |{{{ComponentId}}} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | -->{{#if:{{{HighlightBoilerplateId|}}} | ||
+ | | | ||
+ | {{#arraymap: | ||
+ | {{{HighlightBoilerplateId|}}} | ||
+ | |, | ||
+ | |x | ||
+ | |{{Template:x|{{{ReleaseNumber|}}}|{{{ComponentId}}}}} | ||
+ | |<br/> | ||
+ | }} | ||
+ | <br/>{{{Highlight|}}} | ||
+ | |{{{Highlight|}}} | ||
+ | }} | ||
+ | </td><!-- | ||
+ | |||
+ | include relase number if exists | ||
+ | |||
+ | -->{{#if:{{{ReleaseNumber|}}} | ||
+ | |<td>{{{ReleaseNumber|}}}</td> | ||
+ | | | ||
+ | }} | ||
</tr> | </tr> | ||
− | <noinclude>[[Category:RNAutomation]]</noinclude> | + | <noinclude>[[Category:RNAutomation]][[Category:TrackConstants]][[Category:ComponentRN.ComponentId cleanup]]</noinclude> |
Latest revision as of 05:48, December 21, 2022
No resultsNo results