User Tools

Site Tools


syntax:functions:metadata
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
syntax:functions:metadata [2021/09/15 14:19] (current) craigt
Line 1: Line 1:
 +====== Metadata(keyword) ======
 +Category:  Special function
 +
 +\\ 
 +=====Description=====
 +This function returns project metadata - specific details about the project. The keyword must be one of the text constants shown below.
 +
 +\\ 
 +=====Arguments=====
 +^Argument^Type^Description^
 +|'current module'|Text|The name of the current module.|
 +|'current group'|Text|The name of the current table group (tab).|
 +|'current table'|Text|The name of the current table.|
 +
 +**Return value type:** Text
 +
 +\\ 
 +=====Remarks=====
 +The text constants are case-insensitive (i.e., both 'Current Module' and 'current module' are acceptable).
 +
 +References to a field or parameter are not permitted.
 +
 +\\ 
 +=====Examples=====
 +
 +{{:transformations:metadata_sample.jpg?800|}}
 +\\ 
 +**Refer to the image above for the examples below.**
 +\\ \\ 
 +  metadata('current module' //Returns 'Main'
 +
 +  metadata('current group' //Returns 'Sample'
 +
 +  metadata('current table' //Returns 'Counties_population'
 +
 +\\ 
 +=====See also=====
 +  * [[syntax:functions:system|System(keyword)]]
  
syntax/functions/metadata.txt · Last modified: 2021/09/15 14:19 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki