Difference between revisions of "Template: ComponentRN"

From Genesys Documentation
Jump to: navigation, search
 
(23 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
{{ComponentRN
 
{{ComponentRN
 
|Highlight=
 
|Highlight=
 +
|HighlightBoilerplateId=
 
|ComponentId=
 
|ComponentId=
 
|ReleaseNumber=
 
|ReleaseNumber=
|ReleaseType=
 
 
|ReleaseDate=
 
|ReleaseDate=
 +
|PrivateEditionReleaseDate=
 +
|MixedModeReleaseDate=
 +
|ReleaseTypeId=
 
|JQL=
 
|JQL=
 
|DeploymentTypeId=
 
|DeploymentTypeId=
 +
|Containers=
 
}}
 
}}
 
</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|DeploymentTypeId=List (,) of String}}
+
{{#cargo_declare:
</noinclude><includeonly>{{#cargo_store:_table=ComponentRN|Highlight={{{Highlight|}}}|ComponentId={{{ComponentId|}}}|ReleaseNumber={{#explode:{{FULLPAGENAME}}|/|2}}
+
_table=ComponentRN
|ReleaseType={{{ReleaseType|}}}|ReleaseDate={{{ReleaseDate|}}}|JQL={{{JQL|}}}|DeploymentTypeId={{{DeploymentTypeId|}}}}}
+
|Highlight=Wikitext
 +
|HighlightBoilerplateId=List (,) of String
 +
|Containers=Wikitext
 +
|ComponentId=String
 +
|ReleaseNumber=String
 +
|ReleaseDate=String
 +
|PrivateEditionReleaseDate=String
 +
|MixedModeReleaseDate=String
 +
|ReleaseTypeId=String
 +
|JQL=String
 +
|DeploymentTypeId=List (,) of String
 +
}}
 +
</noinclude><includeonly><!--
 +
 +
setting default form based on Category
 +
 
 +
-->[[Category:EditRN]]<!--
 +
 
 +
storing values in ComponentRN table
 +
 
 +
-->{{#cargo_store:
 +
_table=ComponentRN
 +
|Highlight={{{Highlight|}}}
 +
|HighlightBoilerplateId={{{HighlightBoilerplateId|}}}
 +
|Containers={{{Containers|}}}
 +
|ComponentId={{{ComponentId|}}}
 +
|ReleaseNumber={{#explode:{{FULLPAGENAME}}|/|2}}
 +
|ReleaseDate={{{ReleaseDate|}}}
 +
|PrivateEditionReleaseDate={{{PrivateEditionReleaseDate|}}}
 +
|MixedModeReleaseDate={{{MixedModeReleaseDate|}}}
 +
|ReleaseTypeId={{{ReleaseTypeId|}}}
 +
|JQL={{{JQL|}}}
 +
|DeploymentTypeId={{{DeploymentTypeId|}}}
 +
}}<!--
 +
 
 +
setting up mintydocs topic
 +
 
 +
-->{{#mintydocs_topic:
 +
|standalone
 +
|display name=Base unit of content for {{#cargo_query:tables=Component|fields=Name|where=Id="{{{ComponentId|}}}"|no html}} - {{#explode:{{FULLPAGENAME}}|/|2}}
 +
}}<!--
  
{{#mintydocs_topic:
+
table of main ComponentRN values from form
|standalone
 
|display name=Base unit of content for {{#cargo_query:tables=Component|fields=Name|where=Id="{{{ComponentId|}}}"|no html}} - {{#explode:{{FULLPAGENAME}}|/|2}}}}
 
  
 +
-->
 
==Component RN Definition==
 
==Component RN Definition==
 
{| class="wikitable"
 
{| class="wikitable"
Line 33: Line 76:
 
| {{#explode:{{FULLPAGENAME}}|/|2}} ([[Special:MovePage/{{FULLPAGENAME}}|Change release number]])
 
| {{#explode:{{FULLPAGENAME}}|/|2}} ([[Special:MovePage/{{FULLPAGENAME}}|Change release number]])
 
|-
 
|-
! Release Type
+
!Release Type
| {{#arraymap:{{{ReleaseType|}}}|,|x|x}}
+
| {{#arraymap:{{{ReleaseTypeId|}}}|,|x|{{#cargo_query:tables=ReleaseType|fields=Name|where=Id="x"|no html}}}}
 
|-
 
|-
 
!Highlight
 
!Highlight
 
|{{{Highlight|}}}
 
|{{{Highlight|}}}
 
|-
 
|-
 +
! Boilerplate(s) Used
 +
| {{#arraymap:{{{HighlightBoilerplateId|}}}|,|x|{{#cargo_query:tables=Boilerplate|fields=Name|where=Id="x"}} }}
 +
|-
 
! Release Date
 
! Release Date
 
| {{{ReleaseDate|}}}
 
| {{{ReleaseDate|}}}
 +
|-
 +
! Private Edition Release Date
 +
| {{{PrivateEditionReleaseDate|}}}
 +
|-
 +
! Mixed Mode Release ReleaseDate
 +
| {{{MixedModeReleaseDate|}}}
 +
|-
 +
! Private Edition Containers List
 +
|
 +
{{{Containers|}}}
 
|-
 
|-
 
! JQL
 
! JQL
Line 47: Line 103:
 
! Links
 
! Links
 
| Links to customer-facing pages in use:
 
| Links to customer-facing pages in use:
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}'|format=ul}}
+
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}' AND ArticleCloudRN._pageName NOT LIKE "%Internal%"|format=ul|default=None yet!}}
 +
|-
 +
!Test Links
 +
| Links to test pages (for RN Admins only)
 +
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}' AND ArticleCloudRN._pageName LIKE "%Internal%"|format=ul|default=None yet!}}
 +
|}<!--
  
|}{{#cargo_query:
+
query to list Issues saved to this page
tables=ComponentRN,JiraIssue,IssueType
+
 
|join on=ComponentRN._pageName=JiraIssue._pageName,JiraIssue.IssueType=IssueType.Id
+
-->{{#cargo_query:
|fields=CONCAT('<h3>',IF (IssueType.Name="New","What's New", IssueType.Name),'</h3>')=Name,IF (SupportingDocumentation IS NOT NULL, CONCAT (LocalContent,'</br><b>More info</b>: ',SupportingDocumentation), LocalContent)
+
tables=ComponentRN,Issue,IssueCategory
|format=outline
+
|join on=
|outline fields=Name
+
ComponentRN._pageName=Issue._pageName,
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND ReleaseNumber="{{#explode:{{FULLPAGENAME}}|/|2}}" AND LocalContent IS NOT NULL AND IssueType IS NOT NULL
+
Issue.IssueCategoryId=IssueCategory.Id
|order by=IssueType.PrintOrder ASC
+
|fields=
}}
+
CONCAT ('[https://genesysjira.atlassian.net/browse/',Issue.TicketNumber,' ',Issue.TicketNumber,']')=Issue,
<!--
+
IssueCategory.Name=Issue Category,
<h3>{{{Issue|}}}</h3>
+
<!--DeploymentType.Name=Deployment Type,-->
Type: {{{IssueType|}}}
+
IF(LENGTH(LocalContent) > 100, CONCAT(SUBSTRING(LocalContent, 1, 100),"..."),LocalContent)=Description,
Last Updated: {{{LastUpdated|}}}
+
SupportingDocumentation
 +
|format=dynamic table
 +
|where=
 +
ComponentRN.ComponentId ="{{{ComponentId|}}}"
 +
AND ReleaseNumber="{{#explode:{{FULLPAGENAME}}|/|2}}"
 +
|group by=Issue.TicketNumber
 +
|order by=IssueCategory.PrintOrder ASC
 +
}}<!--  
  
Jira source text:
+
supressing cache and section editing, adding TOC
{{{Content|}}}
 
  
Writer-edited text:
+
-->__NOCACHE__
{{{LocalContent|}}}-->
 
__NOCACHE__
 
[[Category:EditRN]]
 
 
__TOC__
 
__TOC__
</includeonly>
+
__NOINDEX__</includeonly>
<noinclude>[[Category:RNAutomation]]</noinclude>
+
<noinclude>[[Category:RNAutomation]][[Category:ComponentRN.ComponentId cleanup]]</noinclude>

Latest revision as of 16:32, September 29, 2022

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

{{ComponentRN
|Highlight=
|HighlightBoilerplateId=
|ComponentId=
|ReleaseNumber=
|ReleaseDate=
|PrivateEditionReleaseDate=
|MixedModeReleaseDate=
|ReleaseTypeId=
|JQL=
|DeploymentTypeId=
|Containers=
}}

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

Retrieved from "https://all.docs.genesys.com/Template:ComponentRN (2024-07-28 02:29:16)"