Difference between revisions of "Template: BP ServiceNameVar"
From Genesys Documentation
(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= | + | <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>