Template Library

The WEGnology Template Library is a collection of common UI components, sample workflows, data simulators, and examples for all WEGnology users. Resources found in the Template Library can be integrated into existing applications to improve the usability, security, and speed to market for your applications.

The template library is divided into the following categories:

Devices

The Device template category contains components related to device creation and management.

Device Provisioning

The Device Provisioning templates provide dynamic device registration, onboarding, and provisioning functionality. These templates allow your solution to create devices on-demand, instead of requiring devices to be pre-created in the platform prior to being deployed.

For example, see the Dynamic Registration template:

Device Provisioning

This template provides JWT-based dynamic device registration. This allows devices to register themselves by sending a digitally-signed JWT token to a device registration API endpoint.

Experiences

Experience templates provide out-of-the-box features or reference implementations to add new functionality to your experiences.

Experience APIs

Experience APIs provide examples of building RESTful data APIs for your application experiences. These are useful when building advanced single-page applications and native mobile apps.

For example, the Experience Authentication Endpoint demonstrates receiving user login credentials as part of a JSON request and replying with a token on successful authentication.

Experience Boilerplates

Boilerplates provide foundations on which you can build your experience. These handle the required markup to include dependencies, like Twitter Bootstrap, as well as providing common layouts that can be directly used by your experience.

For example, see the Bootstrap 4 Layouts template:

Bootstrap 4 Layouts

This template includes a variety of page layout configurations built within the Bootstrap 4 framework. This template serves as a starting point for any new application experience.

Experience Components

Component templates provide pre-built functionality that can be directly included in your own Experience Pages or Experience Layouts. Many of these templates provide UI components that are common across many IoT solutions.

For example, see the Device List template:

Device List

This template displays a list of devices. Each entry has a configurable link, label, and optional device image. The list is based on the Bootstrap 4 List group component.

Experience Forms

Form templates provide various solutions for accepting and utilizing user input. The forms in this category provide out-of-the-box functionality as well as reference implementations for common features that you can add to your experience.

For example, see the Forgot Password template:

Forgot Password

This template provides all the necessary endpoints, workflows, and pages to deliver “forgot password” and “password reset” functionality.

Experience Pages

Experience Page templates provide pre-built Experience Pages. Most pages are not intended to be used as an out-of-the-box solution, but rather to provide guidance on how to use the service or feature within your experience.

For example, see the Braze Web Push Notifications template:

This template provides an example page that demonstrates how to register for and receive Web Push Notifications from the Braze customer engagement platform.

Workflows

Workflows provide the intelligence or business logic for your application. Workflow templates provide pre-built workflows that deliver common functionality across a wide variety of application types.

Workflow Alerting

Alerting templates demonstrate how to implement alerting within your application. They provide best practices around using the Latch Node as well as creating and automatically resolving WEGnology Events.

For example, see the Latching and Events template:

Latching and Events

This template demonstrates:

Workflow Data

Data workflow templates demonstrate how to utilize the workflow engine to integrate with third-party services, which allows you to extend the functionality of your WEGnology application in a number of ways.

For example, the Stream Exports to AWS S3 template demonstrates how to push the results of device data exports and notebook executions straight to your Amazon S3 bucket.

Workflow Edge Compute

Edge Compute workflow templates cover a variety of use cases within the Gateway Edge Agent, both for complete local control as well as integrating the GEA with the cloud platform.

For example, the Publish Edge Files to Application Files template utilizes an Edge Workflow and an Application Workflow to retrieve upload credentials for an Application File from the cloud and then upload that file directly from the Edge Compute device.

Workflow Nodes

These nodes extend the workflow palette with new functionality like data filtering or integrations with external services. When imported, these nodes appear in your application’s collection of Custom Nodes.

For example, see the Moving Average template:

Moving Average

This node calculates a moving average over a configurable number of data points. Once imported, this node is available in your application’s collection of Custom Nodes.

Workflow Simulators

Workflow simulators provide a means to generate sample data during your early development or proof-of-concept phases. This can be used when you do not have access to actual device data or when you test how your solution behaves under specific scenarios.

For example, see the Blob Data Simulator template:

Blob Data Simulator

This template demonstrates:

Was this page helpful?


Still looking for help? You can also search the WEGnology Forums or submit your question there.