Difference between revisions of "Template: Component"

From Genesys Documentation
Jump to: navigation, search
(Install package: RN Automation)
 
(Adding ParentComponentId)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "ComponentRN" form.
+
This is the "Component" template.
To create a page with this form, enter the page name below;
+
It should be called in the following format:
if a page with that name already exists, you will be sent to a form to edit that page.
+
<pre>
 
+
{{Component
 
+
|Id=
{{#forminput:form=ComponentRN}}
+
|Name=
 
+
|DeploymentTypeId=
</noinclude><includeonly>
+
|IpName=
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
+
|ParentComponentId=
 
+
}}
{{{info|page name=Draft:RN/<ComponentRN[Component]>-<ComponentRN[ReleaseNumber]>|create title=Create a new RN |edit title=Editing {{#explode:{{FULLPAGENAME}}|/|2}}  }}}
+
</pre>
 
+
Edit the page to see the template text.
{{{for template|ComponentRN}}}
+
{{#cargo_declare:_table=Component|Id=String|Name=String|DeploymentTypeId=String|IpName=String|ParentComponentId=String}}
 
+
</noinclude><includeonly>{{#cargo_store:_table=Component|Id={{{Id|}}}|Name={{{Name|}}}|DeploymentTypeId={{{DeploymentTypeId|}}}|IpName={{{IpName|}}}|ParentComponentId={{{ParentComponentId|}}} }}
<div class="col-md-2 form-label">Component:</div>
+
</includeonly><noinclude>[[Category:RNAutomation]]</noinclude>
<div class="col-md-10">{{{field|Component|input type=combobox|existing values only|placeholder=Select component|cargo table=Component|cargo field=Name|order by=Component.Name}}}</div>
 
<div class="col-md-2 form-label">Container #:{{FormTip|Enter the Container-based release number exactly as defined here.}}</div>
 
<div class="col-md-10">{{{field|ReleaseNumber|input type=regexp|regexp=/^\d{3}\.\d(?:\.\d{3}(?:\.\d{2}(?:\.RE)?)?)?$/|message=Use format: n.n.nnn.nn|placeholder=Enter release number in 100.0.000.01 format}}}</div>
 
<div style="clear:both"></div>
 
 
 
<div class="col-md-2 form-label">IP #:{{FormTip|Enter the IP-based release number exactly as defined here.}}</div>
 
<div style="clear:both"></div>
 
<div class="col-md-2 form-label">Release Type:</div>
 
<div class="col-md-10">{{{field|ReleaseType|input type=dropdown|values=General, Hotfix|placeholder=Click to select release type|cargo table=ComponentRN|cargo field=Release_Type}}}</div> 
 
<div style="clear:both"></div>
 
 
<div class="col-md-2 form-label">Release Date:</div>  
 
<div class="col-md-10">{{{field|ReleaseDate|input type=datepicker|default=now}}}</div> 
 
 
 
<div class="col-md-2 form-label">Highlight:</div>{{FormTip|Craft a single sentence that sums up the main selling point for this release. For example, <need 2 or 3 solid examples>}}
 
<div class="col-md-10">{{{field|Highlight|input type=textarea|editor=visual editor}}}</div>
 
<div style="clear:both"></div>
 
{{{field|JQL|hidden}}}  
 
===Proposed Jira issues===
 
 
 
{{{end template}}} 
 
 
 
 
 
{{{for template|JiraIssue|multiple|display=spreadsheet|height=800}}}
 
Issue{{{field|Issue}}}
 
Type{{{field|Type}}}
 
Content{{{field|Content}}}
 
{{{field|LocalContent|hidden}}}
 
{{{end template}}}
 
 
 
{{#css: div#acrolinx-block {display:none} }}
 
{{{standard input|summary}}}
 
 
 
{{{standard input|minor edit}}} {{{standard input|watch}}}
 
 
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
{{HideExpandAll}}</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:02)"