1 line
1.0 KiB
Plaintext
1 line
1.0 KiB
Plaintext
{"Name":"EXAMPLE custom fields","Active":true,"Notes":"","Roles":124927,"ObjectType":2,"Template":"<html>\n\n<body>\n\t<h2>Example: custom fields usage </h2>\n\t<p>See help documentation for details</p>\n\n\t<div>\n\t\t{{#each ayReportData}}\n\n\t\t<h2>Non custom fields </h2>\n\t\tName: {{ Name }} <br/>\n\t\tDollarAmount as Number: {{ ayDecimal DollarAmount}} <br/>\n\n\t\t<h2>Custom fields </h2>\n\t\t<p>Custom field items can be accessed via the main object's CustomFields property and then by dot notation for each of the 16 possible custom fields as .c1 to .c16 \n\t\tIf a custom field is unused it will return a blank for that item.\n\t\t(note, example assumes generated sample data and that c1 and c5 have data)</p>\n\t\tCustom c1 as DateTime: {{ ayDateTime CustomFields.c1}} <br/>\n\t\tcustom c5 as Number: {{ ayDecimal CustomFields.c5}} <br/>\t\n\t\t<hr />\n\t\t{{/each}}\n\t</div>\n</body>\n\n</html>","Style":"","JsPrerender":"async function ayPrepareData(reportData){ \n return reportData;\n}","JsHelpers":"","RenderType":0} |