This repository contains a working example of how to embed and use inmydata's Windows Forms analytics components in a Progress OpenEdge GUI for .NET application.
It demonstrates how to load dashboards, visualisations, AI chat, and insights using the AnalyticsControl component from inmydata.
To run this example, you'll need:
- Progress OpenEdge 12.2 or later
- GUI for .NET client support enabled
- Access to the
inmydata.WindowsForms.Library.dll - A valid inmydata tenant ID
- Optionally: Dashboard and Visualisation IDs (provided in
main.cls)
Refer to the inmydata documentation for setup and architecture details.
- Clone this repository into your OpenEdge workspace.
- Download and install the inmydata components
- Optionally, in Developer Studio add the Analytiocs Conttrol to the Toolbox
- Open any form with the OpenEdge Visual Designer
- Right click in the Toolbox and select Add Control Group, enter inmydata and press return
- Right click in the Toolbox and select Add Controls
- Select the Control Group inmydata
- TYpe Analytics in the Filter text box
- In the Global Assemblies tab, check the checkbox next to the control AnalyticsControl in the namespace inmydata.WindowsForms.Library and press OK
- Add required references to the to your project:
- Make sure assemblies.dll contains the following ...
- Compile all
.clsfiles in the OpenEdge editor. - Open and run the
main.clsform. - Enter your tenant and (optionally) dashboard or visualisation IDs, then click the respective buttons to launch different components.
| File | Description |
|---|---|
main.cls |
Launchpad form with buttons to open each component |
full.cls |
Opens the full analytics control view |
dashboard.cls |
Loads a dashboard with optional drilldown suppression |
visualisation.cls |
Displays a single visualisation with configurable toolbar/tool options |
insights.cls |
Loads a list of insights with click-to-view detail |
insightsViz.cls |
Displays a visualisation for a selected insight |
aiChat.cls |
Shows the AI assistant and supports interactive chart responses |
aiChatViz.cls |
Loads a visualisation suggested by AI Chat |
Each form uses the AnalyticsControl and sets:
Tenant– to scope dataContentType– one of:Full,Dashboard,Visualisation,AIChat, etc.- Optional IDs like
ID,InsightChartID, orAIChatChartID
All content is loaded dynamically when the form appears using:
analyticsControl:LoadView().
Forms like dashboard and visualisation include a menu strip for toggling settings at runtime (e.g. read-only, toolbar visibility, suppress drilldowns).
📌 For more help see https://developer.inmydata.com
📝 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
🙋 Need Help?
If you're new to inmydata's components, check out the Developer Portal or raise a support request via your inmydata tenant.