formtools

formtools

formtools

All the methods required to run Farcry Form Tools

Metadata

ArrayListGenerate()

Arguments

Name Type Required Default Options Description
aField array Yes Array of structs that include the data and typename.
listType string No none
Webskin string No
bIncludeLink boolean No false

getCurrentPaginationPage()

Arguments

Name Type Required Default Options Description
paginationID string No
currentPage string No 0

getRecordset()

Arguments

Name Type Required Default Options Description
typename string No
identityColumn string No ObjectID
sqlColumns string No tbl.ObjectID
sqlWhere string No
sqlOrderBy string No label
lCategories string No
bCheckVersions boolean No false should be true when called from objectadmin or any use for admin purpose
paginationID string No
CurrentPage numeric No 0
RecordsPerPage numeric No 10
PageLinksShown numeric No 5
cacheTimeSpan numeric No 0 duration in days, need non empty argument paginationID to work, recommendation: use createTimeSpan
aCategoryFilters array No [runtime expression]

getRecordsetObject()

This function accepts a recordset and will return a Faux Farcry Object Structure that will enable it to run through ft:object without requiring a getData.

Arguments

Name Type Required Default Options Description
recordset query Yes Resultset to process.
row numeric Yes Specific row number to return.
typename string Yes Typename of the content.
larrayprops string No List of array properties to return.
bFormToolMetadata boolean No true Convert content item to form tool metadata; else leave as a simple structure.
dsn string No [runtime expression] Datasource name.
dbowner string No [runtime expression] Database owner.

getRecordsetObjectArray()

Accepts a recordset and returns an array of faux Farcry content object structures that can be used with ft:object without requiring a getData()

Arguments

Name Type Required Default Options Description
recordset query Yes Resultset to process.
typename string Yes Typename of the content.
larrayprops string No List of array properties to return.
bFormToolMetadata boolean No true Convert content item to form tool metadata; else leave as a simple structure.
dsn string No [runtime expression] Datasource name.
dbowner string No [runtime expression] Database owner.

getRecordSetObjectStructures()

This function accepts a recordset and will return a Faux Farcry Array of Object Structure that will enable it to run through ft:object without requiring a getData.

Arguments

Name Type Required Default Options Description
recordset query Yes
typename string No
lArrayProps string No