Datasources
Datasources provide the mechanism for widgets to access IoT system data and end users to interact with an IoT system.
Configuration details for each datasource can be found in the ClearBlade docs (https://docs.clearblade.com/v/4/portal)
The following slides will describe each of the datasource options.
Avg. Message Payload Size
Fetch the average payload size for a given topic
Code Service
Links to a code service defined within the ClearBlade platform.
- Requires the user role to have permissions to execute the service
Collection
Fetches an entire data collection.
- Requires the user role to have permissions to read the data collection
Device
Provides access to devices defined within a ClearBlade system.
- Requires the user role to have permissions to access the device
Device List
Retrieves all the devices in the system
Edge List
Fetches a list of system Edges.
Edge Metrics
Resources stats for the edge
Message Topic
Fetches the most recent message for a specific topic.
- Requires the user role to have permissions to read the system’s message history
Users List
Fetches a list of users in the current system.
- Requires the user role to have permissions to read the user list.
Local Variable
Allows widgets to share data within a portal.
Aggregator
Access multiple datasources within the portal
HTTP
Make custom HTTP requests within the portal
0 comments