Difference between revisions of "Template: Component"

From Genesys Documentation
Jump to: navigation, search
(Update package: RN Automation)
(Update package: RN Automation)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Component" template.
+
This is the "ComponentRN" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
 
<pre>
 
<pre>
{{Component
+
{{ComponentRN
|Id=
+
|Highlight=
|Name=
+
|ComponentId=
 +
|ReleaseNumber=
 +
|ReleaseType=
 +
|ReleaseDate=
 +
|JQL=
 
|DeploymentType=
 
|DeploymentType=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=Component|Id=String|Name=String|DeploymentType=String}}
+
{{#cargo_declare:_table=ComponentRN|Highlight=|ComponentId=List (,) of String|ReleaseNumber=String|ReleaseType=String|ReleaseDate=String|JQL=String|DeploymentType=String}}
</noinclude><includeonly>{{#cargo_store:_table=Component|Id={{{Id|}}}|Name={{{Name|}}}|DeploymentType={{{DeploymentType|}}} }}
+
</noinclude><includeonly>{{#cargo_store:_table=ComponentRN|Highlight={{{Highlight|}}}|ComponentId={{{ComponentId|}}}|ReleaseNumber={{{ReleaseNumber|}}}|ReleaseType={{{ReleaseType|}}}|ReleaseDate={{{ReleaseDate|}}}|JQL={{{JQL|}}}|DeploymentType={{{DeploymentType|}}} }}
</includeonly><noinclude>[[Category:RNAutomation]]</noinclude>
+
 
 +
{{#mintydocs_topic:
 +
|display name=Base unit of content for {{#cargo_query:tables=Component|fields=Name|where=Id="{{{ComponentId|}}}"|no html}} - {{{ReleaseNumber|}}}
 +
}}
 +
 
 +
Link to page in use: {{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}'}}
 +
 
 +
{| class="wikitable"
 +
! Component
 +
| {{#cargo_query:tables=Component|fields=Name|where=Id="{{{ComponentId|}}}"|no html}}
 +
|-
 +
! Deployment Type
 +
| {{{DeploymentType|}}}
 +
|-
 +
! Release Number
 +
| {{{ReleaseNumber|}}}
 +
|-
 +
! Release Type
 +
| {{#arraymap:{{{ReleaseType|}}}|,|x|x}}
 +
|-
 +
!Highlight
 +
|{{{Highlight|}}}
 +
|-
 +
! Release Date
 +
| {{{ReleaseDate|}}}
 +
|-
 +
! JQL
 +
| {{{JQL|}}}
 +
 
 +
|}{{#cargo_query:
 +
tables=JiraIssue
 +
|intro=<h2>New In This Release</h2>
 +
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)
 +
|format=ul
 +
|where=_pageName="{{FULLPAGENAME}}" AND Type="New"
 +
|default=}}{{#cargo_query:
 +
tables=JiraIssue
 +
|intro=<h2>Security Fixes</h2>
 +
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 +
|where=_pageName="{{FULLPAGENAME}}" AND Type="Security"
 +
|default=
 +
}}{{#cargo_query:
 +
tables=JiraIssue
 +
|intro=<h2>Deprecations</h2>
 +
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 +
|where=_pageName="{{FULLPAGENAME}}" AND Type="Deprecations"
 +
|default=}}{{#cargo_query:
 +
tables=JiraIssue
 +
|intro=<h2>Dependencies</h2>
 +
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 +
|where=_pageName="{{FULLPAGENAME}}" AND Type="Dependencies"
 +
|default=}}{{#cargo_query:
 +
tables=JiraIssue
 +
|intro=<h2>Resolved Issues</h2>
 +
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 +
|where=_pageName="{{FULLPAGENAME}}" AND Type="Resolved"
 +
|default=}}{{#cargo_query:
 +
tables=JiraIssue
 +
|intro=<h2>Known Issues</h2>
 +
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 +
|where=_pageName="{{FULLPAGENAME}}" AND Type="Known Issue"
 +
|default=}}{{#cargo_query:
 +
tables=JiraIssue
 +
|intro=<h2>These issues need a type - please fix!</h2>
 +
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 +
|where=_pageName="{{FULLPAGENAME}}" AND Type IS NULL
 +
|default=
 +
}}
 +
<!--
 +
<h3>{{{Issue|}}}</h3>
 +
Type: {{{Type|}}}
 +
Last Updated: {{{LastUpdated|}}}
 +
 
 +
Jira source text:
 +
{{{Content|}}}
 +
 
 +
Writer-edited text:
 +
{{{LocalContent|}}}-->
 +
__NOCACHE__
 +
[[Category:EditRN]]
 +
__TOC__
 +
</includeonly>
 +
<noinclude>[[Category:RNAutomation]]</noinclude>

Revision as of 20:59, January 18, 2021

This is the "ComponentRN" template. It should be called in the following format:

{{ComponentRN
|Highlight=
|ComponentId=
|ReleaseNumber=
|ReleaseType=
|ReleaseDate=
|JQL=
|DeploymentType=
}}

Edit the page to see the template text. This template defines the table "ComponentRN". View table.

Retrieved from "https://all.docs.genesys.com/Template:Component (2025-06-20 12:26:12)"