Search Results for name

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

TemplateName

Takes one parameter, Name

 

[WQName]

Has no parameters

 

DnsName$

Takes one parameter, an IPv4 Address

 

NamesToLabels

Takes no parameters

 

[TQName]

Has no parameters

 

DeleteTableField

Takes two parameters, a TableName and FieldName

 

DeleteTableProc

Takes two parameters, a TableName and ProcName

 

DeleteTableRltn

Takes two parameters, a TableName1 and TableName2

 

DeleteTable

Takes one parameter, TableName

 

AppendTable

Takes one parameter, TableName

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

Delete

Takes two parameters, TableName and a boolean expression

 

Get

Takes two parameters, TableName, IfLenFld

 

Flush

Takes one parameter, TableName

 

ListProcs

Takes one parameter, TableName

 

ListFields

Takes one parameter, TableName

 

DetachWithDelete

Takes 4 parameters, TableName, Relation, OtherTableName, and a boolean expression (optional)

 

Detach

Takes 3 parameters, ParentTableName, ChildTableName, and a boolean expression (optional)

 

EmptyTable

Takes one parameter, the name of a database table

 

ListRltns

Takes one parameter, TableName

 

TemplateRuntime

Takes one parameter, Name

 

Http$

Takes 9 parameters, ServerName, Port, bSecure, Mode, Path, ContentType, extraHeader, body, rtnHeaders

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

Session$

Takes one parameter, Name

 

FieldDef$

Takes one parameter, FieldName

 

WorkIf

Takes one parameter, FieldName

 

Using the Backtick `

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.

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

Setup$

Takes one parameter, Name

 

HttpCookie

Takes 6 parameters, Name, Value, Path, Domain, Expires, Other

 

HttpHeader

Takes two parameters, name, value

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

HtmlUpload

Takes seven parameters, Location, Mode, Prompt, Path, Class, Name, HelpText

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

HtmlSearchBox

Takes 6 parameters, Location, Mode, ActionPath, Name, Class, Prompt

 

LoadTableFields

Takes one parameter, TableName

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

KeepUnique

Takes one parameter, FieldName

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

Images

Takes up to 6 parameters, FieldBase, FileName, Action, Val1, Val2, IfLenField

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

SetNew

Takes four parameters, FieldBase, FieldName, Source, IfLenFld

 

SendEmail

Takes 10 parameters, FieldBase, From, To, Subject, Body, bMerge, AttachName, AttachPath, Slow, IfLenFld

 

ResetFields

Takes two parameters, FieldBase, FieldNames

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

SaveJsonFile

Takes two parameters, FileName, Options

 

UpdateTableRltn

Takes eight parameters, TableName, OldOtherTableName, NewOtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

ResetTableNextAlias

Takes one parameter, TableName

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

NewTableField

Takes six parameters, TableName, FieldName, Label, Note, Attr, DevNote

 

New

Takes two parameters, TableName, IfLenFld

 

NewTableRltn

Takes seven parameters, TableName, OtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

NewTableProc

Takes nine parameters, TableName, ProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

UpdateTableProc

Takes ten parameters, TableName, OldProcName, NewProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

UpdateTableField

Takes seven parameters, TableName, OldFieldName, NewFieldName, Label, Note, Attr, DevNote

 

Setup

Takes two parameters, Name, Value

 

Session

Takes two parameters, Name, Value

 

Update

Takes two parameters, TableName, IfLenFld

 

UnloadTableFiles

Takes one parameter, TableName

 

If (Not) / Then

Takes a single Field name, with an optional Not operator, followed by the conditional statement

 

Image

Has 5 parameters, DestFileName, Action, SrcFileName, Val1, Val2

 

ForEach

Takes a variable number of parameters, QueryName, MethodName, [Param1, [Param2, etc...]]

 

Foreign

Takes a single parameter, a QueryName

 

NewQuery

Takes 3 parameters, QueryName, SourceQuery, bWork

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

[New] Field

Takes one parameter, a comma separated list of FieldNames

 

NewEComQuery

Takes one parameter, QueryName

 

[Ensure] Field Exists

Takes a variable number of parameters, a comma separated list of TopQuery variable names

 

[Temp] Field

Parameter is a single new field name or a space separated list of new field names.

 

[FieldList]

Parameter is a space separated list of field names to be displayed.

 

[SearchFieldList]

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.

 

[SearchSort]

Parameter is a space separated list of field names to have the display table sorted by when displaying search results in the Admin interface.

 

Critical

Takes one parameter, the Name of the critical section

 

DeleteQuery

Takes one parameter, the name of the query

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

[A] Copy Attached Value

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.

 

SaveFile

Takes two parameters, FileName, FileData

 

LoadTableFiles

Takes one parameter, TableName

 

LoadTable

Takes one parameter, TableName

 

[&] Count Attached Child Records

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.

 

LastAlias$

Takes one parameter, TableName

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

NewTable

Takes two parameters, TableName, AutoAlias

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

WorkQuery

Takes one parameter, QueryName

 

Children

Takes two parameters, ChildTableName, Mode

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

Include

Takes one parameter, ProcedureName

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

Const

Takes two parameters, the variable name and a value

 

TopField

Takes one parameter, FieldName

 

ReorderTableFields

Takes two parameters, TableName, FieldList

 

DnsIp$

Takes one parameter, a domain name

 

SetEnsure

Takes two parameters, FieldName, Value

 

ProcECom

Takes one parameter, QueryName

 

ReorderTableProcs

Takes two parameters, TableName, ProcList

 

QBox

Takes two parameters, QueryName, Title

 

SaveHttpFile

Takes two parameters, FileName, URL

 

ReorderTableRltns

Takes two parameters, TableName, RltnList

 

[+] Sum of Field of Attached Child Records

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.

 

PWHash

Takes three parameters, TableName, Alias, Password

 

HttpSoap$

Takes 8 parameters, ServerName, Port, bSecure, Path, ExtraHttpHeaders, Envelope, ExtraBody, xml

 

FirstAlias$

Takes one parameter, TableName

 

HtmlForm

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

 

JsonEmbed

Has six parameters, UniqueParent, DestField, FieldBase, UniqueChild, EmbedFields, Options

 

FixFields

Takes one parameter, a single character

 

MOX Coding and Programing Language Syntax Documentation

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.

 

HtmlNavbar

Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bNotResponsive, bInverted, HtmlPre, HtmlApn

 

HtmlTable

Takes 6 parameters, Location, Mode, Class, bNoHeader, bNoAutoAlign, bNoIDTags

 

[!] Limited Selection List

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. To use different values than labels, for each comma separated pair, specify the value first inside of { } followed by the label.

If the Parameter is just the single word Checkbox, then instead of a drop down list with values, the user will be given a single checkbox: If the field is unchecked the value will be blank, and if it is checked the value will be "y".

When this attribute is used with a Top Query in MOX, it will ensure the field value matches one of the options; if not, it will throw a run time error.

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

HtmlNav

Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn

 

Build

Takes a variable number of parameters

 

[Header] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, above the Field's location.

 

[Footer] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, below the Field's location.

 

[Ajax]

Takes 3 parameters, Trigger, DestinationID, Path

 

[If] Assignment (DB Field Attribute)

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.

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

Files

Takes 5 parameters, FieldBase, Destination, Action, Source, IfLenFld

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

Templates Documentation

Prerequisites: This tutorial assumes that you have already learned about Managing Files .

 

 

Pivot

Takes two parameters, FieldBase, PivotField

 

PickFirstField

Takes three parameters, FieldBase, Destination, SourceFields

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

Reset

Takes no parameters.

 

Offset

Takes 7 parameters, FieldBase, Destination, Source, OffsetVal, Operator, OpValue, IfLenFld

 

Get Started with Service Setup on a Server

A single Windows OS can host many instances of Moxie.Build, these steps will guide you through the setup process.

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

GetFieldDefs

Has no parameters.

 

XmlStream

Takes one parameter, Data

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

SetIfAny

Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]

 

Text

Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld

 

SSReference

A command to help build spreadsheets

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

SetIfAll

Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]

 

SetIf

Takes six parameters, FieldBase, Destination, Source, Left, Comparison, Right

 

LFillFields

Takes one parameter, a FieldBase

 

HtmlETable

Takes 6 parameters, Location, Mode, Div, Data, Script, Extra

 

ListFiles

Takes 3 parameters, Folder, Filter, bShowImgSize

 

HtmlDTable

Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign

 

KeepIfAll

Takes a variable number of parameters, FieldBase, Test1, Test2, [etc..]

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

Learn More About the Content Management System

Prerequisites: This page assumes that you have already set up your Moxie.Build server and logged in as an admin user. This page covers some of the basics that are involved in using the Content Management aspects of the Moxie.Build system.

 

KeepIfAny

Takes a variable number of parameters, FieldBase, Test1, Test2, [etc...]

 

ListQueries

Takes no parameters

 

Get Started with Setting up the Development Environment

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.

 

LoadRawFile

Takes one parameter, FilePath

 

MergeRecords

Takes 5 parameters, FieldBase, GroupBy, MergeField, Delimiter, bKeepBlanks

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

HtmlDropdown

Takes 5 parameters, Location, Mode, Title, Element, Class

 

Learn More About Managing Files

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.

 

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

Dir$

Takes one parameter, a path-mask

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

JsonStream$

Has one parameter, Options

 

CheckPw$

Takes two parameters, User and Password

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

[WQFieldList]

Has no parameters

 

CFApi$

Takes three parameters Method, URL, Body

 

MapQuery

Takes five parameters, DestQuery, SourceQuery, SourceXFld, SourceYFld, SourceZFld

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

Similar$

Takes 2 parameters, pString1, pString2

 

RawStream$

Takes one parameter, a top query destination variable

 

Lang$

Takes one parameter, Source

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

MakeValidTable$

Takes one parameter, Source

 

Command Line with .mox file

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.

 

Moxie.cfg Config

The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running

 

Nightly Management Utility

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 Origin Certificates

Cloudflare automatically provides free client-facing certificates for your domain, even if using their free service. In addition, they provide free Origin Certificates to encrypt the connection between Cloudflare and your origin Moxie.Build server. Use this article if you are going to have Cloudflare connect to inbound open ports on your Moxie.Build server.

 

Thread

Takes a variable number of parameters

 

TopQuery

Takes one parameter, FieldBase

 

TopWith

Takes one parameter, FieldBase

 

[Me]

Takes no parameters

 

[ ? ] Pick First (Top Query)

Parameter is a space separated list of fields to choose from

 

[TQFieldList]

Takes no parameters

 

[L] Lookup (Top Query)

Takes one parameter.

 

Return

Takes a variable number of parameters.

 

[CountIf]

Takes one parameter, TestCondition

 

[If] Assignment (Top Query)

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.

 

LookupQuery

Takes six parameters, DestQuery, SourceQuery, DestDestFld, DestXFld, DestYFld, SourceYFld

 

Record Report

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.

 

Remote Method

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.

 

Public Method

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.

 

Record Action

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.

 

Table Report

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.

 

FailIfRecError

Has no parameters

 

File

Takes 3 parameters, Destination, Action, Source

 

AppendQuery

Takes 3 parameters, DestinationQuery, SourceQuery, bMoveIt

 

CFPurge

Takes one parameter, the URL to purge from CloudFlare's cache

 

Folder and File Structure

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 , or when troubleshooting server errors.

 

Table Action

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.

 

[Raw] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form at the Field's location.

 

Export and Import of Database Schema

ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.

 

Message Handler

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.

 

PaaS Method

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.

 

ListTables

Has no parameters

 

Lookup

Takes six parameters, FieldBase, Destination, Table, Alias, SourceField, IfLenFld

 

Login

Takes three parameters, Login, Password, bRememberMe

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

TemplateType

Takes one parameter, Type

 

GoTo

Takes one parameter, a Label

 

Function

A special type of Private Method, called a Private Function, that is intended to return a single value or multiple values simultaneously.

 

Folder

Takes two parameters, FolderPath, Action

 

Backfill

Has no parameters

 

CopyTable

Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes

 

ForeignWith

Takes a single parameter, a FieldBase

 

JoinQuery

Takes 5 parameters, DestinationQuery, SourceQuery, DestinationMatchField, SourceMatchField, Mode

 

Html

Takes 3 parameters, Location, Mode, Text