In this example, you will see how to use a public method that works on or with the current WorkQuery that you pass into the method.
Takes 5 parameters, DestinationQuery, SourceQuery, DestinationMatchField, SourceMatchField, Mode
Takes 3 parameters, DestinationQuery, SourceQuery, bMoveIt
Takes five parameters, DestQuery, SourceQuery, SourceXFld, SourceYFld, SourceZFld
Takes three parameters, QueryName, FieldBase, FieldNames
Takes 3 parameters, QueryName, SourceQuery, bWork
Takes two parameters, DestinationQuery, SourceQuery
Takes one parameter, QueryName
Takes six parameters, DestQuery, SourceQuery, DestDestFld, DestXFld, DestYFld, SourceYFld
Takes two parameters, destinationQuery, sourceQuery
Takes one parameter, QueryName
Takes one parameter, the name of the query
For small and simple procedures that are not expected to grow in complexity over time, simple routing based on URL parameter values from a [Pull] directly from the Request query is sufficient and requires less code. For complex procedures that are expected to grow and evolve over time, a larger more robust foundation for the routing should be used.
Takes one parameter, FieldBase
Has no parameters
Takes one parameter.
Parameter is a comma separated list (using CSV rules and not in quotes) of the fixed hard coded values to select from
Takes one parameter, Source
Parameter is a space separated list of fields to choose from
Has no parameters
Takes two parameters, DestinationQuery, SourceQuery
Takes three parameters, QueryName, FieldBase, FieldNames
Takes four parameters, DestinationQuery, SourceQuery, UniqueField, UniqueValue
Has no parameters
Takes 1 parameter, a formatting mask
Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.
Takes a variable number of parameters, QueryName, MethodName, [Param1, [Param2, etc...]]
Has no parameters
Has no parameters
Takes two parameter, URL, InputQuery
Has no parameters
Takes a single parameter, a QueryName
Takes a variable number of parameters, a comma separated list of TopQuery variable names
Takes one parameter, QueryName
Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery
Takes three parameters, Url, InputQuery, OutputQuery
Some Work Query command parameters can accept a source of either a Work Query Field name or a text literal. Text literals in these cases are prefixed with a backtick ` character.
Has no parameters. If the field is blank it will remain blank.
Takes 1 parameter, a formatting mask
Takes two parameters, QueryName, Title
Takes two parameters, ExcelTableData, Options
Takes 5 parameters, FieldBase, Destination, Action, Source, IfLenFld
Has six parameters, UniqueParent, DestField, FieldBase, UniqueChild, EmbedFields, Options
Takes up to 6 parameters, FieldBase, Destination, Action, Source, Value, IfLenField
Takes 7 parameters, FieldBase, GroupBy, GroupTotals, GrandTotals, Seperator, TotalPre, TotalPost
Takes five parameters, FieldBase, FieldList, Mask, bBlanks2Zero, IfLenFld
Takes one parameter, a single character
Takes 5 parameters, FieldBase, FolderPath, Action, Source, IfLenFld
Takes two parameters, ChildTableName, Mode
Takes two parameters, ChildTableName, Mode
Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld
Has no parameters
Takes two parameters, TableName and a boolean expression
Takes one parameter, TableName
Takes one parameter, TableName
Takes 3 parameters, ParentTableName, ChildTableName, and a boolean expression (optional)
Takes two parameters, TableName, IfLenFld
Takes one parameter, Source
Takes two parameters, Location, Mode
Takes one parameter, Source
Takes two parameters, Source, Value
Takes 6 parameters, Name, Value, Path, Domain, Expires, Other
Takes one parameter, Type
Takes one parameter, TableName
Takes two parameters, name, value
Takes one parameter, the contents of which are used for the HTTP Reply Body
Takes one parameter, TableName
Takes one parameter, Data
Takes two parameters, CSVData, bNoHeaders
Takes two parameters, TableName, IfLenFld
Takes two parameters, TableName, IfLenFld
Takes two parameters, CSVData, bNoHeaders
Takes two parameters, FieldBase, FieldNames
Takes two parameters, FieldBase, FieldNamesList
Takes two parameters, FieldBase, FieldNameList
Has no parameters
Takes one parameter, TableName
Takes one parameter, TableName
Has no parameters
Takes two parameters, TableName, RecordAlias
Takes six parameters, FieldBase, Destination, Table, Alias, SourceField, IfLenFld
Takes three parameters, ChildTableName, ParentTableName, Mode
Takes three parameters, TableName, SearchTerms, SearchInFields
Takes two parameters, TableName, IfLenFld
Takes three parameters, ChildTableName, ParentTableName, Mode
Takes two parameters, FieldBase, SortFieldList
Takes four parameters, FieldBase, FieldName, Source, IfLenFld
Takes two parameters, FieldName, Value
Takes two parameters, Data, bHasHeader
Takes five parameters, FieldBase, Destination, Action, Source, IfLenFld
Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld
Takes two parameters, CSVData, bNoHeaders
Takes two parameters, FilePath, bUseHeader
Takes two parameters, FieldBase, FieldNames
Takes no parameters.
Takes two parameters, FileName, Options
Takes two parameters, FileName, bUseHeader
Takes two parameters, FileName, bUseHeaders
Takes two parameters, FileName, bUseHeader
Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bUseContainer, bNotResponsive, bInverted, HtmlPre, HtmlApn
Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn
Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod
Takes 3 parameters, Location, Mode, bWithNoHeader
Takes four parameters, FieldBase, Destination, Source, IfLenFld
Takes 6 parameters, Location, Mode, Class, bNoHeader, bNoAutoAlign, bNoIDTags
Takes 3 parameters, Location, Mode, bWithNoHeader
Has no parameters.
Takes one parameter, Data
Takes six parameters, FieldBase, GroupByField, Destination, Action, Source, IfLenFld
Takes two parameters, Location, Mode
Takes 6 parameters, Location, Mode, Div, Data, Script, Extra
Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign
Takes 5 parameters, Location, Mode, Title, Element, Class
Takes two parameters, FieldBase, PivotField
Takes 3 parameters, Folder, Filter, bShowImgSize, bShowAccessed
Takes no parameters
Takes 3 parameters, FieldBase, Fields, SearchTerms
Takes two parameters, FolderPath, bRecursive
Takes two parameters, FileName, bHasHeader
Takes two parameters, FileName, bHasHeader
Takes no parameters
Takes no parameters
Takes two parameters, FieldBase, FieldNamesList
Takes two parameters, Data, Options
Takes two parameters, FromIndex, ToIndex
Takes a variable number of parameters, FieldBase, Test1, Test2, [etc...]
Takes a variable number of parameters, FieldBase, Test1, Test2, [etc..]
Takes 4 parameters, FieldBase, Left, Comparison, Right
Takes 5 parameters, FieldBase, GroupBy, MergeField, Delimiter, bKeepBlanks
Takes two parameters, FileName, bHasHeader
Takes two parameters, FileName, bHasHeader
Takes two parameters, FieldBase, FieldNames
Takes 7 parameters, FieldBase, Destination, Source, OffsetVal, Operator, OpValue, IfLenFld
Takes two parameters, Data, bHasHeader
Takes one parameter, QuantityToAdd
Takes two parameters, Data, Boundary
Has no parameters
Takes two parameters, PathToFile, Options
Takes two parameters, FileName, bHasHeader
Has no parameters
Takes one parameter, FilePath
Takes two parameters, FileName, bHasHeader
Takes two parameters, Source, Value
A set of instructions that can be called with parameters to run in the current scope.
Has 4 parameters, Destination, Action, Source, Value
Takes any unspecified data, intended for use by external systems
Takes one parameter, Control
Private Method contained within a given procedure.
Takes a single Field name to test if it is true, with an optional Not operator to test if false, followed by the conditional statement
Takes three parameters, Destination, Action, Source
Has no parameters
Takes three parameters, FolderPath, Action, Source
A special type of Private Method, called a Private Function, that is intended to return a single value or multiple values simultaneously.
Takes a single parameter, a FieldBase
Takes one parameter, FieldName
Takes two parameters, FilePath, ForceFlush
Takes one parameter, FieldBase
A .mox file, with MOX code in it, can be run from the command line while a Moxie.Build system is not otherwise already running.
Cloudflare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services.
Takes one parameter, FieldBase
Takes two parameters, FileName, FileData
Takes a variable number of parameters.
Takes one parameter, ServerLogText
Takes one parameter, FieldName
Takes a variable number of parameters
Takes 2 parameters, Result, Status
Parameter is a single new field name or a space separated list of new field names.
Parameter is a space separated list of field names to have the display table sorted by when displaying search results in the Admin interface.
ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.
Table Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Table.
Takes two parameters, FileName, bHasHeader
Parameter is a comma separated list (using CSV rules and not in quotes) of the options made available to the user which are enforced on save.
Prerequisites: This tutorial assumes that you have already set up a Category and Procedure if necessary. This page covers some of the basics that are involved in Front End development using the MOX language.
The MOX coding and programming language pays heritage to BASIC, but has been crafted for the specific type of work and environment that is demanded of Moxie.Build.
This style guide provides comprehensive standards for writing clean, maintainable, and consistent MOX code for Moxie.Build. Code examples on this page are for illustrative purposes and are only intended to demonstrate style conventions.
Takes two parameters, FileName, FileData
Table Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.
Takes a variable number of parameters
Takes one parameter, the text of the error to throw.
Takes two parameters, SubjectPrefix, EmailBody
A Remote Method may be called by any other Moxie system. It can be used to divide up a large system among a number of backend servers, or as a public API for 3rd parties. In order to call a Remote Method from MOX, the Remote statement is used.
A PaaS Method may be called by any other Moxie system. In order to call a PaaS Method from MOX, the PaaS statement is used.
A Message Handler is only ever called by the Database on a Database Event. These Event Messages allow a Developer to intercept operations taking place on a per-record level and implement Event based business logic.
A Public Method may be called from any other Procedure, by the Default plug-in as part of the CMS.
Record Reports are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As a Report, the Procedure is expected to produce output to be displayed to the user.
Record Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Record.
The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running.
Has two parameters: Source, Options
Has two parameters: Source, Name
Has two parameters: Source, Options
Takes one parameter, Source
Has one parameter, Options
Takes 8 parameters, ServerName, Port, bSecure, Path, ExtraHttpHeaders, Envelope, ExtraBody, xml
Takes one parameter, a date of the form yyyy-mm-dd
Takes five parameters, Lat1, Long1, Lat2, Long2, Options
Takes one parameter, a gregorian number
Has no parameters
Has one parameter
Takes one parameter, bNoHeaders
Takes two parameters Command, Options
Takes two parameters, Source, Value
Takes two parameters, Source, Options
Takes two parameters, Source, Value
Has no parameters
Takes three parameters, FilePath, Start, Len
Takes one parameter, a Source value
Takes one parameter, a Date value
Takes four parameters, Source, bAny, Search, Item
Takes one parameter, bNoHeader
Takes two parameter: FieldName, Delimiter
Has no parameters
Has no parameters
Takes either one parameter, ResultValue, or no parameters
Takes no parameters
Has no parameters
Takes one parameter, Message, or no parameters
Takes one parameter, TestCondition
Takes no parameters.
Takes no parameters
Takes no parameters
Takes no parameters
Takes one parameter bNoHeaders and returns the result to an assigned variable
Takes three parameters Method, URL, Body
Has one parameter.
Takes one parameter, FieldName
Takes one parameter, Source
Has no parameters
Has no parameters
Takes one parameter, Message, or no parameters
Has no parameters
Takes one parameter
Takes either one parameter, ResultValue, or no parameters