File Structure for the Cloud
The Metric File
The metric file contains the following attributes.
| Attribute Name | Default | Attribute Details and Examples |
|---|---|---|
| uri | Unique id for the metric data for the item from an external source. | |
| timestamp | Current time | Last modified date and time for the metric value in the source system. Time format must be based on the UNIX epoch/UNIX time as “number of seconds” that have elapsed since January 1, 1970 (example value: 1674852908). If no value is provided, the system uses the current time at the time of data ingestion. |
| enterpriseItemNumber | Enterprise Item Number (EIN) of the physical product or Manufacturing Item in 3DEXPERIENCE. To set EIN for an item: For physical products, use Engineering Release or CATIA desktop app and for Manufacturing items, use DELMIA Apps. If an EIN value is assigned for a metric in the input file, it is strictly matched and if no match is found, it is not ingested. | |
| itemTitle | Title of the item (physical product or Manufacturing Item) in 3DEXPERIENCE | |
| itemType | Type of the item in 3DEXPERIENCE: Supported types are (including sub types): VPMReference, RFLVPMLogicalReference, DELFmiFunctionReference, DELLmiPPROperationReference, DELLmiPPRSystemReference, MfgProductionPlanning | |
| itemName | Name of the item in 3DEXPEREINCE. Name is optional, if a valid EIN is provided | |
| itemRevision | Revision of the item in 3DEXPEREINCE. | |
| metricType | Type of the metric (Cost, Weight..) matching the “schema name” and not the display name. | |
| metricKind | Estimated | Metric Kind for the input value, including Estimated,
Should Cost or Computed, Declared or Firm,
Measured or Actual, and Target. |
| metricValue | Value of metric data [Cost or Weight or Sustainability] from an external source | |
| metricUnit | Unit for the metric value, such as EUR, USD, Kg, Kg CO2. | |
| metricDescription | A brief comment about the metric value | |
| metricConfidence | 50% | Confidence (in %) for the metric value |
| metricTolerance | 10% | Tolerance (in %) for the metric value |
| metricObjMinValue | Minimum value for "Target" metric. This minumum value must be less than the metricValue. | |
| metricObjMaxValue | Maximum value for "Target" metric. This maximum value must be greater than the metricValue. | |
| metricContextURI | The context URI(s) from the context input data file. This context URI
associates the metric to one or more contexts, such as "Project" or "Product
Configuration", that are defined in the context file. When populating this field
with multiple values in the Metrics file, separate the values with | (example:
700000|7000011). Note that the context type "Project" is supported only for the
metrics of type "Non-Recurring cost". The plant name corresponds to the
contextName that appears in the context file. The supported context types are:
Note:
The Project attribute is optional but is required when ingesting
configured project data, browsing node data, or data that includes
nonrecurring costs.
|
- Attributes listed in bold are mandatory.
- * The itemName attribute is optional if there is a valid Enterprise Item Number (EIN).
An example metrics file:
| timestamp | itemTitle | itemType | itemName | itemRevision | metricType | metricKind | metricValue | metricUnit | metricObjMinValue | metricObjMaxValue | metricContextURI |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1674852908 | CAR-DX01 | VPMReference | prd-DEVOPSGTH6EHQ28212345-00000080 | A | Cost | Target | 10000 | EUR | 8000 | 12000 | 7000001 |
| 1674852908 | CAR-DX01 | VPMReference | prd-DEVOPSGTH6EHQ28212345-00000080 | A | Cost | Target | 20000 | EUR | 19000 | 23000 | 7000003 |
| 1674852908 | CAR-DX01 | VPMReference | prd-DEVOPSGTH6EHQ28212345-00000080 | A | NonRecurringCost | Target | 1000 | EUR | 800 | 1200 | 7000001|7000011 |
The Context File
The following table describes the required columns, attributes, and format required to prepare the context input CSV file. If the metrics file contains configured data, browsing node data, or nonrecurring cost data, the context file is required. If the metrics file contains nonrecurring costs, the context file also requires project data.
| Attribute Name | Default | Attribute Details and Examples |
|---|---|---|
| uri | The unique id for the context data. This ID is cross-referenced as a context in the metric input file. | |
| timestamp | Current time | The last modified date and time for the context definition in the source system. Time format must be based on the UNIX epoch / UNIX time as “number of seconds” that have elapsed since January 1, 1970 (example value: 1674852908). If no value is provided, the current time at the time of data ingestion is used. |
| contextTitle | The title of the assigned manufacturing plant. This field is relevant only if the data that you are importing applies to a manufacturing product structure. | |
| contextType | The manufacturing plant time (such as "Plant"). This field is relevant only if the data that you are importing applies to a manufacturing product structure. | |
| contextName | The plant name. This field is relevant only if the data that you are importing applies to a manufacturing product structure. | |
| contextTitle | The title for the context item in the 3DEXPERIENCE platform. | |
| contextType | The type of the context object in the
3DEXPERIENCE platform. The following context types are supported:
Note:
The Project context is supported only for the "Non-Recurring Cost"
metrics.
|
|
| contextName | The name of the context object in the 3DEXPERIENCE platform. | |
| contextRevision* | The revision of the context object in
3DEXPERIENCE platform. Note:
The revision is not required for the Project context.
|
- Attributes listed in bold are mandatory.
- * The contextRevision attribute is not required for the Browsing Structure and Project context.
The following example context file corresponds to the example metric file. Compare the
metricContextURI column in the metrics file to the uri
column in the context file.
| uri | timestamp | contextTitle | contextType | contextName | contextRevision |
|---|---|---|---|---|---|
| 7000001 | 1707960341 | Standard | Product Configuration | PC-DEVOPSGTHUIKA81953-00000001 | A A |
| 7000003 | Sport | Product Configuration | PC-DEVOPSGTHUIKA81953-00000003 | A A | |
| 7000011 | CAR-MS-PRJ01 | Enterprise Project | CAR-MS-PRJ01 |