Please enable JavaScript to view this site.

Altova MobileTogether Designer

The $Options object can take the properties listed below. The values of most of these properties are usually provided in the Generate Program Code Wizard, and are described there. The object's properties can be accessed by using the . operator. Some SPL template usage examples are given below.

 

<data

   android:scheme="[=$Options.schemeForRunSolutionUrl]"

   android:host="[=$Options.hostForRunSolutionUrl]"/>

 

 

@Override

public boolean GetServerUsesSsl()

  {

return [if $Options.isUseSSL = 1]true[else]false[endif];

  }

 

Workflow-related properties

The following workflow-related properties are available:

 

workflowKey: returns the workflow key. Example: $Options.workflowKey returns the workflow key. Every time program code is generated and the associated workflow is deployed to the server, both are assigned the same unique workflow key. An appstore app will be able to access this workflow only if it has the same key as the workflow. See Deploy Workflow to Server for details.

deploymentPath: returns the path of the deployed workflow. Example: $Options.deploymentPath returns the workflow path on MobileTogether Server. Example of a workflow path: /Public/DateTime/.

 

General properties

The values of these properties are provided in Screen 1 of the Generate Program Code Wizard.

 

appName

visibleAppName

appVersion

hostForRunSolutionUrl

schemeForRunSolutionUrl

 

User interface properties

The values of these properties are provided in Screen 2 of the Generate Program Code Wizard.

 

splashScreenPortraitFilePath

splashScreenLandscapeFilePath

launcherIconFilePath

aboutLegal

aboutCopyRight

 

Server properties

The values of these properties are provided in Screen 3 of the Generate Program Code Wizard.

 

serverAddress

serverPort

isServerAccessAlwaysAnonymous

isUseSSL

 

Properties about user and app privileges

The values of these properties are provided in Screen 4 of the Generate Program Code Wizard.

 

mayResetPersistentData

isAllowSMS

isAllowTelephoneCall

isAllowCamera

isAllowLocationAccess

isAllowExternalStorageAccess

isAllowiCloudAccess

isAllowAudioRecording

isAllowPhotoGalleryAccess

 

Android and iOS properties

The values of these properties are provided in Screen 7 of the Generate Program Code Wizard.

 

targetDirectoryAndroid

androidPackageName

androidPackageDir

androidRoundLauncherIconFilePath

androidAdaptiveLauncherIconForegroundFilePath

isAndroidAdaptiveLauncherIconBackgroundColor

androidAdaptiveLauncherIconBackgroundFilePath

androidAdaptiveLauncherIconBackgroundColor

targetDirectoryIOS

iosBundleIdentifierPrefix

iosLauncherIconBackground

 

Windows App properties

The values of these properties are provided in Screen 8 of the Generate Program Code Wizard.

 

windowsAppCompanyName

windowsPhoneCompanyName

windowsCompanyPublisherID

targetDirectoryWindowsApp

windowsAppCompanyProductID

targetDirectoryWindowsPhone

windowsPhoneCompanyProductID

 

© 2019 Altova GmbH