If I want to establish a relationship between a specific data model (not the core or enterprise model) and assets like a "function location," Do I necessarily need to bring all the views from the core or enterprise models into your domain data model?
The goal is not to extend the core model but to create a reference from my domain data model to the asset, possibly using node_reference.
For instance, if I have an inventory and want to relate materials to a local storage (which is represented as an asset in the enterprise data model), could I define a property in my domain model that references the enterprise asset.
Example:
graphql
type StorageLocation {
location: String
plant: CogniteAsset # Reference to the asset in the enterprise model
}
In this case, I am just creating a link between my domain model and the asset without needing to extend the enterprise model or bring its full view into my domain model , works?
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support