Difference between revisions of "User: Bgrenon"
From Genesys Documentation
Line 1: | Line 1: | ||
{{#cargo_query: | {{#cargo_query: | ||
− | tables= | + | tables=Article,MintyDocsProduct,ContentAreaSection,DefinePlatforms |
− | |fields=_pageName | + | |join on=Article.Product=MintyDocsProduct.displayname,MintyDocsProduct.contentarea=ContentAreaSection.DisplayName,ContentAreaSection.Platform_ID=DefinePlatforms.Platform_ID |
− | |where= | + | |fields=DefinePlatforms.Platform_ID,Article._pageName |
+ | |where=Article._pageName="System/AllDeprecations" | ||
}} | }} | ||
− | { | + | <!-- |
− | + | Article,MintyDocsProduct,ContentAreaSection,DefinePlatforms' | |
− | + | fields = 'DefinePlatforms.Platform_ID=ID' | |
− | + | local args = { | |
− | + | join = 'Article.Product=MintyDocsProduct.displayname,MintyDocsProduct.contentarea=ContentAreaSection.DisplayName,ContentAreaSection.Platform_ID=DefinePlatforms.Platform_ID', | |
+ | where = 'Article._pageName = "' .. mw.title.getCurrentTitle().prefixedText .. '"', | ||
+ | } | ||
+ | local result = cargo.query( tables, fields, args ) | ||
+ | for i, row in ipairs(result) do | ||
+ | text = row.ID | ||
+ | end | ||
+ | return text | ||
+ | --> |
Revision as of 21:29, January 17, 2022
Platform ID | _pageName |
---|---|
System/AllDeprecations | |
System/AllDeprecations |