The list_data_sources tool lists the Datamarts and Data Sources that you can query on your Pricefx partition. For each one, the tool returns its technical name, label, description, and type. Use the technical name with the Datamart Query Data or Get Data Source Fields tool.
The list_data_sources tool has been deprecated in MCP Server CD6 Iteration 6.
Tool Name – list_data_sources
Title – List Data Sources
Type – Private
Access Profile – Operator
Permissions
The list_data_sources tool uses your Pricefx permissions. The tool returns only the Datamarts and Data Sources that you have permission to query. If the tool cannot check your permissions, it returns an error instead of a list. The tool is available to the Operator access profile, so every user on a private connection can use it.
Parameters
|
Parameter |
Required |
Description |
|---|---|---|
|
|
No |
Text that the technical name or the label contains, for example sales. The search is not case-sensitive. The default is no filter, which lists every Datamart and Data Source you can query. |
Output
|
Field |
Description |
|---|---|
|
|
Technical name of the Datamart or Data Source, for example Standard_Sales_Data. Use this name with the other Datamart and Data Source tools. |
|
|
Display name. If no label is set, the tool shows the technical name instead. |
|
|
Business description of what the Datamart or Data Source contains. Empty when no description is set. |
|
|
DATAMART or DATASOURCE. |
Behavior and Limitations
-
The tool returns Datamarts first, then Data Sources.
-
The tool returns all matching Datamarts and Data Sources in one response. It has no paging and no row limit.
-
If nothing matches the filter, the tool returns an empty list, not an error.
-
The tool returns only the name, label, description, and type. To see the fields of a Datamart or Data Source, use the Get Data Source Fields tool.
-
The tool requires Pricefx version 16.3.16 or later. On older versions, the tool is not available.
Errors
The tool returns an error when it cannot get the list of Datamarts and Data Sources that you can query from Pricefx. The tool does not return a partial or unchecked list.