Difference between revisions of "Template: PublicUseCase2"
From Genesys Documentation
Line 39: | Line 39: | ||
|display name={{#cargo_query:tables=SMART_Meta|fields=CONCAT (Title,' (',ID, ') for {{#switch:{{#explode:{{FULLPAGENAME}}|/|2}}|GenesysEngage-cloud=Genesys Engage cloud|GenesysEngage-onpremises=Genesys Engage on premises|GenesysCloud=Genesys Cloud|PureConnect=PureConnect}}')|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} | |display name={{#cargo_query:tables=SMART_Meta|fields=CONCAT (Title,' (',ID, ') for {{#switch:{{#explode:{{FULLPAGENAME}}|/|2}}|GenesysEngage-cloud=Genesys Engage cloud|GenesysEngage-onpremises=Genesys Engage on premises|GenesysCloud=Genesys Cloud|PureConnect=PureConnect}}')|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} | ||
|toc name={{{TocName|}}} | |toc name={{{TocName|}}} | ||
− | }}{{#switch:{{#cargo_query:tables=MintyDocsVersion|fields=comingsoon|no html|where=_pageName="{{#explode:{{FULLPAGENAME}}|/|0}}/{{#explode:{{FULLPAGENAME}}|/|1}}"}}|Yes={{ComingSoon}}|}}{{#cargo_query:tables=SMART_Meta,SMART_Canonical,SMART_UseCase|join on=SMART_Meta._pageName=SMART_Canonical._pageName,SMART_Canonical.ID=SMART_UseCase.ID|intro=<div class="public-uc"><div id="public-uc-heading"><div>|fields=CONCAT(Subtitle,'</div></div><div class="public-uc-content"><h2>What\'s the challenge?</h2>',PlatformChallenge,'<h2>What\'s the solution?</h2>',PlatformSolution)|outro={{#cargo_query:tables=SMART_UseCase|fields=Video,RelatedDocs|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" and Offering="{{#explode:{{FULLPAGENAME}}|/|2}}" AND | + | }}{{#switch:{{#cargo_query:tables=MintyDocsVersion|fields=comingsoon|no html|where=_pageName="{{#explode:{{FULLPAGENAME}}|/|0}}/{{#explode:{{FULLPAGENAME}}|/|1}}"}}|Yes={{ComingSoon}}|}}{{#cargo_query:tables=SMART_Meta,SMART_Canonical,SMART_UseCase|join on=SMART_Meta._pageName=SMART_Canonical._pageName,SMART_Canonical.ID=SMART_UseCase.ID|intro=<div class="public-uc"><div id="public-uc-heading"><div>|fields=CONCAT(Subtitle,'</div></div><div class="public-uc-content"><h2>What\'s the challenge?</h2>',PlatformChallenge,'<h2>What\'s the solution?</h2>',PlatformSolution)|outro={{#cargo_query:tables=SMART_UseCase|fields=Video,RelatedDocs|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" and Offering="{{#explode:{{FULLPAGENAME}}|/|2}}" AND Video|named args=yes|default=|format=template|template=SMART_RelatedDocs}}</div> |
</div> | </div> | ||
|where=SMART_Meta.ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} | |where=SMART_Meta.ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} |
Revision as of 19:25, October 6, 2020
This is the "PublicUseCase" template.
It should be called in the following format:
{{PublicUseCase |Platform= |DisplayName= |TocName= |Tags= |Dimension= |Context= }}
Edit the page to see the template text.
This template defines the table "PublicUseCase". View table.