Last updated: 23.07.2024

internal documents

Valid from: Opter 2024.06.00, Opter Driver for iOS 2.4.4 and Opter Driver Labs for Android 2.4.7

App.OpterDriver.Design

Note:

To only set up the information that is displayed in Opter Driver for iOS and Opter Driver Labs for Android, we recommend using the Design field for mobile window, as it is easier than editing the App.OpterDriver.Design XML file. For more information, see Configuring which fields are displayed in Opter Driver for iOS.

To have a custom layout in Opter Driver for iOS and Opter Driver Labs for Android, this can be created in either App.OpterDriver.Design or App.Design, but to be able to use all the features available in Opter Driver for iOS and Opter Driver Labs for Android, App.OpterDriver.Design needs to be used rather than App.Design.For more information on how to customise Opter Driver, see Customising the layout and features of Opter Driver.

To use different designs for certain customers, certain services and/or certain price vehicle types, use App.OpterDriver.Design. For more information, see Using different designs depending on the customer, service and/or price vehicle type below.

Conditions

The App.ForceOldDesign mobile data setting must be set to “false” (default) in order to follow the content of App.OpterDriver.Design.

Changing the layout in Opter Driver for iOS and Opter Driver Labs for Android

Tip

App.OpterDriver.Design opens in the Layout - apps window. All other windows in Opter are locked when Layout - apps is open, but you can switch between different windows that are already open. If you need to see information in other windows, you can open them before opening Layout - apps.

  1. Open App.OpterDriver.Design in Opter’s internal editor, click on Settings > Mobile data > Settings mobile data, and then on Edit next to App.OpterDriver.Design.

    Tip

    Below is a complete example of what App.OpterDriver.Design might look like. We recommend starting with the complete example for the Opter version and then make the desired changes.

    The tags that can be used in App.OpterDriver.Design are described below.

    The names of variables that can be used in App.OpterDriver.Design are described in Design field for mobile (window). For example, the STREETFROM variable shows the street name of the pickup address in the app.

  2. When the desired changes to App.OpterDriver.Design have been made, we recommend that pressing the Check XML button in the Layout - apps window to check that the XML syntax is correct. If the syntax is correct, nothing happens. If the syntax is incorrect, the error is described in red text at the top of the window.

  3. When the desired changes have been made in App.OpterDriver.Design, close the editor by clicking on the cross in the top right-hand corner. Click on Save in the Mobile data settings window. This will save the changes made in App.OpterDriver.Design.

    The changes are displayed in the app after the user has logged out and then logged back in. If the user has selected Automatic login in Settings in the app, the changes will appear in the app after the user has closed the app and then started it again.


See also

Configuring which fields are displayed in Opter Driver for iOS

Customising the layout and features of Opter Driver

Design field for mobile (window)

Mobile data settings (window)

A complete example of App.OpterDriver.Design for 2023.12-01.00 and later

A complete example of App.OpterDriver.Design for 2023.06.133 to 2023.06.191