Search Results for output

 

[HtmlOutput]

Takes a variable number of parameters

 

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.

 

TRONLog

Takes one parameter, OutputText

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

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.

 

Html

Takes 3 parameters, Location, Mode, Text

 

JsonStream$

Has one parameter, Options

 

TimeDif$

Takes two parameters, Source, Value

 

WebSafe$

Takes one parameter, Source

 

JsonEncode$

Has two parameters: Source, Options

 

HttpHeader

Takes two parameters, name, value

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

HtmlHistory

Takes two parameters, Title, Path

 

Lang$

Takes one parameter, Source

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

RecoverHtml$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

RecoverHtmlObj$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

RecoverMOX$

Takes one parameter, HtmlEscapedString, and returns the Unescaped Version of this string

 

Last$

Takes two parameters, Source , Search

 

TabStream$

Takes one parameter, bNoHeaders

 

Similar$

Takes 2 parameters, pString1, pString2

 

RawStream$

Takes one parameter, a top query destination variable

 

HtmlDropdown

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

 

HtmlNav

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

 

WithGroup

Takes six parameters, FieldBase, GroupByField, Destination, Action, Source, IfLenFld

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

NamesToLabels

Takes no parameters

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

HtmlNavbar

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

 

HtmlRaw

Takes 3 parameters, Location, Mode, bWithNoHeader

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

TemplateType

Takes one parameter, Type

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

TemplateName

Takes one parameter, Name

 

HttpStatus

Takes one parameter, Status

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

ListQueries

Takes no parameters

 

FixFields

Takes one parameter, a single character

 

JsonStream

Takes two parameters, Data, Options

 

ForEach

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

 

Function

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

 

Public Method WorkQuery Example

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.

 

AjaxReply

Has no parameters

 

LangWith

Has one parameter, a Content.Lang prefix

 

NewEComQuery

Takes one parameter, QueryName

 

JoinQuery

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

 

JsonReply

Has no parameters

 

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.

 

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.

 

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.

 

 

Learn More about Frontend Development

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.

 

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.

 

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.

 

ApplyLang$

Takes one parameter

 

CsvStream$

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

 

[WQFieldList]

Has no parameters

 

AmPm$

Takes one parameter

 

HttpHeaders$

Has no parameters

 

JsonDecode$

Has two parameters: Source, Options

 

DateAmPm$

Takes one parameter, a string containing a date and time

 

HttpHeader$

Has one parameter

 

[Me]

Takes no parameters

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

Return

Takes a variable number of parameters.

 

NewQuery

Takes 3 parameters, QueryName, SourceQuery, bWork

 

ProcECom

Takes one parameter, QueryName

 

TRON

Takes one parameter, FilePath

 

Moxie.cfg Config

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

 

SaveFile

Takes two parameters, FileName, FileData

 

Trigger

Takes two parameter, URL, InputQuery