Widgets
About this task
Widgets are building blocks that you can use for the rapid development of custom applications.
Widgets are modular components that you add to your app to add functionality. Widgets can be simple labels and text boxes or they can be more complex, with features such as embedded interactive maps, external data connections, or NFC functionality.
Use widgets to create applications tailored to your needs. Widgets are drag-and-drop, so it's easy to change your app as requirements evolve.
Procedure
- From the SOTI Snap web console, select Apps, to access the App Manager.
- Select the My Apps tab and choose your app. The app's canvas screen displays.
-
The Project customization options tab displays in the navigation panel on the
left. Select the Widget customization options tab. You can perform the following
tasks.
Task Procedure Adding widgets To add and customize a new widget to an existing application:
-
Choose a widget and double-click on it to add it.
-
From the right-side Widget Properties panel, adjust the settings to customize the widget's appearance and behavior.Tip: Drag widgets to rearrange their placement in the app.
-
Select Save.
Result: The widget has been succesfully added and saved to the page.
Copying widgets on a page To copy an existing widget to the same application page:
- Select the widget that you want to copy and select Duplicate.
Result: The duplicated widget appears below the original widget on the same page.
Copying widgets from one page to another
To copy an existing widget to a different application page:
- Select the widget that you want to copy and press CTRL+C.
- Navigate to a different page in your app and press CTRL+V to paste the widget.
Result: If you've selected an existing widget, the copied widget will appear below it on the different page. Otherwise, the copied widget will appear below the lowermost widget.
Deleting widgets To delete a widget from an application:
- Select the widget you want to delete and select
Delete.Note: When deleting a widget, all references to that widget in Blockly or JavaScript actions are also removed.
Result: The widget is removed from the app.
-