SeedCode Logo


fmxj.js
a JavaScript approach to FileMaker Custom Web Publishing™

gh LogoDownload on GitHub

layoutFieldsURL(fileName, layoutName)

Create a FileMaker query to return an object with field names and data types.

fileName
Type: String
A String of the name of the hosted FileMaker file.
layoutName
Type: String
A String of the name of the target layout in the specified file.
example 1
Create a -findany query to return layout fields and data types.

var query = fmxj.layoutFieldsURL("Events", "Events");
fmxj.postQueryFMS(query, writeResult);//POST query