Difference between revisions of "Template: Component"

From Genesys Documentation
Jump to: navigation, search
(Update package: RN Automation)
(Adding ParentComponentId)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "ComponentRN" template.
+
This is the "Component" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{ComponentRN
+
{{Component
|Highlight=
+
|Id=
|ComponentId=
+
|Name=
|ReleaseNumber=
+
|DeploymentTypeId=
|ReleaseType=
+
|IpName=
|ReleaseDate=
+
|ParentComponentId=
|JQL=
 
|DeploymentType=
 
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=ComponentRN|Highlight=|ComponentId=List (,) of String|ReleaseNumber=String|ReleaseType=String|ReleaseDate=String|JQL=String|DeploymentType=String}}
+
{{#cargo_declare:_table=Component|Id=String|Name=String|DeploymentTypeId=String|IpName=String|ParentComponentId=String}}
</noinclude><includeonly>{{#cargo_store:_table=ComponentRN|Highlight={{{Highlight|}}}|ComponentId={{{ComponentId|}}}|ReleaseNumber={{{ReleaseNumber|}}}|ReleaseType={{{ReleaseType|}}}|ReleaseDate={{{ReleaseDate|}}}|JQL={{{JQL|}}}|DeploymentType={{{DeploymentType|}}} }}
+
</noinclude><includeonly>{{#cargo_store:_table=Component|Id={{{Id|}}}|Name={{{Name|}}}|DeploymentTypeId={{{DeploymentTypeId|}}}|IpName={{{IpName|}}}|ParentComponentId={{{ParentComponentId|}}} }}
 
+
</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>
 

Latest revision as of 12:50, April 28, 2022

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

{{Component
|Id=
|Name=
|DeploymentTypeId=
|IpName=
|ParentComponentId=
}}

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

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