Plex Datasource Tools | Fuuz Developer Utility for Plex Integration

Plex Datasource Tools V2.0.0

Article Type: Concept / Developer Tool Overview
Audience: Application Designers, Integration Specialists, Developers
Module: Orchestration / Developer Tools
Applies to Versions: 2.0.0+

1. Overview

The Plex Datasource Tools package is a developer utility that enables application designers to browse, explore, and rapidly integrate Plex Manufacturing Cloud datasources into Fuuz data flows. Instead of manually looking up datasource keys, input parameters, and output columns in Plex documentation, developers can use this tool to query available datasources directly from a configured Plex connection and copy pre-formatted node configurations to their clipboard for immediate use in the Data Flow Designer.

This package significantly accelerates the development of Plex integrations by providing a visual interface for datasource discovery and eliminating the tedious manual process of configuring Plex Datasource nodes with correct parameter mappings.

Note: This tool requires an active Plex API connection configured in Fuuz. Datasources are read directly from the Plex system via the configured connection, ensuring you always see the current available datasources for your Plex tenant.

2. Architecture & Data Flow

Key Definitions

  • Plex Datasource: A pre-built data retrieval or action endpoint in Plex Manufacturing Cloud, similar to a stored procedure or API endpoint. Each datasource has a unique key, defined input parameters, and structured output columns.
  • Datasource Key: A unique numeric identifier assigned to each Plex datasource. This key is required when configuring Plex Datasource nodes in Fuuz data flows.
  • Plex Datasource Node (plexDatasourceV2): A Fuuz Data Flow node type that executes calls to Plex datasources, handling authentication, parameter passing, and response parsing.
  • Connection: A configured Plex API connection in Fuuz that provides authentication credentials and endpoint configuration for accessing Plex datasources.
  • Datasource Whitelisting: The Fuuz data model that stores metadata about Plex datasources, enabling search and discovery within the platform.

Package Components

Component Type Count Description
Screens 2 Table for browsing datasources, Form for viewing details
Routes 2 Navigation paths in the Orchestration module

How It Works

The Plex Datasource Tools work by querying the Plex API directly through a configured connection:

  1. Connection Selection: The user selects a Plex connection from available configured connections
  2. Datasource Query: The tool calls the Plex API to retrieve available datasources, optionally filtered by key or name
  3. Metadata Display: Datasource details including inputs (parameters) and outputs (columns) are displayed
  4. Node Generation: The "Copy To Node" action generates a properly formatted Plex Datasource node configuration
  5. Clipboard Transfer: The node configuration is copied to the clipboard for pasting into Data Flow Designer

3. Use Cases

Datasource Discovery

Developers building Plex integrations often need to find the correct datasource for their use case. Instead of searching through Plex documentation or asking Plex support, developers can browse available datasources directly from Fuuz, filtering by name to find relevant options (e.g., searching "Part" to find part-related datasources).

Parameter Mapping

Each Plex datasource has specific input parameters that must be provided. The tool displays all required and optional parameters with their data types, enabling developers to understand exactly what inputs are needed before building their integration.

Output Schema Review

Understanding what data a datasource returns is critical for building transforms. The tool displays all output columns with their data types, helping developers plan their JSONata transformations before even adding the node to a data flow.

Rapid Node Configuration

The "Copy To Node" feature generates a complete Plex Datasource node configuration including the datasource key, parameter template, and descriptive note with column documentation. This eliminates manual configuration and reduces errors in datasource key entry.

Integration Documentation

The generated node includes a note field documenting the datasource name, key, and all output columns with their types. This serves as inline documentation within data flows, making it easier for other developers to understand what data the node retrieves.

4. Screen Details

Datasources Whitelisted Table

Route: /system/orchestration/datasourceWhitelistings

The main browsing interface for discovering Plex datasources. This screen queries available datasources from a selected Plex connection and displays them in a searchable table.

Filters:

Filter Type Description
Connection Combobox Select the Plex connection to query (required)
Datasource Key Text Filter by specific datasource key number
Name Text Search datasources by name (partial match)

Table Columns:

Column Description
Datasource Key Unique numeric identifier (clickable link to detail form)
Name Descriptive name of the datasource
Description Documentation about the datasource purpose

Datasource Detail Form

Route: /system/orchestration/datasourceWhitelistings/form/:id/:connectionId

The detail view for a specific datasource, displaying complete metadata including input parameters and output columns.

Form Fields:

Field Type Description
Datasource Key Display The unique datasource identifier
Name Display Datasource name
Description Markdown Detailed documentation
Inputs JSON Input parameters with names and data types
Output JSON Output columns with names and data types

Form Actions:

Action Icon Description
Save 💾 save Save datasource whitelisting record (disabled by default)
Delete 🗑️ trash Delete datasource whitelisting record (disabled by default)
Copy To Node 📋 clipboard Generate and copy Plex Datasource node to clipboard

5. Technical Details

Copy To Node Output

When the "Copy To Node" action is executed, the following node configuration is generated and copied to the clipboard:

{
"type": "plexDatasourceV2",
"selected": true,
"x": 0,
"y": 0,
"data": {
"parameterTransform": "{ ... input parameters ... }",
"responseTransform": "$",
"returnErrors": false,
"connectionNameTransform": undefined,
"datasourceKey": "[key number]"
},
"name": "[Datasource Name]",
"note": "Datasource Key: [key]\nDatasource Name: [name]\n--------Columns--------\n[column1]: [type]\n[column2]: [type]\n..."
}

Node Configuration Fields

Field Description
type Always "plexDatasourceV2" for Plex datasource nodes
parameterTransform JSONata template with input parameter names (values set to null)
responseTransform Default "$" to pass through response unchanged
datasourceKey The Plex datasource key number
name Node label displayed in Data Flow Designer
note Documentation including column names and types

Connection Requirements

The tool filters connections to only show Plex API connections (connector ID: 72974b11-897f-47bd-896d-133962ef7bbb). Ensure you have at least one Plex connection configured before using this tool.

API Integration

The screens use remote transforms to query datasource metadata via the Plex API:

  • Method: GET
  • Parameters: datasourceKey (numeric) or datasourceName (string)
  • Response: Array of datasource metadata records with inputs, outputs/columns

6. Implementation Approach

Prerequisites

  • Active Plex Manufacturing Cloud subscription with API access
  • Plex API connection configured in Fuuz (using the Plex connector)
  • App Admin or Developer access type to install packages and access orchestration tools

Installation Steps

  1. Navigate to the Fuuz Package Manager
  2. Upload the Plex Datasource Tools package (.fuuz file)
  3. Complete the installation process
  4. Verify screens are accessible at /system/orchestration/datasourceWhitelistings

Typical Workflow

  1. Navigate to Datasources Whitelisted: Access via the Orchestration module menu or direct URL
  2. Select Connection: Choose your Plex connection from the dropdown
  3. Search for Datasource: Enter a name filter (e.g., "Part_Get") or leave blank to browse all
  4. Click Search: Execute the query to display matching datasources
  5. Open Datasource Detail: Click the datasource key to view full details
  6. Review Inputs/Outputs: Examine the parameter requirements and output schema
  7. Copy To Node: Click the "Copy To Node" button to copy the node configuration
  8. Paste in Data Flow Designer: Open your data flow and paste (Ctrl+V) to add the node
  9. Configure Parameters: Replace null values in parameterTransform with actual values or context references
Tip: After pasting the node, you'll need to replace null values in the parameterTransform with actual parameter values. You may also need to set the connectionNameTransform if not using a default connection.

7. Extensibility

The Plex Datasource Tools package is designed as a developer utility that can be extended:

Potential Extensions

  • Datasource Favorites: Enable the Save action to whitelist frequently used datasources for quick access
  • Usage Tracking: Add logging to track which datasources are copied for usage analytics
  • Connection Preselection: Modify the table to remember the last used connection
  • Bulk Copy: Add functionality to copy multiple datasource nodes at once
  • Template Variations: Create different node templates (e.g., with error handling, logging, or retries pre-configured)
  • Documentation Export: Add action to export datasource documentation to markdown or PDF

Supporting Other Connectors

The same pattern could be applied to create similar discovery tools for other enterprise systems with discoverable APIs, such as SAP, Oracle, or custom REST endpoints. Clone the screens and modify the connection filter and API calls to support additional connectors.

8. Troubleshooting

Issue Possible Cause Resolution
No connections in dropdown No Plex connections configured Create a Plex API connection in Connection management
Search returns no results Name filter too specific Use broader search terms or leave name blank
API error on search Connection credentials invalid Verify Plex connection settings and test connectivity
Copy To Node doesn't work Browser clipboard permissions Allow clipboard access when prompted by browser
Pasted node shows errors Null parameters need replacement Replace null values with actual values or remove unused parameters
Form shows empty data Missing connectionId in URL Navigate from table (which includes connection) rather than direct URL

9. Resources

  • Fuuz Industrial Operations Platform — Main product site
  • Data Flow Designer Documentation — Creating and configuring data flows
  • Plex Datasource Node Reference — Detailed plexDatasourceV2 node documentation
  • Connection Management Guide — Configuring Plex API connections
  • Plex Manufacturing Cloud — Plex documentation and support

10. Revision History

Version Date Editor Description
1.0 2025-01-24 Fuuz Documentation Initial release documenting Plex Datasource Tools v2.0.0
    • Related Articles

    • Plex ODBC Master Data Flow Configuration V1.0.1

      Article Type: Concept / Integration Package Overview Audience: Solution Architects, Application Designers, Integration Specialists, Partners Module: Data Flows / iPaaS Connectors Applies to Versions: 2022.1+ 1. Overview The Plex ODBC Master Data Flow ...
    • Integrated Carrier Package

      Article Type: Concept Audience: Solution Architects, Application Designers, Developers, Partners Module: Logistics / Materials Management Applies to Versions: Fuuz Platform 2024.1+ 1. Overview The Integrated Carrier Package Ecosystem is a modular ...
    • Machine Monitoring V1.0.5

      Article Type: Concept / Application Overview Audience: Solution Architects, Application Designers, Partners, Operations Managers Module: Manufacturing / Production Management Applies to Versions: 2025.1.1+ 1. Overview The Machine Monitoring ...
    • Stock Price Application

      Stock Price Application Article Type: Feature / Configuration Audience: Solution Architects, Application Designers, Partners Module: Fuuz Platform / Bootcamp Sessions → Session 1 Stock Prices Applies to Versions: 2025.11+ Overview The Stock Price ...
    • Manufacturing Execution (Full MES) V2025.4.1

      Article Type: Concept Audience: Prospective Customers, Solution Architects, Enterprise Administrators, Partners Module: Manufacturing Execution System (MES Full) Applies to Versions: 2025.4.1+ 1. Overview The MES Full 2025.4.1 package is a ...