Search Results for text

 

Text

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

 

HtmlToText$

Takes a single parameter, Source

 

[MText] Multiline Text Editor

Accepts one optional numeric value as a parameter

 

TextToHtml$

Takes one parameter, Source

 

JsonEncode$

Has two parameters: Source, Options

 

IsValidAlias$

Takes one parameter, a Source value

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

LastAny$

Takes two parameters, Source, Search

 

Left$

Takes two parameters, Source, Value

 

JsonStream$

Has one parameter, Options

 

Lang$

Takes one parameter, Source

 

Extract$

Takes two parameters, Source, Search

 

CheckPw$

Takes two parameters, User and Password

 

ApplyLang$

Takes one parameter

 

ExtractAny$

Takes two parameters, Source , Search

 

Http$

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

 

Greg$

Takes one parameter, a gregorian number

 

FieldDef$

Takes one parameter, FieldName

 

Len$

Takes one parameter, a Source value

 

Right$

Takes two parameters, Source, Value

 

SSColAlpha$

Takes one parameter, Source

 

Replace$

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

 

ReplaceAny$

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

 

Truncate$

Takes two parameters, Source, MinLength

 

WebSafe$

Takes one parameter, Source

 

SSColNum$

Takes one parameter, Source

 

Trim$

Takes two parameters, Source, Search

 

RawStream$

Takes one parameter, a top query destination variable

 

RecoverHtml$

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

 

LongDate$

Takes one parameter, a Date value

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

Remain$

Takes two parameters, Source and Search

 

Remove$

Takes two parameters, Source and Search

 

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

 

RecoverHtmlObj$

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

 

Guid$

Takes no parameters

 

Format$

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

 

FirstAlias$

Takes one parameter, TableName

 

FolderExists$

Takes one parameter, the path of the folder

 

Hash$

Takes one parameter, a source value

 

InStr$

Takes two parameters, Source, Match

 

InStrAny$

Takes two parameters, Source, Match

 

Plus8Encode$

Takes one parameter, Source

 

Hex$

Takes one parameter, a source value

 

HttpSoap$

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

 

FileSize$

Takes one parameter, a value in number of bytes.

 

Dir$

Takes one parameter, a path-mask

 

DnsIp$

Takes one parameter, a domain name

 

Decrypt$

Takes two parameters, an encrypted value and the decryption key

 

Day$

Takes one parameter, a date

 

DayOfWeek$

Takes one parameter, a date

 

DnsName$

Takes one parameter, an IPv4 Address

 

Year$

Takes one parameter, Source

 

FileExists$

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

 

Verify$

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

Encrypt$

Takes two parameters, SourceValue, EncryptionKey

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

Lookup$

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

 

LTrim$

Takes two parameters, Source, Search

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

Month$

Takes one parameter, Source

 

LoadFile$

Takes one parameter, PathToFile

 

LTrimAny$

Takes two parameters, Source, Search

 

 

MCase$

Takes one parameter, Source

 

MakeValidTable$

Takes one parameter, Source

 

MakeValidAlias$

Takes one parameter, a Source value

 

MakeValidDBField$

Takes one parameter, Source value

 

NbSp$

Takes no parameters

 

IsValidTable$

Takes one parameter, a Source value

 

ParseCount$

Takes two parameters, Source and Match

 

IsValidDBField$

Takes one parameter, a Source value

 

Plus8Decode$

Takes one parameter, Source

 

ParseCountAny$

Takes two parameters, Source and Match

 

Keywords$

Has one parameter.

 

LCase$

Takes a single Source parameter

 

NulStream$

Takes one parameter, bNoHeader

 

Parse$

Takes four parameters, Source, bAny, Search, Item

 

Last$

Takes two parameters, Source , Search

 

LastAlias$

Takes one parameter, TableName

 

Utf8ToAnsi$

Takes one parameter, Source

 

Reverse$

Takes one parameter, Source

 

RTrimAny$

Takes two parameters, Source, Search

 

RTrim$

Takes two parameters, Source, Search

 

RetainAny$

Takes two parameters, Source, Search

 

Utf8ToUtf16$

Takes one parameter, Source

 

ValidDate$

Takes one parameter, a Source value.

 

TallyAny$

Takes two parameters, Source, Match

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

Session$

Takes one parameter, Name

 

Utf16ToUtf8$

Takes one parameter, Source

 

UrlEncode$

Takes one parameter, Source

 

TabStream$

Takes one parameter, bNoHeaders

 

Utf16ToAnsi$

Takes one parameter, Source

 

Tally$

Takes two parameters, Source, Match

 

UrlDecode$

Takes one parameter, Source

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

Similar$

Takes 2 parameters, pString1, pString2

 

Setup$

Takes one parameter, Name

 

Repeat$

Takes two parameters, Source, Count

 

Compress$

Compress any value/table

 

CsvStream$

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

 

Chr$

Takes one parameter

 

TrimAny$

Takes two parameters, Source, Match

 

RemainAny$

Takes two parameters, Source and Search

 

DateAmPm$

Takes one parameter, a string containing a date and time

 

DateTime$

Takes one parameter, a string containing a date and time

 

Date$

Takes one parameter, a string containing a date

 

Cuid$

Has no params

 

Currency$

Takes one parameter, a numeric value

 

AmPm$

Takes one parameter

 

AnsiToUtf16$

Has one parameter.

 

Time$

Takes one parameter, Source

 

 

RemoveAny$

Takes two parameters, Source and Search

 

Bin$

Takes one parameter

 

CFApi$

Takes three parameters Method, URL, Body

 

UCase$

Takes one parameter, Source

 

AnsiToUtf8$

Has one parameter.

 

HtmlUpload

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

 

MsgBox

Takes two parameters, Text, Title

 

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.

 

Html

Takes 3 parameters, Location, Mode, Text

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

TRONLog

Takes one parameter, OutputText

 

ServerLog

Takes one parameter, ServerLogText

 

Exception

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

 

Error

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

 

 

Verify%

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

HtmlPageBreak

Takes two parameters, Location, Mode

 

HtmlSearchBox

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

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

HtmlErr

Takes one parameter, ErrMsg

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SendEmail

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

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

Parse

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

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

Offset

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

 

NulStream

Takes two parameters, Data, bHasHeader

 

HtmlNav

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

 

HtmlETable

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

 

HtmlNavbar

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

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

HtmlTab

Takes 3 parameters, Location, Mode, bWithNoHeader

 

HtmlDropdown

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

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

SetNew

Takes four parameters, FieldBase, FieldName, Source, IfLenFld

 

Time

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

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

GetFieldDefs

Has no parameters.

 

NewTableProc

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

 

NewTableField

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

 

NewTableRltn

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

 

PWHash

Takes three parameters, TableName, Alias, Password

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Lookup

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

 

HttpType

Takes one parameter, Type

 

HttpCookie

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

 

DetachWithDelete

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

 

Login

Takes three parameters, Login, Password, bRememberMe

 

Get

Takes two parameters, TableName, IfLenFld

 

JsonEmbed

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

 

Files

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

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

ListQueries

Takes no parameters

 

KeepIfSimilar

Takes 3 parameters, FieldBase, pOne, pTwo

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

UpdateTableField

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

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

UpdateTableProc

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

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

UpdateTableRltn

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

 

TimeSub$

Takes two parameters, Source, Value

 

[TQResult]

Takes either one parameter, ResultValue, or no parameters

 

[TQMessage]

Takes one parameter, Message, or no parameters

 

[WQResult]

Takes either one parameter, ResultValue, or no parameters

 

[WQMessage]

Takes one parameter, Message, or 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

 

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

 

[CountIf]

Takes one parameter, TestCondition

 

Greg%

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

 

GeoDistance$

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

 

 

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.

 

[Markdown]

Has no parameters.

 

[MaxLen]

Accepts a numeric value as a parameter.

 

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.

 

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

 

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.

 

ForEach

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

 

File

Takes 3 parameters, Destination, Action, Source

 

ForeignWith

Takes a single parameter, a FieldBase

 

Foreign

Takes a single parameter, a QueryName

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

[State] Error State

Takes one parameter.

 

FailIfRecError

Has no parameters

 

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.

 

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.

 

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.

 

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.

 

OnError (Continue)

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

 

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

Takes a variable number of conditional statements

 

TRON

Takes one parameter, FilePath

 

Select / Case / End Select

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

 

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.

 

ParseCount%

Takes two parameters, Source and Match

 

ParseCountAny%

Takes two parameters, Source and Match

 

Len%

Takes one parameter, a Source value

 

Get Started by Making it Your Own

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

 

TallyAny%

Takes two parameters, Source, Match

 

Tally%

Takes two parameters, Source, Match

 

TimeDif$

Takes two parameters, Source, Value

 

TimeAdd$

Takes two parameters, Source, Value

 

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.

 

 

InStr%

Takes two parameters, Source, Match

 

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.

 

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

 

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.

 

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

 

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.