Search Results for output

 

[HtmlOutput]

Takes a variable number of parameters

 

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.

 

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

 

HttpHeader

Takes two parameters, name, value

 

WebSafe$

Takes one parameter, Source

 

HttpStatus

Takes one parameter, Status

 

Html

Takes 3 parameters, Location, Mode, Text

 

HtmlHistory

Takes two parameters, Title, Path

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

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

 

RawStream$

Takes one parameter, a top query destination variable

 

Lang$

Takes one parameter, Source

 

Last$

Takes two parameters, Source , Search

 

TabStream$

Takes one parameter, bNoHeaders

 

TimeDif$

Takes two parameters, Source, Value

 

Similar$

Takes 2 parameters, pString1, pString2

 

RecoverMOX$

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

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

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, bNotResponsive, bInverted, HtmlPre, HtmlApn

 

HtmlRaw

Takes 3 parameters, Location, Mode, bWithNoHeader

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

TemplateType

Takes one parameter, Type

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

TemplateName

Takes one parameter, Name

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

FixFields

Takes one parameter, a single character

 

ListQueries

Takes no parameters

 

AjaxReply

Has no parameters

 

ForEach

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

 

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

 

JsonReply

Has no parameters

 

LangWith

Has one parameter, a Content.Lang prefix

 

Function

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

 

JoinQuery

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

 

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.

 

AmPm$

Takes one parameter

 

ApplyLang$

Takes one parameter

 

Moxie.cfg Config

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

 

[WQFieldList]

Has no parameters

 

JsonEncode$

Has two parameters: Source, Options

 

JsonStream$

Has one parameter, Options

 

CsvStream$

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

 

DateAmPm$

Takes one parameter, a string containing a date and time

 

ProcECom

Takes one parameter, QueryName

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

NewEComQuery

Takes one parameter, QueryName

 

NewQuery

Takes 3 parameters, QueryName, SourceQuery, bWork

 

Trigger

Takes two parameter, URL, InputQuery

 

TRON

Takes one parameter, FilePath

 

Return

Takes a variable number of parameters.

 

SaveFile

Takes two parameters, FileName, FileData