Jump to: navigation, search

PDMViewColumnQuery

This template is the Cargo equivalent of Template:PDMViewColumnDPL, providing the query to populate the Column List table and descriptions on View pages. It is called by Template:PDMView (for Library book pages) and Template:PDMViewPageFormat (for RDBMS-specific pages).

Content is:

{{#cargo_query:
tables=PDMViewColumn
|fields=colName=Column,colDesc=Description
|where=_pageName LIKE "{{#if:{{{source|}}}|{{{source}}}|Documentation:{{#switch:{{#explode:{{{page}}}|:|1}}|PSAAS=GIM:Library:{{#explode:{{{page}}}|:|3}}:{{#switch:{{#explode:{{{page}}}|:|4}}|draft=DRAFT|Public=PDMSource}}
|#default={{#explode:{{{page}}}|:|1}}:Library:{{anchorencode:{{#explode:{{{page}}}|:|3}}}}:{{#switch:{{lc:{{#sub:{{{page}}}|-5}}}}|draft|ource={{#explode:{{{page}}}|:|4}}|#default={{#switch:{{lc:{{#explode:{{{page}}}|:|4}}}}|public|current=PDMSource|#default={{#sub:{{#explode:{{{page}}}|:|4}}|0|3}}PDMSource}}}}}}}}"
|format=table
|order by=_rowID
}}
This page was last edited on January 3, 2020, at 19:49.
Comments or questions about this documentation? Contact us for support!