Difference between revisions of "App Settings"
Yvonne.milne (Talk | contribs) (→Deployment) |
Yvonne.milne (Talk | contribs) (→General App Configuration) |
||
(118 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '' | + | ==Overview== |
− | == | + | Click the '''Settings''' icon in the ModeBar to open up the App Settings dialog. Select a setting category from the pulldown and/or use the scrollbar to browse the settings. With the settings grid selected, type a letter to jump to the first setting that starts with that letter. Typing the same letter again will move to the next setting starting with that letter. |
+ | |||
+ | When you have finished editing the settings, click '''Done''' to save the changes and close the dialog or '''Cancel''' to close the dialog without saving. | ||
+ | |||
+ | [[{{ns:file}}:open_app_settings.png|800px|border|left|link={{filepath:open_app_settings.png}}|Open App Settings]] | ||
+ | <br clear=all> | ||
+ | |||
+ | Note: App Settings are selected in the [[Attributes]] tab when the [[App Inspector]] is open. | ||
+ | |||
+ | [[{{ns:file}}:l5_settings.png|800px|border|left|link={{filepath:l5_settings.png}}|Select App Settings in App Inspector]] | ||
+ | <br clear=all> | ||
+ | |||
+ | ==Getting and Setting Attributes Programatically== | ||
+ | The Lianja system object has desktop methods allowing App Settings to be queried and set programmatically: | ||
+ | |||
+ | <pre>Lianja.getAttr(name)</pre> | ||
+ | |||
+ | <pre>Lianja.setAttr(name,value)</pre> | ||
+ | |||
+ | e.g. | ||
+ | |||
+ | <code lang="recital"> | ||
+ | lIsPublished = Lianja.getAttr("apppublished") | ||
+ | Lianja.setAttr("apppublished","true") | ||
+ | </code> | ||
+ | |||
+ | See [[Custom Builders]] for details on intercepting the new App operation to allow it to be handled programmatically and for developer customizations to be applied. | ||
+ | |||
+ | ==General== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#App Doc|App Doc]]||App Doc file. This html file will be included at the beginning of the [[App Doc]] when it is generated. |
+ | |valign="top"|appdoc||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Keep attribute versions|Keep attribute versions]]||Keep attribute versions in appname_appdoc.txt for diff comparison when the App is saved. From v6.3. |
+ | |valign="top"|keepappdocversions||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Build mode|Build mode]]||The type of build for Web/Mobile Apps. Use Debug when testing and Release when deploying (Debug | Release). |
+ | |valign="top"|appbuildtype||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Published|Published]]||App is published in the App Center (True | False). |
+ | |valign="top"|apppublished||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Use_wizards.2Fbuilders|Use wizards/builders]]||Use wizards/builders during development (True | False). |
+ | |valign="top"|usewizards||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Check for updates|Check for updates]]||Check for Lianja App Builder updates at startup (True | False). From v5.2. |
+ | |valign="top"|checkforupdates||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Event tracking|Event tracking]]||Trace App events in Web/Mobile Apps (True | False). This is only effective in Debug mode. |
+ | |valign="top"|appeventtracking||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Turn Password on|Turn Password on]]||Enter password when starting Lianja (True | False). |
+ | |valign="top"| ||valign="top"| | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Password|Password]]||Password value. |
+ | |valign="top"| ||valign="top"| | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General Settings#Confirm Password|Confirm Password]]||Confirm password value. |
+ | |valign="top"| ||valign="top"| | ||
|- | |- | ||
− | |valign="top"|Add Form Section||Always add a form section when creating a new blank page (True | False) | + | |valign="top"|[[General Settings#Restore previous session on startup|Restore previous session on startup]]||valign="top"|Restore the previous session on startup. If checked, then the last App and editor files are reopened (True | False). |
+ | |valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Login required|Login required]]||Authentication required to run App (True | False). | ||
+ | |valign="top"|apploginrequired||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Enable guest access|Enable guest access]]||Enable this App to be run as a guest without App Center login (True | False). | ||
+ | |valign="top"|appenableexternal||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Enable offline data|Enable offline data]]||Reserved for future use (True | False). | ||
+ | |valign="top"|appenableofflinedata||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Offline tables|Offline tables]]||Reserved for future use. | ||
+ | |valign="top"|appofflinetables||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Page libraries|Page libraries]]||The page libraries for this App. Comma-separate the filenames to specify more than one. From v9.1.4. | ||
+ | |valign="top"|pagelibs||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Database switcher list|Database switcher list]]||Comma separated list of databases that can be switched to.<br>From v6.3. | ||
+ | |valign="top"|appdatabaseswitcherlist||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Timelines Enabled|Timelines Enabled]]||Enable database timelines for sections that have timelines enabled (True | False). | ||
+ | |valign="top"|timelinesenabled||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Ask Before Deleting|Ask Before Deleting]]||Ask before deleting a record (True | False). | ||
+ | |valign="top"|confirmdeleterecord||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Add Form Section|Add Form Section]]||Always add a form section when creating a new blank page (True | False). | ||
+ | |valign="top"|addblankformsection||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Table information|Table information]]||Query for Table information in the data trees when an App is opened or a database is opened in the Data workspace<br>(True | False). | ||
+ | |valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Deferred load|Deferred load]]||When this is checked all pages will be loaded with data only when they are first activated (speeds up App load time).<br>(True | False). | ||
+ | |valign="top"|deferredload||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Help provider homepage URL|Help provider homepage URL]]||Context sensitive help provider URL to use when editing. | ||
+ | |valign="top"|helpproviderurl||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[General Settings#Help provider search URL|Help provider search URL]]||Context sensitive help provider search URL to use when editing. Use {keyword} for item to search for. | ||
+ | |valign="top"|helpprovidersearchurl||valign="top"|Character | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ==CSS theming== | ||
+ | {| class="wikitable" width="100%" | ||
+ | !width="20%"|Attribute | ||
+ | !width="40%"|Description | ||
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[CSS#Client_Specific_UI_Theming|Desktop CSS style]]||Specify the global Desktop App CSS style for UI theming.<br>From v6.3. |
+ | |valign="top"|cssstyle||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[CSS#Client_Specific_UI_Theming|Web CSS style]]||Specify the global Web App CSS style for UI theming. From v6.3. |
+ | |valign="top"|cssstyle_web||Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[CSS#Client_Specific_UI_Theming|Tablet CSS style]]||Specify the global Tablet App CSS style for UI theming. From v6.3. |
+ | |valign="top"|cssstyle_tablet||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[CSS#Client_Specific_UI_Theming|Phone CSS style]]||Specify the global Phone App CSS style for UI theming. From v6.3. |
+ | |valign="top"|cssstyle_phone||Character | ||
|- | |- | ||
|} | |} | ||
Line 39: | Line 132: | ||
==Editor== | ==Editor== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings# | + | |valign="top"|[[Editor Settings#Use External Editor|Use External Editor]]||Use External Editor for editing (True | False). |
+ | |valign="top"|useexternaleditor||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings# | + | |valign="top"|[[Editor Settings#External Editor|External Editor]]||The External Editor for editing. |
+ | |valign="top"|externaleditor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings# | + | |valign="top"|[[Editor Settings#External Editor Extensions|External Editor Extensions]]||A comma separated list of file extensions that will be edited externally. |
+ | |valign="top"|externaleditorextensions||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings# | + | |valign="top"|[[Editor Settings#Activate Completion|Activate Completion]]||Activate statement completion (Always | Manually | Never). |
+ | |valign="top"|activatecompletion||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings# | + | |valign="top"|[[Editor Settings#Activate completion timeout|Activate completion timeout]]||Activate statement completion timeout. |
+ | |valign="top"|activatecompletiontimeout||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings#Enable | + | |valign="top"|[[Editor Settings#Enable Intellitips|Enable Intellitips]]||Enable Intellitips (True | False). |
+ | |valign="top"|enableintellitips||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings# | + | |valign="top"|[[Editor Settings#Enable code snippets|Enable code snippets]]||Enable code snippets (True | False). |
+ | |valign="top"|enablecodesnippets||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings#Enable | + | |valign="top"|[[Editor Settings#Enable command syntax hints|Enable command syntax hints]]||Enable command syntax hints (True | False). |
+ | |valign="top"|enablesyntaxhints||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings#Enable | + | |valign="top"|[[Editor Settings#Enable function parameter hints|Enable function parameter hints]]||Enable function parameter hints (True | False). |
+ | |valign="top"|enableparameterhints||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings#Enable | + | |valign="top"|[[Editor Settings#Enable command parameter hints|Enable command parameter hints]]||valign="top"|Enable command window parameter hints (True | False). |
+ | |valign="top"|enableparametercommandhints||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings# | + | |valign="top"|[[Editor Settings#Insert matching characters|Insert matching characters]]||Automatically insert matching characters (True | False). |
+ | |valign="top"|automaticallyaddmatchingcharacters||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Editor Settings#Refresh advanced panel|Refresh advanced panel]]||Always refresh the editor advanced panel when a file is edited (True | False). | + | |valign="top"|[[Editor Settings#Enable code folding|Enable code folding]]||Enable code folding (True | False). |
+ | |valign="top"|enablecodefolding||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Enable word highlighting|Enable word highlighting]]||Enable highlighting of words in file as typed (True | False). | ||
+ | |valign="top"|enablehighlightwords||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Enable smart indenting|Enable smart indenting]]||Enable smart indenting of code blocks (True | False). | ||
+ | |valign="top"|smartindent||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Enable object naming conventions|Enable object naming conventions]]||Enable object naming conventions to display property/method pick lists based on identifier prefixes (True | False). | ||
+ | |valign="top"|objectnamingconventions||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Refresh advanced panel|Refresh advanced panel]]||Always refresh the editor advanced panel when a file is edited<br>(True | False). | ||
+ | |valign="top"|refresheditoradvanced||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Fast syntax highlighting|Fast syntax highlighting]]||Fast syntax highlighting (True | False).<br>Set to True by default. The syntax highlighter for LianjaScript is much more responsive in the [[Troubleshooter_Debugger_Tab|debugger]] when opening large files.<br>(From v9.5). | ||
+ | |valign="top"|minimalsyntaxhighlighting||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Theme|Theme]]||The editor theme (Default | Visual Studio Dark | Visual Studio Light | Eclipse | Dreamweaver). | ||
+ | |valign="top"|editortheme||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Show Doc|Show Doc]]||Show the editor Doc when editing (True | False). | ||
+ | |valign="top"|editorhelp||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#App files search path|App files search path]]||A semi-colon (;) separated list of directories to search and refresh in the editor advanced panel when an App file is edited. (From v5.0). | ||
+ | |valign="top"|appeditorsearchpath||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Editor Settings#Library files search path|Library files search path]]||A semi-colon (;) separated list of directories to search and refresh in the editor advanced panel when a Library file is edited. (From v5.0). | ||
+ | |valign="top"|libeditorsearchpath||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 70: | Line 204: | ||
==Embedded HTTP Server== | ==Embedded HTTP Server== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"|Listen on||The interface the HTTP server should listen for requests on | + | |valign="top"|[[Embedded_HTTP_Server#Listen_on|Listen on]]||The interface the HTTP server should listen for requests on |
+ | |valign="top"|httpnodename||Character | ||
|- | |- | ||
− | |valign="top"|Port||The port that the embedded HTTP server uses | + | |valign="top"|[[Embedded_HTTP_Server#Port|Port]]||The port that the embedded HTTP server uses |
+ | |valign="top"|httpport||Character | ||
|- | |- | ||
− | |valign="top"|Runtime Port||The port that the embedded HTTP server uses at runtime (App Center). | + | |valign="top"|[[Embedded_HTTP_Server#Runtime_Port|Runtime Port]]||The port that the embedded HTTP server uses at runtime<br>(App Center). |
+ | |valign="top"|runtimehttpport||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|API key||The API key that should be specified to invoke desktop web services. | + | |valign="top"|[[Embedded_HTTP_Server#API_key|API key]]||The API key that should be specified to invoke desktop web services. |
+ | |valign="top"|httpapikey||Character | ||
|- | |- | ||
− | |valign="top"|Enable services||Enable embedded web services (True | False) | + | |valign="top"|[[Embedded_HTTP_Server#Enable_services|Enable services]]||Enable embedded web services (True | False) |
+ | |valign="top"|httpenableservices||Boolean | ||
|- | |- | ||
|} | |} | ||
Line 87: | Line 228: | ||
==Sessionstorage== | ==Sessionstorage== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
|valign="top"|[[SessionStorage in Lianja|Sessionstorage size]]||The size of the shared sessionstorage | |valign="top"|[[SessionStorage in Lianja|Sessionstorage size]]||The size of the shared sessionstorage | ||
+ | |valign="top"|sessionstoragesize||valign="top"|Int | ||
|- | |- | ||
|valign="top"|[[SessionStorage in Lianja|Session data changed]]||The delegate procedure for the session data changed event | |valign="top"|[[SessionStorage in Lianja|Session data changed]]||The delegate procedure for the session data changed event | ||
+ | |valign="top"|sessiondatachangedaction||Character | ||
|- | |- | ||
|valign="top"|[[SessionStorage in Lianja|Session data changed interval]]||valign="top"|The interval in msecs that checks for session data changes will be made at runtime | |valign="top"|[[SessionStorage in Lianja|Session data changed interval]]||valign="top"|The interval in msecs that checks for session data changes will be made at runtime | ||
+ | |valign="top"|sessiondatachangedinterval||valign="top"|Int | ||
|- | |- | ||
|} | |} | ||
Line 100: | Line 246: | ||
==Directories== | ==Directories== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Directories Settings#Data directory|Data directory]]||The database directory where your databases are located. |
+ | |valign="top"|datadir||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Directories Settings#Apps directory|Apps directory]]||The apps directory where your apps are located. |
+ | |valign="top"|appsdir||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Directories Settings#Library directory|Library directory]]||The library directory where your libraries are located. |
+ | |valign="top"|libdir||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Directories Settings#Templates directory|Templates directory]]||The template directory where your templates are located. |
+ | |valign="top"|templatesdir||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Directories Settings#Deployment directory|Deployment directory]]||The deployment directory. This should contain apps, data and library sub-directories. It can be on a network drive to provide shared App and Data access. |
− | + | |valign="top"|runtimerootdir||valign="top"|Character | |
− | + | ||
|- | |- | ||
|} | |} | ||
Line 119: | Line 270: | ||
==Deployment== | ==Deployment== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"|Publisher||The way to publish the Apps (Copy | SFTP | Custom). | + | |valign="top"|[[A Guide to Deploying Web Apps|Publisher]]||The way to publish the Apps (Copy | SFTP | Custom). |
+ | |valign="top"|apppublisher||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Publisher path||The optional full path of the publisher program, e.g. /usr/bin/rsync. | + | |valign="top"|[[A Guide to Deploying Web Apps|Publisher path]]||The optional full path of the publisher program, e.g. /usr/bin/rsync. |
+ | |valign="top"|apppublisherpath||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Publisher arguments||The optional arguments to the publisher program, e.g. -avc for rsync. | + | |valign="top"|[[A Guide to Deploying Web Apps|Publisher arguments]]||The optional arguments to the publisher program, e.g. -avc for rsync. |
+ | |valign="top"|apppublisherarguments||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Server||The server IP address or nodename where the App will be deployed, e.g. localhost or myserver.mydomain.com. | + | |valign="top"|[[A Guide to Deploying Web Apps|Server]]||The server IP address or nodename where the App will be deployed, e.g. localhost or myserver.mydomain.com. |
+ | |valign="top"|apppublisherserver||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Directory||The root lianja directory on the LAN or server where the Apps will be deployed. | + | |valign="top"|[[A Guide to Deploying Web Apps|Directory]]||The root lianja directory on the LAN or server where the Apps will be deployed. |
+ | |valign="top"|apppublisherdirectory||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Build an installer||Build an installer for Windows desktop deployment (True | False). | + | |valign="top"|[[Packaging Lianja Desktop Apps for Windows|Build an installer]]||Build an installer for Windows desktop deployment (True | False). |
+ | |valign="top"| ||valign="top"| | ||
|- | |- | ||
− | |valign="top"|Username||The optional username to authenticate with the remote server. | + | |valign="top"|[[A Guide to Deploying Web Apps|Username]]||The optional username to authenticate with the remote server. |
+ | |valign="top"|apppublisherusername||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Password||The optional password to authenticate with the remote server. | + | |valign="top"|[[A Guide to Deploying Web Apps|Password]]||The optional password to authenticate with the remote server. |
+ | |valign="top"|apppublisherpassword||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Private key (.pem file)||The (optional) private key (.pem file) to authenticate with the remote server. | + | |valign="top"|[[A Guide to Deploying Web Apps|Private key (.pem file)]]||The (optional) private key (.pem file) to authenticate with the remote server. |
+ | |valign="top"|apppublisherpemfile||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 144: | Line 306: | ||
==App Center Tile== | ==App Center Tile== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Author]]||The App author displayed in the App Center. | |valign="top"|[[Lianja App Center Tiles|Author]]||The App author displayed in the App Center. | ||
+ | |valign="top"|appauthor||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Category]]||The category for the App displayed in the App Center. | |valign="top"|[[Lianja App Center Tiles|Category]]||The category for the App displayed in the App Center. | ||
+ | |valign="top"|appsidebarcategory||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Version]]||The version for the App displayed in the App Center. | |valign="top"|[[Lianja App Center Tiles|Version]]||The version for the App displayed in the App Center. | ||
+ | |valign="top"|appversion||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Caption]]||The caption for the App displayed in the App Center. | |valign="top"|[[Lianja App Center Tiles|Caption]]||The caption for the App displayed in the App Center. | ||
+ | |valign="top"|appsidebarcaption||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Icon]]||The icon for the App displayed in the App Center. | |valign="top"|[[Lianja App Center Tiles|Icon]]||The icon for the App displayed in the App Center. | ||
+ | |valign="top"|appsidebaricon||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Description]]||The description for the App displayed in the App Center. | |valign="top"|[[Lianja App Center Tiles|Description]]||The description for the App displayed in the App Center. | ||
+ | |valign="top"|appdescription||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Background color]]||The background color for the App displayed in the App Center. | |valign="top"|[[Lianja App Center Tiles|Background color]]||The background color for the App displayed in the App Center. | ||
+ | |valign="top"|apptilebackcolor||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Tile size]]||The size of the tile in the App Center. | |valign="top"|[[Lianja App Center Tiles|Tile size]]||The size of the tile in the App Center. | ||
+ | |valign="top"|apptilesize||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Dynamic contents]]||The tile in the App Center contains dynamic contents only (True | False). | |valign="top"|[[Lianja App Center Tiles|Dynamic contents]]||The tile in the App Center contains dynamic contents only (True | False). | ||
+ | |valign="top"|apptiledynamiccontents||valign="top"|Boolean | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Tile order]]||The category position for the tile in the App Center. | |valign="top"|[[Lianja App Center Tiles|Tile order]]||The category position for the tile in the App Center. | ||
+ | |valign="top"|apptileorder||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Tile URL]]||The URL to invoke when this tile is clicked at runtime. | |valign="top"|[[Lianja App Center Tiles|Tile URL]]||The URL to invoke when this tile is clicked at runtime. | ||
+ | |valign="top"|apptileurl||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|[[Lianja App Center Tiles|Dynamic tile producer]]||The dynamic tile producer used to update the dynamic tile in the App Center. This can be a procedure or a | + | |valign="top"|[[Lianja App Center Tiles|Dynamic tile producer]]||The dynamic tile producer used to update the dynamic tile in the App Center. This can be a procedure or a URL. |
+ | |valign="top"|timeraction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Lianja App Center Tiles|Dynamic tile timer interval]]||The timer interval in seconds to update the dynamic tile in the App Center. | |valign="top"|[[Lianja App Center Tiles|Dynamic tile timer interval]]||The timer interval in seconds to update the dynamic tile in the App Center. | ||
+ | |valign="top"|timerinterval||valign="top"|Int | ||
+ | |- | ||
+ | |valign="top"|[[Lianja App Center Tiles|Dynamic badge producer]]||The dynamic badge producer used to update the dynamic badge in the tile in the App Center. This can be a procedure or a URL. | ||
+ | |valign="top"|countertimeraction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Lianja App Center Tiles|Dynamic badge timer interval]]||The timer interval in seconds to update the dynamic badge in the tile in the App Center. | ||
+ | |valign="top"|countertimerinterval||valign="top"|Int | ||
|- | |- | ||
|} | |} | ||
Line 177: | Line 360: | ||
==General App Configuration== | ==General App Configuration== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"|Window Title||The window title for this App. | + | |valign="top"|[[General App Configuration Settings#Window Title|Window Title]]||The window title for this App. |
+ | |valign="top"|apptitle||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Window Width||The window width for this App. | + | |valign="top"|[[General App Configuration Settings#Window Width|Window Width]]||The window width for this App. |
+ | |valign="top"|appwidth||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Window Height||The window height for this App. | + | |valign="top"|[[General App Configuration Settings#Window Height|Window Height]]||The window height for this App. |
+ | |valign="top"|appheight||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Maximize Window||Maximize the window for this App(True | False). | + | |valign="top"|[[General App Configuration Settings#Maximize Window|Maximize Window]]||Maximize the window for this App (True | False). |
+ | |valign="top"|appmaximize||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Window Resizable||Allow the user to resize the App window (True | False). | + | |valign="top"|[[General App Configuration Settings#Window Resizable|Window Resizable]]||Allow the user to resize the App window (True | False). |
+ | |valign="top"|appresizable||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Hide Header Bar||Hide header bar at runtime (True | False). | + | |valign="top"|[[General App Configuration Settings#Hide Header Bar|Hide Header Bar]]||Hide header bar at runtime (True | False). |
+ | |valign="top"|hideheaderbar||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Show navigation history||Show pages navigation history buttons in page header. | + | |valign="top"|[[Page_Menu#Show_navigation_history|Show navigation history]]||Show pages navigation history buttons in page header. |
+ | |valign="top"|showbackbutton||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Show navigation menu||Show pages navigation menu in page header (True | False). | + | |valign="top"|[[Page_Menu#Show_navigation_menu|Show navigation menu]]||Show pages navigation menu in page header (True | False). |
+ | |valign="top"|showpagesmenu||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Show Page Center||Show Page Center when navigation menu clicked (True | False). | + | |valign="top"|[[Page_Menu#Show_Page_Center|Show Page Center]]||Show Page Center when navigation menu clicked (True | False). |
+ | |valign="top"|showpagecenter||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General App Configuration Settings#Disable VT requery when parentdatachanged|Disable VT requery when parentdatachanged]]||This will handle legacy VT usage prior to Lianja 6.3 (True | False). From v6.3. |
+ | |valign="top"|vtparentrequerydisabled||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[General App Configuration Settings#Navigation menu caption|Navigation menu caption]]||Navigation menu caption text in the page header. |
+ | |valign="top"|pagesmenucaption||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Desktop theme||Desktop theme for this App (Default | Android | iOS | Modern | Modern2 | ... (read from themes directory). | + | |valign="top"|[[General App Configuration Settings#Hide header icons|Hide header icons]]||Hide the header icons in the page header bars (True | False). |
+ | |valign="top"|hideheadericons||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General App Configuration Settings#Sidebar theme|Sidebar theme]]||Sidebar headers are themed (True | False). From v9.6. | ||
+ | |valign="top"|sidebarthemed||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General App Configuration Settings#Desktop theme|Desktop theme]]||Desktop theme for this App (Default | Android | iOS | Modern | Modern2 | ... (read from themes directory). | ||
+ | |valign="top"|theme||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Help Attributes#Help table|Help table]]||Context sensitive help table for this App. | |valign="top"|[[Help Attributes#Help table|Help table]]||Context sensitive help table for this App. | ||
+ | |valign="top"|helptable||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[MetaTypes|Meta types file]]||The Meta types file for this App. | |valign="top"|[[MetaTypes|Meta types file]]||The Meta types file for this App. | ||
+ | |valign="top"|metatypestable||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[MetaTypes|Meta types library]]||The Meta types library for this App. | |valign="top"|[[MetaTypes|Meta types library]]||The Meta types library for this App. | ||
+ | |valign="top"|metatypeslib||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Visual Components|Component library]]||The Component library for this App. Components that are generated are saved here. (From v5.0). | ||
+ | |valign="top"|componentlib||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Visual Components|Components]]||The Components needed for this App. Separate each with a ';' to specify more than one, e.g.<br> example_component.name;example_component.*. (From v5.0). | ||
+ | |valign="top"|components||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[CSS|CSS libraries]]||The CSS libraries for this App. Separate each filename with a ; to specify more than one. | ||
+ | |valign="top"|csslibs||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[General App Configuration Settings#Additional file path|Additional file path]]||A semi-colon (;) separated list of additional path locations to search for App specific files. | ||
+ | |valign="top"|addinspath||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[General App Configuration Settings#Autoload libraries|Autoload libraries]]||If True, then libraries are auto loaded if a file of the same name as the directory exists in the additional file paths (True | False). | ||
+ | |valign="top"|addinsautoload||valign="top"|Boolean | ||
|- | |- | ||
|valign="top"|[[UI States#UI states table|UI states table]]||UI states table for this App. | |valign="top"|[[UI States#UI states table|UI states table]]||UI states table for this App. | ||
+ | |valign="top"|uistatestable||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[UI States#Initial UI state|Initial UI state]]||The initial UI state for this App. This will be applied to all pages, sections and fields/gadgets. | |valign="top"|[[UI States#Initial UI state|Initial UI state]]||The initial UI state for this App. This will be applied to all pages, sections and fields/gadgets. | ||
+ | |valign="top"|uistateinit||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Home page app||The App to load when the Home icon is clicked. | + | |valign="top"|[[General App Configuration Settings#Home page app|Home page app]]||The App to load when the Home icon is clicked. |
+ | |valign="top"|homeapp||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Initial page||The first page to view for this App at runtime. | + | |valign="top"|[[General App Configuration Settings#Initial page|Initial page]]||The first page to view for this App at runtime. |
+ | |valign="top"|firstpage||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|HTML editor||Choose the HTML editor to use in this App (Desktop | Web | Mobile). | + | |valign="top"|[[General App Configuration Settings#HTML editor|HTML editor]]||Choose the HTML editor to use in this App (Desktop | Web | Mobile). |
+ | |valign="top"|htmleditor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Runtime connection||The connection string to use for 'local' virtual tables. This will be substituted when the App is deployed at runtime in the App Center or the Web/Mobile clients. | + | |valign="top"|[[General App Configuration Settings#Runtime connection|Runtime connection]]||The connection string to use for 'local' virtual tables. This will be substituted when the App is deployed at runtime in the App Center or the Web/Mobile clients. |
+ | |valign="top"|runtimeconnstr||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Runtime database||The database that will be substituted when the App is deployed at runtime in the App Center or the Web/Mobile clients. | + | |valign="top"|[[General App Configuration Settings#Runtime database|Runtime database]]||The database that will be substituted when the App is deployed at runtime in the App Center or the Web/Mobile clients. |
+ | |valign="top"|runtimedatabase||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Include in HTML HEAD||Include HTML file contents into the HTML5 Client. | + | |valign="top"|[[General App Configuration Settings#Include in HTML HEAD|Include in HTML HEAD]]||Include HTML file contents into the HTML5 Client. |
+ | |valign="top"|includehtmlhead||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Readonly fields backcolor||The background color that readonly fields should be displayed in. | + | |valign="top"|[[:Category:Progressive Web Apps|Enable as PWA]]||Enable as a Progressive Web App when generating web/mobile/tablet Apps. |
+ | |valign="top"|pwa||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Automatic Language Translation#Enable user translate|Enable user translate]]||Enable user translation in web/mobile/tablet Apps. From v5.5. | ||
+ | |valign="top"|enableusertranslation||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Automatic Language Translation#Enable text translator|Enable text translator]]||Enable text translation in web/mobile/tablet Apps. This enables dynamic language translation of captions in the UI. From v5.5. | ||
+ | |valign="top"|enabletranslation||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Automatic Language Translation#Enable google translate|Enable google translate]]||Enable google translate in web/mobile/tablet Apps. This enables dynamic language translation of captions in the UI. From v5.5. | ||
+ | |valign="top"|enablegoogletranslation||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[General App Configuration Settings#Readonly fields backcolor|Readonly fields backcolor]]||The background color that readonly fields should be displayed in. | ||
+ | |valign="top"|readonlybackcolor||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[CSS|App CSS style]]||Specify the global App CSS style for UI theming. | |valign="top"|[[CSS|App CSS style]]||Specify the global App CSS style for UI theming. | ||
+ | |valign="top"|cssstyle||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[General App Configuration Settings#Disable inline editing|Disable inline editing]]||Disable inline editing (True | False). | ||
+ | |valign="top"|disableinlineediting||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Console Workspace|Show PerfMeter in console]]||Show PerfMeter in the Console (True | False). |
+ | |valign="top"|consoleperfmeter||valign="top"|Boolean | ||
|- | |- | ||
|} | |} | ||
Line 236: | Line 483: | ||
==Locale Configuration== | ==Locale Configuration== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"|Currency character||The currency character to use for this App (default $). | + | |valign="top"|[[Locale Configuration Settings#Currency character|Currency character]]||The currency character to use for this App<br>(default $). |
+ | |valign="top"|localecurrencycharacter||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Separator character||The separator character to use in number formatting for this App (default ,). | + | |valign="top"|[[Locale Configuration Settings#Separator character|Separator character]]||The separator character to use in number formatting for this App<br>(default ,). |
+ | |valign="top"|localeseparatorcharacter||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Point character||valign="top"|The point character to use in number formatting for this App (default .). | + | |valign="top"|[[Locale Configuration Settings#Point character|Point character]]||valign="top"|The point character to use in number formatting for this App<br>(default .). |
+ | |valign="top"|localepointcharacter||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 249: | Line 501: | ||
==Web/Mobile App Configuration== | ==Web/Mobile App Configuration== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Web/Mobile App Configuration Settings#Browser|Browser]]||Browser to use for [[Deploying_to_Local_Directory#Preview_live_in_browser|Preview live in browser]]. From v9.1.5. |
+ | |valign="top"|browser||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Web/Mobile App Configuration Settings#Custom browser location|Custom browser location]]||Location of browser to use for [[Deploying_to_Local_Directory#Preview_live_in_browser|Preview live in browser]].<br>From v9.1.5. |
+ | |valign="top"|custombrowser||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Web/Mobile App Configuration Settings#Character encoding|Character encoding]]||Character encoding for Web/Mobile Apps<br>(utf-8 is recommended). |
+ | |valign="top"|htmlencoding||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Web/Mobile App Configuration Settings#Language locale|Language locale]]||Locale for Web/Mobile Apps (affects date picker and various captions). |
+ | |valign="top"|htmllocale||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Web/Mobile App Configuration Settings#Header icon type|Header icon type]]||Icon to be displayed in the page header bar in Web/Mobile<br>(Default | Custom | None). |
+ | |valign="top"|webheadericon||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Web/Mobile App Configuration Settings#Custom header icon|Custom header icon]]||Custom icon to be displayed in the page header bar in Web/Mobile. |
+ | |valign="top"|customwebheadericon||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Web | + | |valign="top"|[[Web/Mobile App Configuration Settings#Disable right click|Disable right click]]||Disable right click context menu in Web Apps (True | False). |
+ | |valign="top"|disablerightclick||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Mobile | + | |valign="top"|[[Web/Mobile App Configuration Settings#Disable success notifications|Disable success notifications]]||Disable success notifications in Web/Mobile apps<br>(True | False). From v7.2. |
+ | |valign="top"|disablesysmessages||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Mini navigation panel||Always show mini (phone) navigation panel on tablets (True | False). | + | |valign="top"|[[Web/Mobile App Configuration Settings#Enable animations|Enable animations]]||Enable animated section transitions in Web/Mobile Apps<br>(True | False). |
+ | |valign="top"|enableanimations||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Web/Mobile App Configuration Settings#Web Theme|Web Theme]]||Web theme for this App (Default | AndroidBlackGreen | AndroidBlackBlue | AndroidBlackOrange | AndroidBlackPurple | AndroidBlackRed | AndroidBlackWhite | AndroidWhiteGreen | AndroidWhiteBlue | AndroidWhiteOrange | AndroidWhitePurple | AndroidWhiteRed | iOS | Modern). | ||
+ | |valign="top"|webtheme||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Web/Mobile App Configuration Settings#Mobile Theme|Mobile Theme]]||Mobile theme for this App (Default | AndroidBlackGreen | AndroidBlackBlue | AndroidBlackOrange | AndroidBlackPurple | AndroidBlackRed | AndroidBlackWhite | AndroidWhiteGreen | AndroidWhiteBlue | AndroidWhiteOrange | AndroidWhitePurple | AndroidWhiteRed | iOS | Modern). | ||
+ | |valign="top"|mobiletheme||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Web/Mobile App Configuration Settings#Mini navigation panel|Mini navigation panel]]||Always show mini (phone) navigation panel on tablets<br>(True | False). | ||
+ | |valign="top"|showmininavigationpanel||valign="top"|Boolean | ||
|- | |- | ||
|} | |} | ||
Line 274: | Line 546: | ||
==Page defaults== | ==Page defaults== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"|Navigation bar type||Choose the appearance of the data navigation bar to use in this App (Flat | Gradient). | + | |valign="top"|[[Page_Appearance#Navigation_bar_type|Navigation bar type]]||Choose the appearance of the data navigation bar to use in this App (Flat | Gradient). |
+ | |valign="top"|navbartype||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Hide navigation bar slider||Hide navigation bar slider (True | False). | + | |valign="top"|[[Page_Appearance#Hide_navigation_bar_slider|Hide navigation bar slider]]||Hide navigation bar slider (True | False). |
+ | |valign="top"|hideslider||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[ | + | |valign="top"|[[Page_Appearance#Navigation_bar_CSS|Navigation bar CSS]]||Custom navigation bar CSS. |
+ | |valign="top"|navbarcss||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Page menu||Choose the appearance of the page navigation menu to use in this App (Menu | Panel). | + | |valign="top"|[[Page_Menu#Page_menu|Page menu]]||Choose the appearance of the page navigation menu to use in this App (Menu | Panel). |
+ | |valign="top"|pagemenutype||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Page menu | + | |valign="top"|[[Page_Menu#Page menu theme|Page menu theme]]||Choose the page meu theme to use in this App (Dark | Light).<br>From v9.0. |
+ | |valign="top"|pagemenutheme||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|[[ | + | |valign="top"|[[Page_Menu#Page_menu_row_height|Page menu row height]]||The row height for the page menu items in this App. |
+ | |valign="top"|pagemenurowheight||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Page_Menu#Page_menu_CSS|Page menu CSS]]||CSS for the page menu in this App. |
+ | |valign="top"|pagemenucss||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Page_Menu#Additional page menuitems|Additional page menuitems]]||Additional menuitems (that can call [[Using the showdocument() function and Lianja.showDocument() method|showdocument()]] actions) for the page menu in this App. From v5.3. |
+ | |valign="top"|custompagesmenuitems||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|[[ | + | |valign="top"|[[Left Sidebar|Left sidebar visible]]||Show left sidebar (True | False). |
+ | |valign="top"|pagedefault_leftsidebarvisible||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[ | + | |valign="top"|[[Right Sidebar|Right sidebar visible]]||Show right sidebar (True | False). |
+ | |valign="top"|pagedefault_rightsidebarvisible||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Page Header#Hide | + | |valign="top"|[[Page Header#Hide search box|Hide search box]]||Hide the search box in the page header bar (True | False). |
+ | |valign="top"|pagedefault_hidesearchbox||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Page Header#Hide | + | |valign="top"|[[Page Header#Hide notifications icon|Hide notifications icon]]||Hide the notifications icon in the page header bar (True | False). |
+ | |valign="top"|pagedefault_hidenotificationsicon||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Page Header#Hide | + | |valign="top"|[[Page Header#Hide custom search icon|Hide search icon]]||Hide the custom search icon in the page header bar (True | False). |
+ | |valign="top"|pagedefault_hidecustomsearchicon||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|[[Page Header#Hide home icon|Hide home icon]]||Hide the home icon in the page header bar (True | False). | + | |valign="top"|[[Page Header#Hide fullscreen icon|Hide fullscreen icon]]||Hide the fullscreen icon in the page header bar (True | False). |
+ | |valign="top"|pagedefault_hidefullscreenicon||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Page Header#Hide share icon|Hide share icon]]||Hide the share icon in the page header bar (True | False). | ||
+ | |valign="top"|pagedefault_hideshareicon||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Page Header#Hide home icon|Hide home icon]]||Hide the home icon in the page header bar (True | False). | ||
+ | |valign="top"|pagedefault_hidehomeicon||valign="top"|Boolean | ||
|- | |- | ||
|} | |} | ||
Line 309: | Line 603: | ||
==Section defaults== | ==Section defaults== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Data Attributes#Inherit dictionary rules|Inherit dictionary rules]]||Inherit the data dictionary rules (True | False) |
+ | |valign="top"|pagesectioninheritdictionary||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Section_Header#App_Settings|Header type]]||Choose the appearance of the section headers to use in this App<br>(Flat | Gradient). |
+ | |valign="top"|pagesectionheadertype||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Section_Header#App_Settings|Icon set]]||Choose the icon set to use for the section headers in this App<br>(Gradient | Black | White | Blue | Gray | Darkgray). |
+ | |valign="top"|pagesectionheadericonset||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Header | + | |valign="top"|[[Section_Header#App_Settings|Header height]]||The header height for the section headers in this App. |
+ | |valign="top"|pagesectionheaderheight||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Header | + | |valign="top"|[[Section_Header#App_Settings|Header background color]]||The background color for the section headers in this App. |
+ | |valign="top"|pagesectionheaderbackcolor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Header | + | |valign="top"|[[Section_Header#App_Settings|Header foreground color]]||The foreground color for the section headers in this App. |
+ | |valign="top"|pagesectionheaderforecolor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|[[ | + | |valign="top"|[[Section_Header#App_Settings|Header font size]]||The font size for the section headers in this App. |
+ | |valign="top"|pagesectionheaderfontsize||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Section_Header#App_Settings|Header CSS]]||The CSS for the section headers in this App. | ||
+ | |valign="top"|pagesectionheadercss||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[CSS|Section CSS]]||The CSS for the sections in this App. | |valign="top"|[[CSS|Section CSS]]||The CSS for the sections in this App. | ||
+ | |valign="top"|pagesectioncss||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 332: | Line 639: | ||
==Delegates== | ==Delegates== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
|- | |- | ||
− | |valign="top"|[[Custom Delegates#Scripting Language|Scripting language]]||The default scripting language for custom code in this App ( | + | |valign="top"|[[Custom Delegates#Scripting Language|Scripting language]]||The default scripting language for custom code in this App (Recital | Visual FoxPro | Python | JavaScript | TypeScript | Babel | PHP). |
+ | |valign="top"|scriptinglanguage||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Custom Library|Custom library]]||The filename of the library containing code for event handlers and custom procedures/functions. | |valign="top"|[[Custom Delegates#Custom Library|Custom library]]||The filename of the library containing code for event handlers and custom procedures/functions. | ||
+ | |valign="top"|customlibrary||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#Hotkey|Hotkey]]||The delegate procedure for the Hotkey event. | ||
+ | |valign="top"|hotkeyaction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Init|Init]]||The delegate procedure for the Init event. | |valign="top"|[[Custom Delegates#Init|Init]]||The delegate procedure for the Init event. | ||
+ | |valign="top"|initaction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Destroy|Destroy]]||The delegate procedure for the Destroy event. | |valign="top"|[[Custom Delegates#Destroy|Destroy]]||The delegate procedure for the Destroy event. | ||
+ | |valign="top"|destroyaction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Load|Load]]||The delegate procedure for the Load event. | |valign="top"|[[Custom Delegates#Load|Load]]||The delegate procedure for the Load event. | ||
+ | |valign="top"|loadaction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Ready|Ready]]||The delegate procedure for the Ready event. | |valign="top"|[[Custom Delegates#Ready|Ready]]||The delegate procedure for the Ready event. | ||
+ | |valign="top"|readyaction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Unload|Unload]]||The delegate procedure for the Unload event. | |valign="top"|[[Custom Delegates#Unload|Unload]]||The delegate procedure for the Unload event. | ||
+ | |valign="top"|unloadaction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#Database changed|Database changed]]||The delegate procedure for the Database changed event.<br>From v6.3. | ||
+ | |valign="top"|databasechangedaction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#State Changed|State Changed]]||The delegate procedure for the State Changed event. | ||
+ | |valign="top"|statechangedaction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#Text Translator|Text Translator]]||The delegate procedure for translating text messages. | ||
+ | |valign="top"|texttranslatoraction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#File System Watcher|File System Watcher]]||The delegate procedure for watching for changes to directories and/or files. | ||
+ | |valign="top"|watchaction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#Orientation Changed|Orientation Changed]]||The delegate procedure for the Orientation Changed event.<br>From v6.0. | ||
+ | |valign="top"|orientationchangedaction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#Device Motion Changed|Device Motion Changed]]||The delegate procedure for the Device Motion Changed event.<br>From v6.0. | ||
+ | |valign="top"|devicemotionchangedaction||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#Connection State Changed|Connection State Changed]]||The delegate procedure for the Connection State Changed event.<br>From v6.0. | ||
+ | |valign="top"|connectionchangedaction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Inactive|Inactive]]||The delegate procedure for the Inactive event. | |valign="top"|[[Custom Delegates#Inactive|Inactive]]||The delegate procedure for the Inactive event. | ||
+ | |valign="top"|inactiveaction||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Custom Delegates#Inactive interval|Inactive interval]]||The inactive interval in seconds that the inactive delegate procedure will be called at runtime. | |valign="top"|[[Custom Delegates#Inactive interval|Inactive interval]]||The inactive interval in seconds that the inactive delegate procedure will be called at runtime. | ||
+ | |valign="top"|inactiveinterval||valign="top"|Int | ||
+ | |- | ||
+ | |valign="top"|[[Custom Delegates#Before preview|Before preview]]||The delegate procedure for the before preview event.<br>From v6.3. | ||
+ | |valign="top"|beforepreviewaction||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 357: | Line 702: | ||
==Permissions and Roles== | ==Permissions and Roles== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
+ | |- | ||
+ | |valign="top"|[[Users and Roles#Available roles|Available roles]]||A comma separated list of roles that are available for the App | ||
+ | |valign="top"|permavailable||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Users and Roles|Admin roles]]||A comma separated list of roles that can perform admin operations on the App | |valign="top"|[[Users and Roles|Admin roles]]||A comma separated list of roles that can perform admin operations on the App | ||
+ | |valign="top"|permadmin||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Users and Roles|Create roles]]||A comma separated list of roles that can perform create operations on data in the App | |valign="top"|[[Users and Roles|Create roles]]||A comma separated list of roles that can perform create operations on data in the App | ||
+ | |valign="top"|permcreate||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Users and Roles|Read roles]]||A comma separated list of roles that can read (and execute) the App | |valign="top"|[[Users and Roles|Read roles]]||A comma separated list of roles that can read (and execute) the App | ||
+ | |valign="top"|permread||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Users and Roles|Update roles]]||A comma separated list of roles that can perform update operations on data in the App | |valign="top"|[[Users and Roles|Update roles]]||A comma separated list of roles that can perform update operations on data in the App | ||
+ | |valign="top"|permupdate||valign="top"|Character | ||
|- | |- | ||
|valign="top"|[[Users and Roles|Delete roles]]||A comma separated list of roles that can perform delete operations on data in the App | |valign="top"|[[Users and Roles|Delete roles]]||A comma separated list of roles that can perform delete operations on data in the App | ||
+ | |valign="top"|permdelete||valign="top"|Character | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ==Standalone Options== | ||
+ | {| class="wikitable" width="100%" | ||
+ | !width="20%"|Attribute | ||
+ | !width="40%"|Description | ||
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
+ | |- | ||
+ | |valign="top"|[[Standalone_Executables_on_Windows#Standalone_Lib|Standalone Lib]]||Include library files in the standalone App directory<br>(True | False). From v9.5. | ||
+ | |valign="top"|standalonelib||Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Standalone_Executables_on_Windows#Standalone_Zip|Standalone Zip]]||Create a zip file for the standalone App<br>(True | False). From v9.5. | ||
+ | |valign="top"|standalonezip||Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Standalone_Executables_on_Windows#Standalone_Exe|Standalone Exe]]||Create an installer as a self-extracting exe file for the standalone App<br>(True | False). From v9.5. | ||
+ | |valign="top"|standaloneexe||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Standalone_Executables_on_Windows#Standalone_Login|Standalone Login]]||The standalone App requires login.<br>(True | False). From v9.5. | ||
+ | |valign="top"|standalonelogin||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Standalone_Executables_on_Windows#Standalone_Python_modules|Standalone Python modules]]||The standalone App requires Python modules.<br>(True | False). From v9.5. | ||
+ | |valign="top"|standalonepython||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Standalone_Executables_on_Windows#Standalone_Exe|Standalone Data]]||Include databases (comma separated list) in the standalone App directory<br>(True | False). From v9.5. | ||
+ | |valign="top"|standalonedata||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 374: | Line 756: | ||
==UI Presentation Rules== | ==UI Presentation Rules== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
− | !width=" | + | !width="20%"|Attribute |
− | !width=" | + | !width="40%"|Description |
+ | !width="30%"|Name | ||
+ | !width="10%"|Type | ||
+ | |- | ||
+ | |valign="top"|[[Standalone_Executables_on_Windows#Standalone|Standalone]]||Build this App as a Standalone app (True | False). | ||
+ | |valign="top"|standaloneui||Boolean | ||
+ | |- | ||
+ | |valign="top"|[[UI Presentation Rules#Form|Form]]||Run this App as a Form (True | False). | ||
+ | |valign="top"|formui||Boolean | ||
|- | |- | ||
− | |valign="top"|[[UI Presentation Rules#Desktop|Desktop]]||Include this App in a Desktop client (True | False). | + | |valign="top"|[[UI Presentation Rules#Desktop|Desktop]]||Include this App in a Desktop client (True | False). |
+ | |valign="top"|desktopui||Boolean | ||
|- | |- | ||
|valign="top"|[[UI Presentation Rules#Web|Web]]||Include this App in a Web client (True | False). | |valign="top"|[[UI Presentation Rules#Web|Web]]||Include this App in a Web client (True | False). | ||
+ | |valign="top"|webui||Boolean | ||
|- | |- | ||
|valign="top"|[[UI Presentation Rules#Tablet|Tablet]]||Include this App in a Tablet client (True | False). | |valign="top"|[[UI Presentation Rules#Tablet|Tablet]]||Include this App in a Tablet client (True | False). | ||
+ | |valign="top"|mobileui||Boolean | ||
|- | |- | ||
|valign="top"|[[UI Presentation Rules#Phone|Phone]]||Include this App in a Phone client (True | False). | |valign="top"|[[UI Presentation Rules#Phone|Phone]]||Include this App in a Phone client (True | False). | ||
+ | |valign="top"|phoneui||Boolean | ||
|- | |- | ||
|} | |} | ||
[[Category:Attributes|1 App]] | [[Category:Attributes|1 App]] | ||
+ | [[Category:App Settings]] |
Latest revision as of 06:33, 25 April 2024
Contents
- 1 Overview
- 2 Getting and Setting Attributes Programatically
- 3 General
- 4 CSS theming
- 5 Editor
- 6 Embedded HTTP Server
- 7 Sessionstorage
- 8 Directories
- 9 Deployment
- 10 App Center Tile
- 11 General App Configuration
- 12 Locale Configuration
- 13 Web/Mobile App Configuration
- 14 Page defaults
- 15 Section defaults
- 16 Delegates
- 17 Permissions and Roles
- 18 Standalone Options
- 19 UI Presentation Rules
Overview
Click the Settings icon in the ModeBar to open up the App Settings dialog. Select a setting category from the pulldown and/or use the scrollbar to browse the settings. With the settings grid selected, type a letter to jump to the first setting that starts with that letter. Typing the same letter again will move to the next setting starting with that letter.
When you have finished editing the settings, click Done to save the changes and close the dialog or Cancel to close the dialog without saving.
Note: App Settings are selected in the Attributes tab when the App Inspector is open.
Getting and Setting Attributes Programatically
The Lianja system object has desktop methods allowing App Settings to be queried and set programmatically:
Lianja.getAttr(name)
Lianja.setAttr(name,value)
e.g.
lIsPublished = Lianja.getAttr("apppublished") Lianja.setAttr("apppublished","true")
See Custom Builders for details on intercepting the new App operation to allow it to be handled programmatically and for developer customizations to be applied.
General
Attribute | Description | Name | Type |
---|---|---|---|
App Doc | App Doc file. This html file will be included at the beginning of the App Doc when it is generated. | appdoc | Character |
Keep attribute versions | Keep attribute versions in appname_appdoc.txt for diff comparison when the App is saved. From v6.3. | keepappdocversions | Boolean |
Build mode | The type of build for Web/Mobile Apps. Use Debug when testing and Release when deploying (Debug | Release). | appbuildtype | Character |
Published | App is published in the App Center (True | False). | apppublished | Boolean |
Use wizards/builders | Use wizards/builders during development (True | False). | usewizards | Boolean |
Check for updates | Check for Lianja App Builder updates at startup (True | False). From v5.2. | checkforupdates | Boolean |
Event tracking | Trace App events in Web/Mobile Apps (True | False). This is only effective in Debug mode. | appeventtracking | Boolean |
Turn Password on | Enter password when starting Lianja (True | False). | ||
Password | Password value. | ||
Confirm Password | Confirm password value. | ||
Restore previous session on startup | Restore the previous session on startup. If checked, then the last App and editor files are reopened (True | False). | ||
Login required | Authentication required to run App (True | False). | apploginrequired | Boolean |
Enable guest access | Enable this App to be run as a guest without App Center login (True | False). | appenableexternal | Boolean |
Enable offline data | Reserved for future use (True | False). | appenableofflinedata | Boolean |
Offline tables | Reserved for future use. | appofflinetables | Character |
Page libraries | The page libraries for this App. Comma-separate the filenames to specify more than one. From v9.1.4. | pagelibs | Character |
Database switcher list | Comma separated list of databases that can be switched to. From v6.3. |
appdatabaseswitcherlist | Character |
Timelines Enabled | Enable database timelines for sections that have timelines enabled (True | False). | timelinesenabled | Boolean |
Ask Before Deleting | Ask before deleting a record (True | False). | confirmdeleterecord | Boolean |
Add Form Section | Always add a form section when creating a new blank page (True | False). | addblankformsection | Boolean |
Table information | Query for Table information in the data trees when an App is opened or a database is opened in the Data workspace (True | False). |
||
Deferred load | When this is checked all pages will be loaded with data only when they are first activated (speeds up App load time). (True | False). |
deferredload | Boolean |
Help provider homepage URL | Context sensitive help provider URL to use when editing. | helpproviderurl | Character |
Help provider search URL | Context sensitive help provider search URL to use when editing. Use {keyword} for item to search for. | helpprovidersearchurl | Character |
CSS theming
Attribute | Description | Name | Type |
---|---|---|---|
Desktop CSS style | Specify the global Desktop App CSS style for UI theming. From v6.3. |
cssstyle | Character |
Web CSS style | Specify the global Web App CSS style for UI theming. From v6.3. | cssstyle_web | Character |
Tablet CSS style | Specify the global Tablet App CSS style for UI theming. From v6.3. | cssstyle_tablet | Character |
Phone CSS style | Specify the global Phone App CSS style for UI theming. From v6.3. | cssstyle_phone | Character |
Editor
Attribute | Description | Name | Type |
---|---|---|---|
Use External Editor | Use External Editor for editing (True | False). | useexternaleditor | Boolean |
External Editor | The External Editor for editing. | externaleditor | Character |
External Editor Extensions | A comma separated list of file extensions that will be edited externally. | externaleditorextensions | Character |
Activate Completion | Activate statement completion (Always | Manually | Never). | activatecompletion | Character |
Activate completion timeout | Activate statement completion timeout. | activatecompletiontimeout | Int |
Enable Intellitips | Enable Intellitips (True | False). | enableintellitips | Boolean |
Enable code snippets | Enable code snippets (True | False). | enablecodesnippets | Boolean |
Enable command syntax hints | Enable command syntax hints (True | False). | enablesyntaxhints | Boolean |
Enable function parameter hints | Enable function parameter hints (True | False). | enableparameterhints | Boolean |
Enable command parameter hints | Enable command window parameter hints (True | False). | enableparametercommandhints | Boolean |
Insert matching characters | Automatically insert matching characters (True | False). | automaticallyaddmatchingcharacters | Boolean |
Enable code folding | Enable code folding (True | False). | enablecodefolding | Boolean |
Enable word highlighting | Enable highlighting of words in file as typed (True | False). | enablehighlightwords | Boolean |
Enable smart indenting | Enable smart indenting of code blocks (True | False). | smartindent | Boolean |
Enable object naming conventions | Enable object naming conventions to display property/method pick lists based on identifier prefixes (True | False). | objectnamingconventions | Boolean |
Refresh advanced panel | Always refresh the editor advanced panel when a file is edited (True | False). |
refresheditoradvanced | Boolean |
Fast syntax highlighting | Fast syntax highlighting (True | False). Set to True by default. The syntax highlighter for LianjaScript is much more responsive in the debugger when opening large files. (From v9.5). |
minimalsyntaxhighlighting | Boolean |
Theme | The editor theme (Default | Visual Studio Dark | Visual Studio Light | Eclipse | Dreamweaver). | editortheme | Character |
Show Doc | Show the editor Doc when editing (True | False). | editorhelp | Boolean |
App files search path | A semi-colon (;) separated list of directories to search and refresh in the editor advanced panel when an App file is edited. (From v5.0). | appeditorsearchpath | Character |
Library files search path | A semi-colon (;) separated list of directories to search and refresh in the editor advanced panel when a Library file is edited. (From v5.0). | libeditorsearchpath | Character |
Embedded HTTP Server
Attribute | Description | Name | Type |
---|---|---|---|
Listen on | The interface the HTTP server should listen for requests on | httpnodename | Character |
Port | The port that the embedded HTTP server uses | httpport | Character |
Runtime Port | The port that the embedded HTTP server uses at runtime (App Center). |
runtimehttpport | Character |
API key | The API key that should be specified to invoke desktop web services. | httpapikey | Character |
Enable services | Enable embedded web services (True | False) | httpenableservices | Boolean |
Sessionstorage
Attribute | Description | Name | Type |
---|---|---|---|
Sessionstorage size | The size of the shared sessionstorage | sessionstoragesize | Int |
Session data changed | The delegate procedure for the session data changed event | sessiondatachangedaction | Character |
Session data changed interval | The interval in msecs that checks for session data changes will be made at runtime | sessiondatachangedinterval | Int |
Directories
Attribute | Description | Name | Type |
---|---|---|---|
Data directory | The database directory where your databases are located. | datadir | Character |
Apps directory | The apps directory where your apps are located. | appsdir | Character |
Library directory | The library directory where your libraries are located. | libdir | Character |
Templates directory | The template directory where your templates are located. | templatesdir | Character |
Deployment directory | The deployment directory. This should contain apps, data and library sub-directories. It can be on a network drive to provide shared App and Data access. | runtimerootdir | Character |
Deployment
Attribute | Description | Name | Type |
---|---|---|---|
Publisher | The way to publish the Apps (Copy | SFTP | Custom). | apppublisher | Character |
Publisher path | The optional full path of the publisher program, e.g. /usr/bin/rsync. | apppublisherpath | Character |
Publisher arguments | The optional arguments to the publisher program, e.g. -avc for rsync. | apppublisherarguments | Character |
Server | The server IP address or nodename where the App will be deployed, e.g. localhost or myserver.mydomain.com. | apppublisherserver | Character |
Directory | The root lianja directory on the LAN or server where the Apps will be deployed. | apppublisherdirectory | Character |
Build an installer | Build an installer for Windows desktop deployment (True | False). | ||
Username | The optional username to authenticate with the remote server. | apppublisherusername | Character |
Password | The optional password to authenticate with the remote server. | apppublisherpassword | Character |
Private key (.pem file) | The (optional) private key (.pem file) to authenticate with the remote server. | apppublisherpemfile | Character |
App Center Tile
Attribute | Description | Name | Type |
---|---|---|---|
Author | The App author displayed in the App Center. | appauthor | Character |
Category | The category for the App displayed in the App Center. | appsidebarcategory | Character |
Version | The version for the App displayed in the App Center. | appversion | Character |
Caption | The caption for the App displayed in the App Center. | appsidebarcaption | Character |
Icon | The icon for the App displayed in the App Center. | appsidebaricon | Character |
Description | The description for the App displayed in the App Center. | appdescription | Character |
Background color | The background color for the App displayed in the App Center. | apptilebackcolor | Character |
Tile size | The size of the tile in the App Center. | apptilesize | Character |
Dynamic contents | The tile in the App Center contains dynamic contents only (True | False). | apptiledynamiccontents | Boolean |
Tile order | The category position for the tile in the App Center. | apptileorder | Character |
Tile URL | The URL to invoke when this tile is clicked at runtime. | apptileurl | Character |
Dynamic tile producer | The dynamic tile producer used to update the dynamic tile in the App Center. This can be a procedure or a URL. | timeraction | Character |
Dynamic tile timer interval | The timer interval in seconds to update the dynamic tile in the App Center. | timerinterval | Int |
Dynamic badge producer | The dynamic badge producer used to update the dynamic badge in the tile in the App Center. This can be a procedure or a URL. | countertimeraction | Character |
Dynamic badge timer interval | The timer interval in seconds to update the dynamic badge in the tile in the App Center. | countertimerinterval | Int |
General App Configuration
Attribute | Description | Name | Type |
---|---|---|---|
Window Title | The window title for this App. | apptitle | Character |
Window Width | The window width for this App. | appwidth | Character |
Window Height | The window height for this App. | appheight | Character |
Maximize Window | Maximize the window for this App (True | False). | appmaximize | Boolean |
Window Resizable | Allow the user to resize the App window (True | False). | appresizable | Boolean |
Hide Header Bar | Hide header bar at runtime (True | False). | hideheaderbar | Boolean |
Show navigation history | Show pages navigation history buttons in page header. | showbackbutton | Character |
Show navigation menu | Show pages navigation menu in page header (True | False). | showpagesmenu | Boolean |
Show Page Center | Show Page Center when navigation menu clicked (True | False). | showpagecenter | Boolean |
Disable VT requery when parentdatachanged | This will handle legacy VT usage prior to Lianja 6.3 (True | False). From v6.3. | vtparentrequerydisabled | Boolean |
Navigation menu caption | Navigation menu caption text in the page header. | pagesmenucaption | Character |
Hide header icons | Hide the header icons in the page header bars (True | False). | hideheadericons | Boolean |
Sidebar theme | Sidebar headers are themed (True | False). From v9.6. | sidebarthemed | Boolean |
Desktop theme | Desktop theme for this App (Default | Android | iOS | Modern | Modern2 | ... (read from themes directory). | theme | Character |
Help table | Context sensitive help table for this App. | helptable | Character |
Meta types file | The Meta types file for this App. | metatypestable | Character |
Meta types library | The Meta types library for this App. | metatypeslib | Character |
Component library | The Component library for this App. Components that are generated are saved here. (From v5.0). | componentlib | Character |
Components | The Components needed for this App. Separate each with a ';' to specify more than one, e.g. example_component.name;example_component.*. (From v5.0). |
components | Character |
CSS libraries | The CSS libraries for this App. Separate each filename with a ; to specify more than one. | csslibs | Character |
Additional file path | A semi-colon (;) separated list of additional path locations to search for App specific files. | addinspath | Character |
Autoload libraries | If True, then libraries are auto loaded if a file of the same name as the directory exists in the additional file paths (True | False). | addinsautoload | Boolean |
UI states table | UI states table for this App. | uistatestable | Character |
Initial UI state | The initial UI state for this App. This will be applied to all pages, sections and fields/gadgets. | uistateinit | Character |
Home page app | The App to load when the Home icon is clicked. | homeapp | Character |
Initial page | The first page to view for this App at runtime. | firstpage | Character |
HTML editor | Choose the HTML editor to use in this App (Desktop | Web | Mobile). | htmleditor | Character |
Runtime connection | The connection string to use for 'local' virtual tables. This will be substituted when the App is deployed at runtime in the App Center or the Web/Mobile clients. | runtimeconnstr | Character |
Runtime database | The database that will be substituted when the App is deployed at runtime in the App Center or the Web/Mobile clients. | runtimedatabase | Character |
Include in HTML HEAD | Include HTML file contents into the HTML5 Client. | includehtmlhead | Character |
Enable as PWA | Enable as a Progressive Web App when generating web/mobile/tablet Apps. | pwa | Boolean |
Enable user translate | Enable user translation in web/mobile/tablet Apps. From v5.5. | enableusertranslation | Boolean |
Enable text translator | Enable text translation in web/mobile/tablet Apps. This enables dynamic language translation of captions in the UI. From v5.5. | enabletranslation | Boolean |
Enable google translate | Enable google translate in web/mobile/tablet Apps. This enables dynamic language translation of captions in the UI. From v5.5. | enablegoogletranslation | Boolean |
Readonly fields backcolor | The background color that readonly fields should be displayed in. | readonlybackcolor | Character |
App CSS style | Specify the global App CSS style for UI theming. | cssstyle | Character |
Disable inline editing | Disable inline editing (True | False). | disableinlineediting | Boolean |
Show PerfMeter in console | Show PerfMeter in the Console (True | False). | consoleperfmeter | Boolean |
Locale Configuration
Attribute | Description | Name | Type |
---|---|---|---|
Currency character | The currency character to use for this App (default $). |
localecurrencycharacter | Character |
Separator character | The separator character to use in number formatting for this App (default ,). |
localeseparatorcharacter | Character |
Point character | The point character to use in number formatting for this App (default .). |
localepointcharacter | Character |
Web/Mobile App Configuration
Attribute | Description | Name | Type |
---|---|---|---|
Browser | Browser to use for Preview live in browser. From v9.1.5. | browser | Character |
Custom browser location | Location of browser to use for Preview live in browser. From v9.1.5. |
custombrowser | Character |
Character encoding | Character encoding for Web/Mobile Apps (utf-8 is recommended). |
htmlencoding | Character |
Language locale | Locale for Web/Mobile Apps (affects date picker and various captions). | htmllocale | Character |
Header icon type | Icon to be displayed in the page header bar in Web/Mobile (Default | Custom | None). |
webheadericon | Character |
Custom header icon | Custom icon to be displayed in the page header bar in Web/Mobile. | customwebheadericon | Character |
Disable right click | Disable right click context menu in Web Apps (True | False). | disablerightclick | Boolean |
Disable success notifications | Disable success notifications in Web/Mobile apps (True | False). From v7.2. |
disablesysmessages | Boolean |
Enable animations | Enable animated section transitions in Web/Mobile Apps (True | False). |
enableanimations | Boolean |
Web Theme | Web theme for this App (Default | AndroidBlackGreen | AndroidBlackBlue | AndroidBlackOrange | AndroidBlackPurple | AndroidBlackRed | AndroidBlackWhite | AndroidWhiteGreen | AndroidWhiteBlue | AndroidWhiteOrange | AndroidWhitePurple | AndroidWhiteRed | iOS | Modern). | webtheme | Character |
Mobile Theme | Mobile theme for this App (Default | AndroidBlackGreen | AndroidBlackBlue | AndroidBlackOrange | AndroidBlackPurple | AndroidBlackRed | AndroidBlackWhite | AndroidWhiteGreen | AndroidWhiteBlue | AndroidWhiteOrange | AndroidWhitePurple | AndroidWhiteRed | iOS | Modern). | mobiletheme | Character |
Mini navigation panel | Always show mini (phone) navigation panel on tablets (True | False). |
showmininavigationpanel | Boolean |
Page defaults
Attribute | Description | Name | Type |
---|---|---|---|
Navigation bar type | Choose the appearance of the data navigation bar to use in this App (Flat | Gradient). | navbartype | Character |
Hide navigation bar slider | Hide navigation bar slider (True | False). | hideslider | Boolean |
Navigation bar CSS | Custom navigation bar CSS. | navbarcss | Character |
Page menu | Choose the appearance of the page navigation menu to use in this App (Menu | Panel). | pagemenutype | Character |
Page menu theme | Choose the page meu theme to use in this App (Dark | Light). From v9.0. |
pagemenutheme | Character |
Page menu row height | The row height for the page menu items in this App. | pagemenurowheight | Character |
Page menu CSS | CSS for the page menu in this App. | pagemenucss | Character |
Additional page menuitems | Additional menuitems (that can call showdocument() actions) for the page menu in this App. From v5.3. | custompagesmenuitems | Character |
Left sidebar visible | Show left sidebar (True | False). | pagedefault_leftsidebarvisible | Boolean |
Right sidebar visible | Show right sidebar (True | False). | pagedefault_rightsidebarvisible | Boolean |
Hide search box | Hide the search box in the page header bar (True | False). | pagedefault_hidesearchbox | Boolean |
Hide notifications icon | Hide the notifications icon in the page header bar (True | False). | pagedefault_hidenotificationsicon | Boolean |
Hide search icon | Hide the custom search icon in the page header bar (True | False). | pagedefault_hidecustomsearchicon | Boolean |
Hide fullscreen icon | Hide the fullscreen icon in the page header bar (True | False). | pagedefault_hidefullscreenicon | Boolean |
Hide share icon | Hide the share icon in the page header bar (True | False). | pagedefault_hideshareicon | Boolean |
Hide home icon | Hide the home icon in the page header bar (True | False). | pagedefault_hidehomeicon | Boolean |
Section defaults
Attribute | Description | Name | Type |
---|---|---|---|
Inherit dictionary rules | Inherit the data dictionary rules (True | False) | pagesectioninheritdictionary | Boolean |
Header type | Choose the appearance of the section headers to use in this App (Flat | Gradient). |
pagesectionheadertype | Character |
Icon set | Choose the icon set to use for the section headers in this App (Gradient | Black | White | Blue | Gray | Darkgray). |
pagesectionheadericonset | Character |
Header height | The header height for the section headers in this App. | pagesectionheaderheight | Character |
Header background color | The background color for the section headers in this App. | pagesectionheaderbackcolor | Character |
Header foreground color | The foreground color for the section headers in this App. | pagesectionheaderforecolor | Character |
Header font size | The font size for the section headers in this App. | pagesectionheaderfontsize | Character |
Header CSS | The CSS for the section headers in this App. | pagesectionheadercss | Character |
Section CSS | The CSS for the sections in this App. | pagesectioncss | Character |
Delegates
Attribute | Description | Name | Type |
---|---|---|---|
Scripting language | The default scripting language for custom code in this App (Recital | Visual FoxPro | Python | JavaScript | TypeScript | Babel | PHP). | scriptinglanguage | Character |
Custom library | The filename of the library containing code for event handlers and custom procedures/functions. | customlibrary | Character |
Hotkey | The delegate procedure for the Hotkey event. | hotkeyaction | Character |
Init | The delegate procedure for the Init event. | initaction | Character |
Destroy | The delegate procedure for the Destroy event. | destroyaction | Character |
Load | The delegate procedure for the Load event. | loadaction | Character |
Ready | The delegate procedure for the Ready event. | readyaction | Character |
Unload | The delegate procedure for the Unload event. | unloadaction | Character |
Database changed | The delegate procedure for the Database changed event. From v6.3. |
databasechangedaction | Character |
State Changed | The delegate procedure for the State Changed event. | statechangedaction | Character |
Text Translator | The delegate procedure for translating text messages. | texttranslatoraction | Character |
File System Watcher | The delegate procedure for watching for changes to directories and/or files. | watchaction | Character |
Orientation Changed | The delegate procedure for the Orientation Changed event. From v6.0. |
orientationchangedaction | Character |
Device Motion Changed | The delegate procedure for the Device Motion Changed event. From v6.0. |
devicemotionchangedaction | Character |
Connection State Changed | The delegate procedure for the Connection State Changed event. From v6.0. |
connectionchangedaction | Character |
Inactive | The delegate procedure for the Inactive event. | inactiveaction | Character |
Inactive interval | The inactive interval in seconds that the inactive delegate procedure will be called at runtime. | inactiveinterval | Int |
Before preview | The delegate procedure for the before preview event. From v6.3. |
beforepreviewaction | Character |
Permissions and Roles
Attribute | Description | Name | Type |
---|---|---|---|
Available roles | A comma separated list of roles that are available for the App | permavailable | Character |
Admin roles | A comma separated list of roles that can perform admin operations on the App | permadmin | Character |
Create roles | A comma separated list of roles that can perform create operations on data in the App | permcreate | Character |
Read roles | A comma separated list of roles that can read (and execute) the App | permread | Character |
Update roles | A comma separated list of roles that can perform update operations on data in the App | permupdate | Character |
Delete roles | A comma separated list of roles that can perform delete operations on data in the App | permdelete | Character |
Standalone Options
Attribute | Description | Name | Type |
---|---|---|---|
Standalone Lib | Include library files in the standalone App directory (True | False). From v9.5. |
standalonelib | Boolean |
Standalone Zip | Create a zip file for the standalone App (True | False). From v9.5. |
standalonezip | Boolean |
Standalone Exe | Create an installer as a self-extracting exe file for the standalone App (True | False). From v9.5. |
standaloneexe | Boolean |
Standalone Login | The standalone App requires login. (True | False). From v9.5. |
standalonelogin | Boolean |
Standalone Python modules | The standalone App requires Python modules. (True | False). From v9.5. |
standalonepython | Boolean |
Standalone Data | Include databases (comma separated list) in the standalone App directory (True | False). From v9.5. |
standalonedata | Character |
UI Presentation Rules
Attribute | Description | Name | Type |
---|---|---|---|
Standalone | Build this App as a Standalone app (True | False). | standaloneui | Boolean |
Form | Run this App as a Form (True | False). | formui | Boolean |
Desktop | Include this App in a Desktop client (True | False). | desktopui | Boolean |
Web | Include this App in a Web client (True | False). | webui | Boolean |
Tablet | Include this App in a Tablet client (True | False). | mobileui | Boolean |
Phone | Include this App in a Phone client (True | False). | phoneui | Boolean |