Creating Custom Topics
Custom topics allow you to display data collected by applications in Live View, letting users create personalized categories of information based on specific needs or criteria. The methods and requirements for retrieving data from business applications are listed below.
To add a custom topic:
- From the main menu, select Live View.
- From the View dropdown at the top of the screen, select
the Edit icon.
The Edit View - User panel displays.
- Select the Edit Topics button. The Edit
Topics panel displays.
- Select the Add Custom Topic/Event button. The
Add Custom Topic/Event Wizard panel displays.
- Select Next. The Add Custom Topic/Event
Wizard panel expands.
Select the type of value of the data collected from the third-party applications.
Refer to the following table:
Value Description Integer (arbitrary values) Numerical value. Integer (suitable for mapping to colors on icons) Numerical value for display on the map. String (arbitrary value) Sequence of characters. String (suitable for mapping to colors on icons) Sequence of characters for display on the map. Event (uses XTSock to capture events from third party app) Uses XT Sock to capture events from third-party applications. - Select Next.
- In the Add Custom Topic/Event Wizard panel, select the
Collection Frequency, Significant
Change, and Units for the custom topic.Note: Collection Frequency sets how often the device sends topic data. Significant Change tells the device to send data when this condition occurs, regardless of the collection frequency.
- Select Next.
- In the Add Custom Topic/Event Wizard panel, select the
method to use to retrieve topic values from third-party applications on the devices.
Select the method to use to retrieve topic values from third-party applications on devices.
Refer to the following table:Data Source Option Description Retrieve data from SOTI Snap App (Android only) Specify parameters to retrieve data using the SOTI XT Sock for SOTI Snap.
See the SOTI Snap online help: XSight Topics
- Display Prompt Text: Enter the topic name to display in Live View.
- Topic Identifier: Enter a topic exported by SOTI Snap.
Note: This option is only available for Android.Use XT Sock Interface Specify the parameters to retrieve data using the SOTI XT Sock interface, a mechanism developed by SOTI to talk directly to business apps.
- Display Prompt Text: Enter the topic name to display in Live View.
- Package/Prog Id: The application you want to get data from.
- Signature: The value for signature comes from
your XT Sock signature. If you have the signature,
you can enter it manually in the text box.
Otherwise, select Get app
signature to browse for your XT Sock
*.apk
or*.exe
. By selecting your XT Sock you can extract the app signature automatically.Note: The Signature field is available in SOTI XSight 2024.0.3 and later. - XT Sock Field Key: Enter the name of the field
you want to extract data from.Note: An SDK document and sample source code package are available from SOTI to help you create custom topics.
Retrieve data from JSON file Specify the parameters to retrieve data from a JSON file on the device.
- Display Prompt Text: Enter the topic name to display in Live View.
- File Path: Enter the location of the JSON file on the device.
- JSONPath: Enter the specific subsection of the JSON document you want to extract. Use the format: $.store.book[0].title
Note: There are two styles of notation:- Dot Notation: Uses a dot (.) to separate nodes. For example: $.tool.jsonpath.creator.location[2].
- The dollar sign ($) represents the root member object.
- Use operators like @ (current node) and * (wildcard) in expressions.
- You can apply functions like min(), max(), and length() at the end of a path.
-
Select Finish.
- The new custom topic, appears in the Selected column of the
Edit Topics panel.
- Select the Edit button to edit a topic. Select the Delete button to delete a topic remove it from the Selected column.
Custom topics can be added after the first three topics.