Difference between revisions of "Template: BP ServiceNameVar"

From Genesys Documentation
Jump to: navigation, search
(Created page with "<noinclude>This template is used for displaying the Service (Component) Name.</noinclude><onlyinclude>{{#cargo_query:tables=ArticleCloudRN__ComponentId,ArticleCloudRN,Componen...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This template is used for displaying the Service (Component) Name.</noinclude><onlyinclude>{{#cargo_query:tables=ArticleCloudRN__ComponentId,ArticleCloudRN,Component,ComponentRN__ComponentId,ComponentRN|join on=ArticleCloudRN__ComponentId._value=Component.Id, ArticleCloudRN__ComponentId._rowID=ArticleCloudRN._ID, ArticleCloudRN__ComponentId._value = ComponentRN__ComponentId._value, ComponentRN__ComponentId._rowID=ComponentRN._ID|fields=Component.Name|no html|group by=Component.Name|where=ArticleCloudRN._pageName="{{FULLPAGENAME}}" AND ComponentRN.ReleaseNumber = "{{{1}}}"
+
<noinclude>This template is used for displaying the Service (Component) Name.</noinclude><onlyinclude><!--
 +
 
 +
finding name of component
 +
 
 +
-->{{#cargo_query:
 +
tables=
 +
ArticleCloudRN,
 +
ComponentRN,
 +
Component
 +
|join on=
 +
ArticleCloudRN.ComponentId HOLDS ComponentRN.ComponentId,
 +
        ComponentRN.ComponentId=Component.Id
 +
|fields=Component.Name
 +
    |default=<service name>
 +
|no html
 +
|group by=Component._pageID,Component.Name
 +
|where=
 +
ArticleCloudRN._pageName="{{FULLPAGENAME}}"  
 +
AND ComponentRN.ReleaseNumber = "{{{1|}}}"
 +
        AND ComponentRN.ComponentId = "{{{2|}}}"
 
}}</onlyinclude><noinclude>[[Category:Macros]]</noinclude>
 
}}</onlyinclude><noinclude>[[Category:Macros]]</noinclude>

Latest revision as of 12:31, July 19, 2022

This template is used for displaying the Service (Component) Name.<service name>

Retrieved from "https://all.docs.genesys.com/Template:BP_ServiceNameVar (2025-06-19 09:56:51)"