Skip to main content

Hi,

I was testing annotating P&ID documents towards nodes from a data model. It worked and the annotations are available through the API, but is not showing in the preview of the file. When the annotations are towards assets or files (from the asset-centric model) then it shows as expected, but when towards a node it isn’t. I am not sure if this is a bug or a future feature yet to be implemented.

To be clear, I am annotating a File (not a CogniteFile from core data model). And the annotation is created and connected to the file and points to specific instances in a data model, but I see no way to visualize this is in Fusion.

 

Regards,
Markus Pettersen
Aker BP - Data Delivery

Hi @Markus Pettersen, I’ll check on this and get back to you with an update.


Hi @Markus Pettersen ,

Thank you for your question! If I understand correctly, you're using the Annotations API to link annotations to nodes within a data model, and while the annotations are successfully created and accessible via the API, they aren't visible in the file preview within Fusion.

This behavior is expected due to the differences in how annotations are handled. The Annotations API is part of Cognite's classic services, which don't natively support data models. As a result, linking annotations directly to data model nodes won't display them in the file preview.

To visualize annotations in the context of a data model, you'll need to use CogniteAnnotations in conjunction with CogniteFiles, which are part of Cognite data model services. This combination allows for proper integration and visualization of annotations in Fusion in the context of data models.

So essentially, mixing the Annotations created from the Annotations API with nodes in a data model would be like combining two incompatible systems. 

Hope this answers your question

Best regards,
Elka

 


Thanks, that clears it up. That is as I suspected, good to have it confirmed. Now we can decide on how to proceed going forward.

 

Regards,
Markus


Reply