Search Results for name

 

TemplateName

Takes one parameter, Name

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

[WQName]

Has no parameters

 

DnsName$

Takes one parameter, an IPv4 Address

 

[TQName]

Has no parameters

 

NamesToLabels

Takes no parameters

 

[TemplateName]

Takes no parameters

 

DeleteTable

Takes one parameter, TableName

 

DeleteTableProc

Takes two parameters, a TableName and ProcName

 

DeleteTableField

Takes two parameters, a TableName and FieldName

 

AppendTable

Takes one parameter, TableName

 

TemplateRuntime

Takes one parameter, Name

 

Delete

Takes two parameters, TableName and a boolean expression

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

DeleteTableRltn

Takes two parameters, a TableName1 and TableName2

 

ListFields

Takes one parameter, TableName

 

Get

Takes two parameters, TableName, IfLenFld

 

ListRltns

Takes one parameter, TableName

 

ListProcs

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)

 

Flush

Takes one parameter, TableName

 

EmptyTable

Takes one parameter, the name of a database table

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

Http$

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

 

Session$

Takes one parameter, Name

 

Json$

Has two parameters: Source, Name

 

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.

 

WorkIf

Takes one parameter, FieldName

 

FieldDef$

Takes one parameter, FieldName

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

HttpCookie

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

 

HtmlUpload

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

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

HttpHeader

Takes two parameters, name, value

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

Setup$

Takes one parameter, Name

 

HtmlSearchBox

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

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

LoadTableFields

Takes one parameter, TableName

 

LoadPipeFileWS

Takes two parameters, FileName, bHasHeader

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

LoadCsvFileWS

Takes two parameters, FileName, bHasHeader

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

KeepUnique

Takes one parameter, FieldName

 

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

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

SaveJsonFile

Takes two parameters, FileName, Options

 

ResetFields

Takes two parameters, FieldBase, FieldNames

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

ResetTableNextAlias

Takes one parameter, TableName

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

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

 

UpdateTableField

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

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

UpdateTableRltn

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

 

UpdateTableProc

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

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

Setup

Takes two parameters, Name, Value

 

Session

Takes two parameters, Name, Value

 

Update

Takes two parameters, TableName, IfLenFld

 

UnloadTableFiles

Takes one parameter, TableName

 

SaveFile

Takes two parameters, FileName, FileData

 

Critical

Takes one parameter, the Name of the critical section

 

AppendFile

Takes two parameters, FileName, FileData

 

[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.

 

LoadPipeFile

Takes two parameters, FileName, bHasHeader

 

NewQuery

Takes 3 parameters, QueryName, SourceQuery, bWork

 

[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.

 

NewEComQuery

Takes one parameter, QueryName

 

[New] Field

Takes one parameter, a comma separated list of FieldNames

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

DeleteQuery

Takes one parameter, the name of the query

 

[FieldList]

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

 

[Temp] Field

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

 

If (Not) / Then

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

 

ForEach

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

 

[Ensure] Field Exists

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

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

Foreign

Takes a single parameter, a QueryName

 

HttpSoap$

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

 

FirstAlias$

Takes one parameter, TableName

 

DnsIp$

Takes one parameter, a domain name

 

Const

Takes two parameters, the variable name and a value

 

Children

Takes two parameters, ChildTableName, Mode

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

Include

Takes one parameter, ProcedureName

 

LastAlias$

Takes one parameter, TableName

 

ReorderTableProcs

Takes two parameters, TableName, ProcList

 

ReorderTableFields

Takes two parameters, TableName, FieldList

 

LoadTableFiles

Takes one parameter, TableName

 

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.

 

WorkQuery

Takes one parameter, QueryName

 

NewTable

Takes two parameters, TableName, AutoAlias

 

PWHash

Takes three parameters, TableName, Alias, Password

 

QBox

Takes two parameters, QueryName, Title

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

LoadTable

Takes one parameter, TableName

 

TopField

Takes one parameter, FieldName

 

SaveHttpFile

Takes two parameters, FileName, URL

 

[&] 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.

 

ProcECom

Takes one parameter, QueryName

 

SetEnsure

Takes two parameters, FieldName, Value

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

Images

Takes up to 6 parameters, FieldBase, Destination, Action, Source, Value, IfLenField

 

JsonEmbed

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

 

JsonStream

Takes two parameters, Data, Options

 

Templates Documentation

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

 

[Header] Raw HTML

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

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

[Footer] Raw HTML

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

 

Build

Takes a variable number of parameters

 

[Ajax]

Takes 3 parameters, Event, DestinationID, Path

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

[Raw] Raw HTML

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

 

Folders

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

 

[!] Limited Selection List (DB Field Attribute)

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.

 

Files

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

 

FixFields

Takes one parameter, a single character

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

SetIfAny

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

 

SSReference

A command to help build spreadsheets

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

Text

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

 

Reset

Takes no parameters.

 

Pivot

Takes two parameters, FieldBase, PivotField

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

SetIfAll

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

 

SetIf

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

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

HtmlForm

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

 

HtmlETable

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

 

HtmlNav

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

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

HtmlTable

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

 

GetFieldDefs

Has no parameters.

 

XmlStream

Takes one parameter, Data

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

HtmlDTable

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

 

HtmlDropdown

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

 

PickFirstField

Takes three parameters, FieldBase, Destination, SourceFields

 

Help with Markdown

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".

 

ListQueries

Takes no parameters

 

 

LoadMultipart

Takes two parameters, Data, Boundary

 

LoadJsonFile

Takes two parameters, PathToFile, Options

 

KeepIfAny

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

 

KeepIfAll

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

 

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.

 

ListFiles

Takes 3 parameters, Folder, Filter, bShowImgSize, bShowAccessed

 

LFillFields

Takes one parameter, a FieldBase

 

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.

 

MergeRecords

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

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

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

 

Offset

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

 

LoadRawFile

Takes one parameter, FilePath

 

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.

 

LoadReqFile

Has 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.

 

 

Dir$

Takes one parameter, a path-mask

 

CsvStream$

Takes one parameter bNoHeaders and returns the result to an assigned variable

 

OnError / End OnError

Takes one parameter, Control

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

[WQFieldList]

Has no parameters

 

[TQFieldList]

Takes no parameters

 

CheckPw$

Takes two parameters, User and Password

 

CFApi$

Takes three parameters Method, URL, Body

 

RawStream$

Takes one parameter, a top query destination variable

 

MakeValidTable$

Takes one parameter, Source

 

LookupQuery

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

 

MapQuery

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

 

JsonStream$

Has one parameter, Options

 

Meta

Takes any unspecified data, intended for use by external systems

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

Lang$

Takes one parameter, Source

 

[ ? ] Pick First (Top Query)

Parameter is a space separated list of fields to choose from

 

Return

Takes a variable number of parameters.

 

TRON

Takes one parameter, FilePath

 

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.

 

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.

 

Throttle / End Throttle

Takes one parameter, SlowWritePercent

 

Thread

Takes a variable number of parameters

 

TopWith

Takes one parameter, FieldBase

 

TopQuery

Takes one parameter, FieldBase

 

[L] Lookup (Top Query)

Takes one parameter.

 

[CountIf]

Takes one parameter, TestCondition

 

[Meta]

Takes no parameters

 

[Me]

Takes no parameters

 

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.

 

Moxie.cfg Config

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

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

Setup Table

The Setup Table controls aspects that can be changed while the server is running, and is intended to contain both Moxie.Build specific values as well as application specific.

 

Backfill

Has no parameters

 

Login

Takes three parameters, Login, Password, bRememberMe

 

FailIfRecError

Has no parameters

 

CopyTable

Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes

 

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.

 

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.

 

Lookup

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

 

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.

 

CFPurge

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

 

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.

 

ListTables

Has no parameters

 

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.

 

Call

Takes a variable number of parameters

 

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.

 

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.

 

AppendQuery

Takes 3 parameters, DestinationQuery, SourceQuery, bMoveIt

 

HtmlButton

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

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

Image

Has 4 parameters, Destination, Action, Source, Value

 

TabStream$

Takes one parameter, bNoHeaders

 

Similar$

Takes 2 parameters, pString1, pString2

 

Html

Takes 3 parameters, Location, Mode, Text

 

JoinQuery

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

 

Folder

Takes three parameters, FolderPath, Action, Source

 

Export and Import of Database Schema

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

 

File

Takes three parameters, Destination, Action, Source

 

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

 

Function

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

 

GoTo

Takes one parameter, a Label

 

TemplateType

Takes one parameter, Type

 

ForeignWith

Takes a single parameter, a FieldBase