ddGetFieldList

This function takes a dynamicdata table and returns a comma-separated string containing the names of the columns in the table. It is expected that many dynamicdata tables consist only of field names without any rows just to supply comma-separated lists of values to code in the Content Server.

Type and Usage

Parameters

This function has one parameter. dataTableName is the name of the dynamicdata table to load.

Output

If the dynamictable exists, it returns True.

Example

<@dynamicdata MyDataTable@>foo,bar,baz<@end@>


<$fieldList = ddGetFieldList("MyDataTable")$><$trace(fieldList, "#console")$> [[% Outputs: foo,bar,baz %]]