Search Results for text

 

Text

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

 

[MText] Multiline Text Editor

Accepts one optional numeric value as a parameter

 

HtmlToText$

Takes a single parameter, Source

 

TextToHtml$

Takes one parameter, Source

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

HttpHeaders$

Has no parameters

 

Http$

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

 

HttpHeader$

Has one parameter

 

JsonStream$

Has one parameter, Options

 

Lang$

Takes one parameter, Source

 

JsonEncode$

Has two parameters: Source, Options

 

IsValidAlias$

Takes one parameter, a Source value

 

JsonDecode$

Has two parameters: Source, Options

 

Ctid$

Has no params

 

Cuid$

Has no params

 

ApplyLang$

Takes one parameter

 

CheckPw$

Takes two parameters, User and Password

 

Extract$

Takes two parameters, Source, Search

 

Greg$

Takes one parameter, a gregorian number

 

Guid$

Takes no parameters

 

ExtractAny$

Takes two parameters, Source , Search

 

FieldDef$

Takes one parameter, FieldName

 

ReplaceAny$

Takes one existing Source value, and two parameters of equal length, SearchVals, NewVals

 

Right$

Takes two parameters, Source, Value

 

Replace$

Takes one existing Source value, and two parameters, Search, NewVal

 

Remain$

Takes two parameters, Source and Search

 

Remove$

Takes two parameters, Source and Search

 

Truncate$

Takes two parameters, Source, MinLength

 

WebSafe$

Takes one parameter, Source

 

Trim$

Takes two parameters, Source, Search

 

SSColAlpha$

Takes one parameter, Source

 

SSColNum$

Takes one parameter, Source

 

LongDate$

Takes one parameter, a Date value

 

Path$

Takes one parameter, Index

 

Len$

Takes one parameter, a Source value

 

LastAny$

Takes two parameters, Source, Search

 

Left$

Takes two parameters, Source, Value

 

RecoverMOX$

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

 

RecoverTmpl$

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

 

RecoverHtml$

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

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

RawStream$

Takes one parameter, a top query destination variable

 

MakeValidDBField$

Takes one parameter, Source value

 

MakeValidTable$

Takes one parameter, Source

 

 

MakeValidAlias$

Takes one parameter, a Source value

 

Lookup$

Takes one parameter, in the form of: Table|{Alias}|Field

 

LTrim$

Takes two parameters, Source, Search

 

LTrimAny$

Takes two parameters, Source, Search

 

MCase$

Takes one parameter, Source

 

ParseCount$

Takes two parameters, Source and Match

 

ParseCountAny$

Takes two parameters, Source and Match

 

Plus8Decode$

Takes one parameter, Source

 

Parse$

Takes four parameters, Source, bAny, Search, Item

 

Month$

Takes one parameter, Source

 

NbSp$

Takes no parameters

 

NulStream$

Takes one parameter, bNoHeader

 

InStr$

Takes two parameters, Source, Match

 

InStrAny$

Takes two parameters, Source, Match

 

IsValidDBField$

Takes one parameter, a Source value

 

HttpSoap$

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

 

Format$

Takes two parameters, a source value, and a formatting mask.

 

Hash$

Takes one parameter, a source value

 

Hex$

Takes one parameter, a source value

 

IsValidTable$

Takes one parameter, a Source value

 

LCase$

Takes a single Source parameter

 

LoadFile$

Takes one parameter, PathToFile

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

LastAlias$

Takes one parameter, TableName

 

Json$

Has two parameters: Source, Name

 

Keywords$

Has one parameter.

 

Last$

Takes two parameters, Source , Search

 

UCase$

Takes one parameter, Source

 

 

UrlDecode$

Takes one parameter, Source

 

TrimAny$

Takes two parameters, Source, Match

 

TallyAny$

Takes two parameters, Source, Match

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

Time$

Takes one parameter, Source

 

UrlEncode$

Takes one parameter, Source

 

ValidDate$

Takes one parameter, a Source value.

 

Verify$

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

Year$

Takes one parameter, Source

 

Utf8ToUtf16$

Takes one parameter, Source

 

Utf16ToAnsi$

Takes one parameter, Source

 

Utf16ToUtf8$

Takes one parameter, Source

 

Utf8ToAnsi$

Takes one parameter, Source

 

Repeat$

Takes two parameters, Source, Count

 

RetainAny$

Takes two parameters, Source, Search

 

Reverse$

Takes one parameter, Source

 

RemoveAny$

Takes two parameters, Source and Search

 

Plus8Encode$

Takes one parameter, Source

 

RecoverHtmlObj$

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

 

RemainAny$

Takes two parameters, Source and Search

 

RTrim$

Takes two parameters, Source, Search

 

Similar$

Takes 2 parameters, pString1, pString2

 

TabStream$

Takes one parameter, bNoHeaders

 

Tally$

Takes two parameters, Source, Match

 

Setup$

Takes one parameter, Name

 

RTrimAny$

Takes two parameters, Source, Search

 

Session$

Takes one parameter, Name

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

FolderExists$

Takes one parameter, the path of the folder

 

DayOfWeek$

Takes one parameter, a date

 

Decrypt$

Takes two parameters, an encrypted value and the decryption key

 

AntiCsrf$

Has no params

 

AnsiToUtf8$

Has one parameter.

 

Dir$

Takes one parameter, a path-mask

 

AmPm$

Takes one parameter

 

DnsName$

Takes one parameter, an IPv4 Address

 

DnsIp$

Takes one parameter, a domain name

 

AnsiToUtf16$

Has one parameter.

 

Day$

Takes one parameter, a date

 

Compress$

Compress any value/table

 

CsvStream$

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

 

CFApi$

Takes three parameters Method, URL, Body

 

Chr$

Takes one parameter

 

Bin$

Takes one parameter

 

DateAmPm$

Takes one parameter, a string containing a date and time

 

DateTime$

Takes one parameter, a string containing a date and time

 

Currency$

Takes one parameter, a numeric value

 

Date$

Takes one parameter, a string containing a date time

 

FileSize$

Takes one parameter, a value in number of bytes.

 

FirstAlias$

Takes one parameter, TableName

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

Encrypt$

Takes two parameters, SourceValue, EncryptionKey

 

FileExists$

Takes one parameter, the path where the file is located.

 

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.

 

ServerLog

Takes one parameter, ServerLogText

 

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

 

HtmlUpload

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

 

TRONLog

Takes one parameter, OutputText

 

Html

Takes 3 parameters, Location, Mode, Text

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

MsgBox

Takes two parameters, Text, Title

 

 

Exception

Takes one parameter, the text of the exception to throw.

 

Error

Takes one parameter, the text of the error to throw.

 

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

 

NewTableRltn

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

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

NewTableField

Takes six parameters, TableName, FieldName, Label, 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

 

Lookup

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

 

PWHash

Takes three parameters, TableName, Alias, Password

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

Verify%

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

ForEach

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

 

FailIfRecError

Has no parameters

 

File

Takes 3 parameters, Destination, Action, Source

 

If (Not) / And / Or / ElseIf / End If

Takes a variable number of conditional statements

 

Meta

Takes any unspecified data, intended for use by external systems

 

Foreign

Takes a single parameter, a QueryName

 

ForeignWith

Takes a single parameter, a FieldBase

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

DetachWithDelete

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

 

HttpType

Takes one parameter, Type

 

Login

Takes three parameters, Login, Password, bRememberMe

 

Get

Takes two parameters, TableName, IfLenFld

 

HtmlPageBreak

Takes two parameters, Location, Mode

 

HtmlErr

Takes one parameter, ErrMsg

 

HttpHeader

Takes two parameters, name, value

 

HttpCookie

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

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

SetNew

Takes four parameters, FieldBase, FieldName, Source, IfLenFld

 

GetFieldDefs

Has no parameters.

 

Time

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

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

SendEmail

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

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

HtmlNavbar

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

 

HtmlNav

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

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

HtmlDTable

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

 

HtmlDropdown

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

 

HtmlForm

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

 

HtmlETable

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

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

JsonStream

Takes two parameters, Data, Options

 

ListQueries

Takes no parameters

 

KeepIfSimilar

Takes 3 parameters, FieldBase, pOne, pTwo

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

JsonEmbed

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

 

Files

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

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

Offset

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

 

NulStream

Takes two parameters, Data, bHasHeader

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

Parse

Takes seven parameters, FieldBase, Destination, Source, bAny, Delimiter, Item, IfLenFld

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

LoadCsvFileWS

Takes two parameters, FileName, bHasHeader

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

 

[WQMessage]

Takes one parameter, Message, or no parameters

 

[State] Error State

Takes one parameter.

 

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.

 

[WQResult]

Takes either one parameter, ResultValue, or no parameters

 

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.

 

InStr%

Takes two parameters, Source, Match

 

[Meta]

Takes no parameters

 

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

 

[TQResult]

Takes either one parameter, ResultValue, or no parameters

 

[TQMessage]

Takes one parameter, Message, or no parameters

 

[MaxLen]

Accepts a numeric value as a parameter.

 

Get Started with Running on localhost

The following video demonstrates how to download Moxie.Build to your workstation, and run it on localhost.

 

Get Started by Making it Your Own

This video demonstrates how to get started with Moxie.Build with basic customization.

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

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.

 

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.

 

Len%

Takes one parameter, a Source value

 

Home

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

 

 

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.

 

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.

 

ParseCount%

Takes two parameters, Source and Match

 

ParseCountAny%

Takes two parameters, Source and Match

 

TimeAdd$

Takes two parameters, Source, Value

 

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

 

TimeDif$

Takes two parameters, Source, Value

 

Cloudflare Integration

Cloudflare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services.

 

Try / Catch / Finally / End Try

A traditional way to check for hard errors and enable those errors to error softly.

 

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

 

GeoDistance$

Takes five parameters, Lat1, Long1, Lat2, Long2, Options

 

Select / Case / End Select

Takes a variable number of conditional statements to compare against a single source

 

OnError (Continue)

Used as a scoping keyword, similar to WorkWith/End WorkWith .

 

TimeSub$

Takes two parameters, Source, Value

 

Greg%

Takes one parameter, a date of the form yyyy-mm-dd

 

TRON

Takes one parameter, FilePath

 

TallyAny%

Takes two parameters, Source, Match

 

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.

 

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.

 

[Markdown]

Has no parameters.

 

[CountIf]

Takes one parameter, TestCondition

 

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.

 

Tally%

Takes two parameters, Source, Match

 

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.

 

Cloudflared Tunnel

Cloudflared Tunnel exposes applications running on your local web server on any network with an internet connection with an outbound tunnel that connects directly to Cloudflare's edge network without the need to configure inbound firewall rules.

 

Licensing

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.

 

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.

 

Moxie.Build for Developers

Moxie.Build Keeps it Simple The full stack in one app, delivered by one company. Coding with the MOX server side scripting language is concise, well structured, and keeps your focus on the data. Use Moxie.Build in your company to pull together resources, centralize data, customize business workflows, and act as a highly accessible web portal for staff and customers alike.