2.14.10 NewApp

Brief Information

Create a new App

Additional Information

Minimum Origin Version Required: 2019b SR0

Command Line Usage

newApp name:="My New App" enable:=1 launch:=launch.ogs;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Name name

Input

string

<unassigned>
Specifies the name of the App
Type type

Input

string

0
Specifies the type of App.


Option list

  • 0=Normal
  • 1=Data Connector
Code Language codelang

Input

int

0
Specifies the code language of App.


Option list

  • 0=Origin C
  • 1=Python
Minimum Origin Version over

Input

double

9.3
Specifies the minimum Origin version of the App.
Usage Context enable

Input

string

0
Specifies the usage context


Option list:

  • 0=Any
  • 1=Graph
  • 2=Matrix
  • 3=Workbook
Launch Script launch

Input

string

launch.ogs
Specifies an OGS file as the launch script

If the Type is specified to Data Connector, then Launch script must be "connect.ogs".

Data Type dtype

Input

string

<unassigned>
Specifies the data type for data connector. This item is only available when Type = Data Connector


For example: ASCII, JSON, HTML, CSV

Drag-n-Drop dcdragdrop

Input

string

0

Specifies whether support drag and drop

  • 0=false
  • 1=true
Menu Text dcmenu

Input

string

<unassigned>
Specifies the menu text for App
File Specs dcfspec

Input

string

<unassigned>
Specifies the App file specs