Open Tab Button

Service Optimization
Open Tab Button
Product ClickApp by ClickSoftware
For use with ClickMobile Touch
ClickSoftware Confidential
Legal Notice
The software with this guide is furnished under a license agreement and may be used only according to
the terms of that agreement.
Copyright
Copyright © ClickSoftware Technologies Ltd. All rights reserved.
No part of this publication may be copied without the express written permission of ClickSoftware
Technologies Ltd.
Patent and Trademark
US Patent Number 6,985,872 B2
ClickAnalyze, ClickFix, ClickForecast, ClickMobile, ClickPlan, ClickRoster, ClickSchedule, and
ClickSoftware are registered trademarks of ClickSoftware Technologies Ltd.
Contact Information
Contact information is available from the ClickSoftware web site: http://www.clicksoftware.com.
For general information, email to [email protected].
For ClickSoftware Worldwide Support, email to [email protected] or see the support page on
the ClickSoftware web site.
For Partner Enablement, email to [email protected].
Publication Notice
This guide has been carefully compiled. The information in this guide does not constitute a warranty of
performance. Furthermore, ClickSoftware reserves the right to revise this publication and make changes
from time to time in the content thereof, without obligation to notify any person of such revisions or
changes. ClickSoftware assumes no liability for losses incurred as a result of out-of-date or incorrect
information in this guide.
Version
Open Tab Button: Open Tab Button
App number: 1028
App version: 1.0
Date: March 2015
Open Tab Button
3
Contents
OPEN TAB BUTTON ..................................... 4
Use ............................................................................................................. 5
Prerequisites .............................................................................................. 6
Installation .................................................................................................. 6
Configuration .............................................................................................. 6
Configuration Example ......................................................................... 7
Comments .................................................................................................. 8
4
Open Tab Button
Open Tab Button
This app displays a shortcut button on a form. When the engineer clicks the button,
the display jumps to a predefined tab of the form.
Open Tab Button
Use

Click the button to open the tab.
In the above illustration, the button is labeled Show Contact Address, and it is
located on the Contact tab of the Assignment form. The button opens the
Address tab, where the engineer can view the assignment location.
5
6
Open Tab Button
Prerequisites
This app runs on ClickMobile Touch. For information about the certified versions,
see the ClickSoftware AppStore page of this app.
Installation

On each ClickMobile middle tier, copy the following file to the
ClickMobileWEB\CustomScripts directory:
OpenTabButton.js
Configuration
The button is implemented as a custom panel. You can configure the button label,
the space surrounding the button, and the tab that the button opens.
To configure the app, you must perform the following steps:
1.
In the Service Optimization Administration tool, edit the ClickMobile Touch
(Professional) administrative setting. This opens the Mobility Studio.
2.
Open a form in the ClickMobile Dialogs Editor, and display the tab where you
want to place the button. For example, to open the Assignment form, select the
Schedule view and edit its Object Form Definition attribute.
3.
From the toolbox, drag a Custom Panel to the desired location on the tab.
4.
In the Properties pane, edit the CustomPanelDef attribute of the Custom Panel.
Open Tab Button
5.
7
Enter the name OpenTabButton.js. Enter the class path
OpenTabButton.OpenTabButton.
Edit the CustomSettings attribute of the Custom Panel. Enter a commaseparated string containing the parameters ButtonLabel,TabIndex,Padding. The
parameters have the following meanings:
ButtonLabel
The text that is displayed on the button.
TabIndex
The index number of the tab that the button displays. The first tab is 0, the
second tab is 1, and so forth.
Padding
The empty space surrounding the button, in pixels. Half the padding is on the
left side of the button, and half is on the right side. Increasing the padding value
decreases the button size.
6.
Click Apply and close the Dialogs Editor.
7.
Click Apply and close the Mobility Studio.
Configuration Example
In the following example, the value of CustomSettings is:
Show Contact Address,3,80
The configuration has the following result:

The button is labeled Show Contact Address.

The button opens the Address tab of the form, which has a tab index of 3.

The button is surrounded by 40 pixels of empty space on the left and right.
8
Open Tab Button
Comments
The ClickMobile appearance is configurable. The layout might differ on your
device.
In Service Optimization 8.1.7 and earlier, ClickMobile Touch was known as
ClickMobile Professional.