Difference between revisions of "Template: PublicUseCase2"

From Genesys Documentation
Jump to: navigation, search
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|fields=CONCAT('<div class="public-uc"><div id="public-uc-heading"><div>',Subtitle,'</div></div><div class="public-uc-content"><h2>What\'s the challenge?</h2>',PlatformChallenge,'<h2>What\'s the solution?</h2>',PlatformSolution,'</div>
+
}}{{#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 IS NOT NULL OR RelatedDocs IS NOT NULL)|named args=yes|default=|format=template|template=SMART_RelatedDocs}}</div>
</div>')|outro={{#cargo_query:tables=SMART_UseCase|fields=Video,RelatedDocs|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" and Offering="{{#explode:{{FULLPAGENAME}}|/|2}}" AND (Video IS NOT NULL OR RelatedDocs IS NOT NULL)|named args=yes|default=|format=template|template=SMART_RelatedDocs}}
+
</div>
 
|where=SMART_Meta.ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}}
 
|where=SMART_Meta.ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}}
  

Revision as of 19:20, 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.

Retrieved from "https://all.docs.genesys.com/Template:PublicUseCase2 (2025-06-22 07:16:47)"