In order for source code to be more readily readable across teams, it is recommended that your source code always be styled according to this style guide.
Takes one parameter, Source
Takes one parameter, Source
Takes three parameters, FieldBase, Fields, IfLenFld
Takes one parameter, Source
Takes one parameter, Source
Takes three parameters, FieldBase, Fields, IfLenFld
Has two parameters: Source, Options
Has two parameters: Source, Options
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.
Developing in Moxie.Build on localhost give you the advantage of working with the template files natively. When working on procedures (MOX code) you need to access that through the Procedures page in the Admin area of a Moxie.Build system, if running the server on localhost or on a remote server. When running on a remote server, you can edit the template files via the Files page in the Admin area.
A type of Prefix which allows the developer to separate blocks of code into organized, defined parts to help provide clarity of the logical block and add structure to the code.
An Include Procedure cannot be executed directly, the contents of its source code can only be Included into other Procedures using the Include command.
Web/API Development Platform with an in-memory database, native-code CMS, and a powerful runtime environment Whether you are a new startup taking off or optimizing your business model for growth, Moxie.Build provides a robust platform with a proven track record for marketplaces, eCommerce, and business process automation
Takes a single string as parameter, which is then appended to each line in the code block.
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.
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, TableName
Takes one parameter, Type
Takes three parameters, ChildTableName, ParentTableName, Mode
Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes
Takes two parameters, TableName and a boolean expression
Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld
Takes seven parameters, Location, Mode, Prompt, Path, Class, Name, HelpText
Takes 6 parameters, Name, Value, Path, Domain, Expires, Other
Takes 6 parameters, Location, Mode, ActionLabel, ActionScript, Class, Extra.
Takes 6 parameters, Location, Mode, ActionPath, Name, Class, Prompt
Takes two parameters, name, value
Takes one parameter, Type
Takes three parameters, Location, Mode, TemplateName
Has no parameters.
Takes no parameters.
Takes 3 parameters, ParentTableName, ChildTableName, and a boolean expression (optional)
Takes 4 parameters, TableName, Relation, OtherTableName, and a boolean expression (optional)
Takes two parameters, a TableName and ProcName
Takes two parameters, a TableName1 and TableName2
Takes one parameter, the name of a database table
Takes two parameters, TableName, IfLenFld
Takes one parameter, TableName
Takes one parameter, TableName
Has no parameters
Takes seven parameters, TableName, OtherTableName, ParentChild, Ratio, Note, Attr, DevNote
Takes nine parameters, TableName, ProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source
Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld
Takes three parameters, Login, Password, bRememberMe
Takes six parameters, TableName, FieldName, Label, Note, Attr, DevNote
Takes one parameter, TableName
Takes two parameters, a TableName and FieldName
Takes two parameters, TableName, IfLenFld
Takes six parameters, FieldBase, Destination, Table, Alias, SourceField, IfLenFld
Has one parameter.
Has one parameter, Options
Takes four parameters, Source, bAny, Search, Item
Takes one parameter, Index
Takes one parameter, a top query destination variable
Takes one parameter, HtmlEscapedString, and returns the Unescaped Version of this string
Takes one parameter, EscapedTemplate, and returns the Unescaped Version of this string
Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string
Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string
Takes two parameters, Source, Search
Takes two parameters, Source, Value
Takes one parameter, Source
Takes two parameters, Source , Search
Takes one parameter, a Source value
Takes three parameters, Login, Password, bRememberMe
Takes no parameters
Takes one parameter, a Source value
Takes one parameter, PathToFile
Takes one existing Source value, and two parameters, Search, NewVal
Takes one parameter, Source
Takes 3 parameters, Location, Mode, Text
Takes two parameters, Source, Match
Takes two parameters, Source, Match
Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, Extra.
Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod
Takes one parameter, ErrMsg
Takes three parameters, Location, ClassNames, AlertText
Takes two parameters, Location, Mode
Takes one parameter, Name
Takes one parameter, Value
Takes two parameters, Source, Value
Takes one parameter, a List of possible group types
Takes one parameter, Source
Takes two parameters, Source, MinLength
Takes one parameter, a Source value
Takes one parameter, Source
Takes one parameter, Source
Takes three parameters, ChildTableName, ParentTableName, Mode
Takes four parameters, FieldBase, Destination, Source, IfLenFld
Takes six parameters, FieldBase, Destination, Source, Left, Comparison, Right
Takes four parameters, FieldBase, Destination, Source, IfLenFld
Takes two parameters, FieldName, Value
Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]
Takes four parameters, FieldBase, FieldName, Source, IfLenFld
Takes two parameters, FieldBase, SortFieldList
Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]
Takes four parameters, FieldBase, Destination, Source, IfLenFld
Takes 10 parameters, FieldBase, From, To, Subject, Body, bMerge, AttachName, AttachPath, Slow, IfLenFld
Takes seven parameters, FieldBase, Destination, Source, bAny, Delimiter, Item, IfLenFld
Takes two parameters, WorkFieldBase + FieldToParse, Delimiter
Takes 6 parameters, FieldBase, Destination, Function, Source, Value, IfLenFld
Takes 7 parameters, FieldBase, Destination, Source, OffsetVal, Operator, OpValue, IfLenFld
Takes three parameters, FieldBase, Destination, SourceFields
Takes two parameters, FilePath, bUseHeader
Takes two parameters, FileName, bUseHeader
Takes three parameters, QueryName, FieldBase, FieldNames
Takes two parameters, FieldBase, FieldNames
A command to help build spreadsheets
Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod
Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn
Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign
Takes 6 parameters, Location, Mode, Div, Data, Script, Extra
Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bUseContainer, bNotResponsive, bInverted, HtmlPre, HtmlApn
Takes 6 parameters, Location, Mode, Class, bNoHeader, bNoAutoAlign, bNoIDTags
Takes four parameters, FieldBase, Destination, Source, IfLenFld
Takes 3 parameters, Location, Mode, bWithNoHeader
Takes 3 parameters, Location, Mode, bWithNoHeader
Takes 5 parameters, Location, Mode, Title, Element, Class
Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld
Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld
Takes two parameters, Data, bHasHeader
Takes two parameters, CSVData, bNoHeaders
Takes four parameters, FieldBase, Destination, Function, IfLenFld
Has no parameters.
Takes two parameters, Location, Mode
Takes five parameters, FieldBase, Destination, Action, Source, IfLenFld
Takes six parameters, FieldBase, GroupByField, Destination, Action, Source, IfLenFld
Takes 5 parameters, FieldBase, GroupBy, MergeField, Delimiter, bKeepBlanks
Takes two parameters, CSVData, bNoHeaders
Takes two parameters, FieldBase, FieldNameList
Takes a variable number of parameters
Takes two parameters, CSVData, bNoHeaders
Takes two parameters, FieldBase, FieldNames
Takes 5 parameters, FieldBase, Destination, Action, Source, IfLenFld
Takes one parameter, a single character
Takes two parameters, FieldBase, FieldNamesList
Takes two parameters, ExcelTableData, Options
Takes eight parameters, TableName, OldOtherTableName, NewOtherTableName, ParentChild, Ratio, Note, Attr, DevNote
Takes two parameters, Name, Value
Takes no parameters
Takes three parameters, TableName, SearchTerms, SearchInFields
Takes two parameters, Name, Value
Takes two parameters, TableName, IfLenFld
Takes seven parameters, TableName, OldFieldName, NewFieldName, Label, Note, Attr, DevNote
Takes ten parameters, TableName, OldProcName, NewProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source
Takes two parameters, TableName, IfLenFld
Takes four parameters, TableName, Relation, OtherTableName, IfLenFld
Takes five parameters, FieldBase, FieldList, Mask, bBlanks2Zero, IfLenFld
Takes two parameters, FileName, bHasHeader
Takes two parameters, FileName, bHasHeader
Takes two parameters, FolderPath, bRecursive
Takes two parameters, FileName, bHasHeader
Takes one parameter, FilePath
Takes a variable number of parameters
Takes 4 parameters, FieldBase, Destination, SourceFields, Delimiter
Takes two parameters, FileName, bHasHeader
Takes two parameters, FileName, bHasHeader
Takes 3 parameters, Folder, Filter, bShowImgSize
Takes up to 6 parameters, FieldBase, FileName, Action, Val1, Val2, IfLenField
Has six parameters, UniqueParent, DestField, FieldBase, UniqueChild, EmbedFields, Options
Takes nine parameters, FieldBase, Destination, Function, Source1, Source2, Source3, Source4, Options, IfLenFld
Takes 7 parameters, FieldBase, GroupBy, GroupTotals, GrandTotals, Seperator, TotalPre, TotalPost
Takes 4 parameters, FieldBase, Left, Comparison, Right
Takes 3 parameters, FieldBase, pOne, pTwo
Takes one parameter, FieldName
Takes a variable number of parameters, FieldBase, Test1, Test2, [etc..]
Takes 3 parameters, FieldBase, Fields, SearchTerms
Takes two parameters, Source, Match
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, or a Custom COM DLL. Each Public Method may either use specific Input Parameters, or it may accept an Input Query.
ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.
Brief overview on the file structure and contents under Moxie. The files and folders discussed in this post are those that are essential when upgrading to the most recent version of Moxie.Build , or when troubleshooting server errors.
Takes two parameters, DestinationFields, SourceFields
Takes two parameters, destinationQuery, sourceQuery
Has no parameters
Takes a variable number of parameters
Has no parameters
Parameter is a single new field name or a space separated list of new field names.
Has no parameters.
Takes one parameter.
Parameter is the table and field name that you want to sum in the form of TableName.FieldName. The specified Table must be a Child of the calling Record.
Has no parameters.
Accepts a space separated list of field names.
Has no parameters.
Parameter is a space separated list of field names to be displayed.
Has 5 parameters, DestFileName, Action, SrcFileName, Val1, Val2
Takes one parameter, ProcedureName
Takes a variable number of conditional statements
Takes a single Field name, with an optional Not operator, followed by the conditional statement
Has no parameters
Has one parameter, a Content.Lang prefix
Has one parameter.
Takes 5 parameters, DestinationQuery, SourceQuery, DestinationMatchField, SourceMatchField, Mode
Takes one parameter, a Label
Takes a variable number of parameters, a comma separated list of TopQuery variable names
Has no parameters
Takes four parameters, DestinationQuery, SourceQuery, UniqueField, UniqueValue
Takes two parameters, SubjectPrefix, EmailBody
Takes a variable number of parameters, QueryName, MethodName, [Param1, [Param2, etc...]]
Takes a single parameter, a QueryName
Takes 3 parameters, Destination, Action, Source
Takes two parameters, FolderPath, Action
Parameter is a space separated list of field names to have the display table sorted by when displaying search results in the Admin interface.
Takes 3 parameters, Trigger, DestinationID, Path
Takes 1 Parameter which is the Table name that you want to count the Attached Records in. The specified Table must be a Child of the calling Record's Table.
Parameter must first specify only looking at Parents ( PARENT ) or only looking at Children ( CHILD ). The remainder of the parameter should be the table and field name you are after in the form of TableName.FieldName.
Takes one parameter which is the keyboard key which will be used as the Access Key for a given Database Table's field.
*Note: By default, each Field's Access Key will be initialized to the first character of the Field's Label.
Has no parameters.
Has no parameters.
Has no parameters.
Parameter is a value or an expression to be used when a record is created if no value is specified during the creation. The value or expression is run through the Assignment Attribute in order to calculate it's result.
Has no parameters.
Prerequisites: This tutorial assumes that you have already set up your Moxie.Build server and logged in. This page covers some of the basics that are involved in managing files and folders in the Moxie.Build system.
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.
Markdown enables simple formatting of plain text via easy to remember conventions. This page will provide you with some pointers on what formatting options are available with "Moxie Flavored Markdown".
Prerequisites: This tutorial assumes that you have already learned about Managing Files .
Moxie.Build, in short, may be used and licensed free of charge for education and non-profit organizations. Whenever it is used by government or for-profit organizations the license is granted on a subscription basis.
Moxie.Build includes a number of open source components as part of its distribution; each is subject to their own licenses as included with the files for those components.
Accepts a numeric value as a parameter.
Accepts one optional numeric value as a parameter
Accepts a numeric value as a parameter.
Has one parameter
Accepts 3 parameters, first is required, 2nd and 3rd are optional. A trailing optional expression after an = sign may also assign a value on the same line.
Parameter is a space separated list of field names to be displayed when the user is viewing results from the Search List in the Admin interface.
Accepts one parameter which is the raw HTML content to be placed in the form at the Field's location.
Has no parameters.
Accepts a numeric value as a parameter.
Has no parameters.
Accepts one parameter which is the raw HTML content to be placed in the form, below the Field's location.
Takes no parameters
Has no parameters.
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.
Has no parameters.
Accepts one parameter which is the raw HTML content to be placed in the form, above the Field's location.
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 one parameter, a domain name
Takes one parameter, an IPv4 Address
Takes two parameters, an encrypted value and the decryption key
Takes one parameter, a path-mask
Has one parameter, any numeric value.
Takes one parameter, any numeric value.
Takes two parameters, SourceValue, EncryptionKey
Takes two parameters, DBTableName, DBTableRecordAlias
Takes one parameter, a date
Takes one parameter
Has no params
Takes one parameter
Compress any value/table
Takes one parameter, a string containing a date and time
Takes one parameter, a date
Has no params
Takes one parameter, a string containing a date and time
Takes one parameter, a source value
Takes one parameter, a source value
Takes one parameter, a gregorian number
Takes no parameters
Takes 8 parameters, ServerName, Port, bSecure, Path, ExtraHttpHeaders, Envelope, ExtraBody, xml
Takes two parameters, Source, Match
Takes a single parameter, Source
Takes 9 parameters, ServerName, Port, bSecure, Mode, Path, ContentType, extraHeader, body, rtnHeaders
Takes one parameter, a date of the form yyyy-mm-dd
Takes one parameter, FieldName
Takes one parameter, the path where the file is located.
Takes two parameters, Source, Search
Takes two parameters, Source , Search
Takes one parameter, the path of the folder
Takes five parameters, Lat1, Long1, Lat2, Long2, Options
Takes one parameter, a value in number of bytes.
Takes one parameter, TableName
Takes three parameters, QueryName, FieldBase, FieldNames
Takes three parameters, Url, InputQuery, OutputQuery
Used as a scoping keyword, similar to WorkWith/End WorkWith .
Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery
Takes one parameter, ServerLogText
Takes one parameter, Value
Takes two parameters, FileName, URL
Takes a variable number of conditional statements to compare against a single source
Takes 3 parameters, QueryName, SourceQuery, bWork
Takes five parameters, DestQuery, SourceQuery, SourceXFld, SourceYFld, SourceZFld
Takes any unspecified data, intended for use by external systems
Takes six parameters, DestQuery, SourceQuery, DestDestFld, DestXFld, DestYFld, SourceYFld
A set of instructions that can be called with parameters to run in the current scope.
Takes one parameter, a comma separated list of FieldNames
Takes one parameter, QueryName
Private Method contained within a given procedure.
Takes two parameters, Text, Title
Has one parameter, a numeric value.
Takes one parameter
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.
Parameter is a space separated list of fields to choose from
Has one parameter.
Takes one parameter
Takes two parameters, User and Password
Has one parameter.
Takes one parameter
Takes one parameter, TestCondition
Takes one parameter, FilePath
Takes one parameter, OutputText
Takes one parameter.
Takes a variable number of parameters
The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running.
This utility program manages a server install with one or many Moxie.Build services running by taking care of nightly tasks via a scheduled task.
Cloudflare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services.
Takes one parameter, in the form of: Table|{Alias}|Field
See Text Operators