For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cross solution datasource access

Jigx solutions are self-contained by default, but there are scenarios where one solution needs to read data from, or trigger actions in, another installed solution. Cross-package support makes this possible without duplicating data or creating custom sync pipelines. See Cross-solution datasource access to learn more about the configuration options.

Examples and code snippets

Cross solution datasource and action access
Cross solution datasource and action access

This example demonstrates how to configure and use cross-solution datasource and action access between two solutions: Assignments and Human-Resources.

The Assignments solution contains a projects table as part of its datasource configuration, while the Human-Resources solution contains an employees table.

Within the Assignments solution, a manager datasource is configured using the package and entity properties to access employee data (name and id) from the Human-Resources solution. This datasource is used to populate a Project Manager dropdown list. A second datasource, project-details, retrieves project data from the local Assignments solution to populate a Project dropdown.

The jig (assign-project-manager.jigx) includes two dropdown fields:

  • A Project dropdown populated from the projects table.

  • A Project Manager dropdown populated from the HR solution’s employees table.

Once selections are made, two actions are triggered:

  1. A local execute-entities action in the Assignments solution updates the selected project table with the project manager’s name.

  2. A cross-solution action calls the global execute-actions action from the Human-Resources solution to update the assigned_to column in the employees table with the project name.

This example demonstrates how solutions can securely share both data and actions across packages. More complex scenarios can be configured where local and cross-package data can be combined within the same SQL query using operations such as JOIN or UNION ALL.

Assignments Solution

Human-Resources Solution

Last updated

Was this helpful?