NExS.app Worksheet Reference

The NExS.app worksheet is a special worksheet in your Excel file that configures how your app works. This reference documents all available options.

Structure

The worksheet uses a key-value format in columns A, B, and C:

ABC
1appApp Name
2optionvalue
3viewRange
4optionvalue
  • Section headers (app, view) go in column A
  • Options go in column B
  • Values go in column C (or D for nested options)
  • Comments start with # or //

App Section

The app section must come first and defines global settings.

Required

OptionDescription
(name)Column B of the app row contains your app’s name

Optional

OptionValuesDescription
modeopen, personal, team, access codeDeployment mode (default: open)
access codesSee belowList of access key/code pairs for access code mode
accessListComma-separated emailsAllowed users for team mode
allowedOriginsDomain patternsRestrict which sites can embed your app
noViewNavtrueHide the built-in view navigation menu
submitListComma-separated emailsRecipients for sendData actions
cellLocksRange(s)Define shared cell locks for Open mode
chartOptionsSee belowGlobal chart styling defaults
sliderOptionsSee belowGlobal slider styling defaults
ledOptionsSee belowGlobal LED styling defaults

access codes

ABCD
2access codes
3KeyName1code123
4KeyName2code456

chartOptions

ABCD
2chartOptions
3palette#3366cc, #dc3912, #ff9900
4fontSizemedium
5backgroundColorwhite
6textColor#333333
7alternateColor#f5f5f5
8highlightColor#ffffe0
9markerscircle, square, diamond
10markerSize4
11lineWidth2
12gradientFilltrue

sliderOptions

ABCD
2sliderOptions
3color#337ab7
4shaperound

ledOptions

ABCD
2ledOptions
3sizemedium

View Section

Each view section defines a visible area of your app. You can have multiple views.

Basic Syntax

AB
NviewSheet1!A1:G18

The range can be:

  • Sheet1!A1:G18 — Specific range on a sheet
  • Sheet1 — Entire worksheet
  • A1:G18 — Range on the first sheet
  • MyNamedRange — A named range from Excel

View Options

OptionValuesDescription
nameTextDisplay name in view navigation
backgroundColorColor or cell refView background color
publictrueMakes view accessible without login (team/access code modes)
hidden or invisibletrueHides view from UI (accessible via API only)
accessKeysComma-separated keysAccess keys that can see this view (access code mode)
readACL or readAccessComma-separated emailsUsers who can see this view (team mode)
writeACL or writeAccessComma-separated emailsUsers who can edit inputs (team mode)

Editable Cells

OptionValuesAttributes
editableCell(s) or range(s)required, email, phone, checkbox, radioGroup, accessKeys: keys
input / inputsSame as editableSame attributes

Examples:

ABCD
2viewSheet1!A1:H20
3editableB3:B8
4inputsB3:B5, C12
5inputD5required
6inputE5required, email
7inputsF1:F3checkbox
8inputsG1:G4radioGroup
9inputsH1:H5accessKeys: Admin

Chart Definition

Charts overlay a range of cells within a view.

ABCD
NchartA10:E18
N+1sourceSheet2!A1:D6
N+2typecolumn

Chart Options

OptionValuesDescription
sourceRangeData source (required)
typeSee belowChart type (default: column)
sortascending, descendingSort X-axis
showtotal, percentAdditional data for stacked charts
orientationrow, columnData layout in source
yMinNumberMinimum Y-axis value
yMaxNumberMaximum Y-axis value
linkToChart referenceLink to another chart
highlightCell referenceCell value highlights X-axis section

Chart Types: column, bar, line, area, pie, stacked column, stacked bar, stacked line, stacked area, legend

Chart Styling Options

OptionValuesDescription
paletteComma-separated colorsData series colors
fontSizesmall, medium, largeAxis label size
backgroundColorColorChart background
textColorColorLabels and titles
alternateColorColorAlternating Y-axis bands
highlightColorColorX-axis highlight color
markersComma-separated shapescircle, square, diamond, triangle, triangle-down
markerSizeNumberMarker size (0 = none)
lineWidthNumberLine thickness (0 = none)
gradientFilltrueGradient fill for area charts
legendPositiontop, bottom, left, right, none, reversed

Slider Definition

ABCD
Nslider
N+1cellB5
N+2linkedCellC5

Slider Options

OptionValuesDescription
cellCell referenceWhere slider appears (required)
linkedCellCell referenceEditable cell to update (required)
minimumNumberMin value (default: 0)
maximumNumberMax value (default: 10)
step or incrementNumberStep size (default: 1)
color#rrggbbHandle color
shaperound, square, triangleHandle shape

LED Definition

ABCD
Nled
N+1cellD3

LED Options

OptionValuesDescription
cellCell referenceWhere LED appears (required)
sizesmall, medium, largeLED size

Cell values: red, green, yellow, blue, or any other value for “off”


Button Definition

ABC
NbuttonA10
NbuttonsA10, B10, C10:C12

Button behavior is defined in the cell content.

Button Content Syntax

Label {action: parameters, property: value}

Button Actions

ActionSyntaxDescription
setView{setView: 'ViewName'}Navigate to another view
setInputs{setInputs: ['cell', 'value', ...]}Set input cell values
sendData{sendData: 'A1:C10'}Email data to submitList
alert{alert: 'message'}Show alert dialog
confirm{confirm: {prompt: '...', ok: {...}, cancel: {...}}}Confirmation dialog
getCellLock{getCellLock: 'cell'}Get temporary cell lock
confirmCellLock{confirmCellLock: 'cell'}Make lock permanent
releaseCellLock{releaseCellLock: 'cell'}Release cell lock
releaseAllCellLocks{releaseAllCellLocks: true}Release all locks (owner only)

Button Properties

PropertyValuesDescription
bgColorBackground color
fgColorText color
fontWeightnormal, boldFont weight
fontStylenormal, italicFont style
disabledtrue/falseDisable button
hiddentrue/falseHide button
extraAny valueCustom data for event handlers

Button Macros

MacroDescription
%CELLThe button’s cell address
%REQUIREDtrue if any required inputs are empty

Button Examples

# Simple navigation
Next {setView: 'Page 2'}

# Form submission
Submit {disabled: %REQUIRED, sendData: 'A1:C10', setView: 'Thank You'}

# Styled button
Click Me {bg: 'steelblue', fg: 'white', fontWeight: 'bold'}

# Dynamic (using formula)
="Submit {disabled: " & IF(B1="", "true", "false") & "}"

# With confirmation
Delete {confirm: {prompt: 'Delete all data?', ok: {setInputs: ['A1:A10', '']}, cancel: {}}}

Complete Example

ABCDE
1appRate Calculator
2modeopen
3allowedOrigins*.mycompany.com
4submitListrates@mycompany.com
5chartOptions
6palettesteelblue, coral
7fontSizesmall
8viewCalculator!A1:G25
9nameCalculator
10backgroundColorwhite
11editableB3:B8required
12editableC12email
13chartD1:G12
14sourceData!A1:D6
15typebar
16slider
17cellB10
18linkedCellB5
19minimum0
20maximum1000
21led
22cellG20
23buttonsA24, A25
24viewCalculator!A30:G45
25nameResults
26publictrue