Join the conversations to shape a safer, more efficient, and sustainable industrial future!
Recently active
Hi,The user is listed as UNKNOWN when the annotation is done manually from “Data explorer”. This is problematic as we need to be able to track who made the changes.Here is an annotation I added manually:And this is what I see from the API. I am able to identify the creating_app which is data explorer, but I need to know the user as well or at least some way to track which credentials made the change. UNKNOWN is not good enough.I’ve also notices that for our automated annotations this field does not work as expected. These are all made by the same user/credentials, but for some reason the are all different and it looks like the “creating_user” field is mapped to the “job_id” you get when sending a request to the API rather than the user that made the request. I don’t know about others, but we at least need to be able to track which users/credentials created the annotations, which batch job uploaded the annotation is not relevant to us at all.job.7445037198441218job.5162020989972303job.5
I created a small configuration using “cdf modules init for the cdf_process_industry_extension_full” data model and tried to deploy. No changes to the configuration at this point have been made. I do intend to extend the data model.Deploying results with the following error:Deploying 1 spaces to CDF...Deploying 36 containers to CDF...Deploying 36 views to CDF...WARNING [LOW]: Resource(s) already exist(s), skipping creation. ← Note they shouldn’t aready exist???Deploying 1 data models to CDF... ERROR (ResourceCreationError): Failed to create resource(s). Error: One or more views do not exist: 'Gemini_sp_enterprise_process_industry_full:WorleySB360ImageAnnotation/v1','Gemini_sp_enterprise_process_industry_full:WorleySBAnnotation/v1', ← All three related to Annotation??'Gemini_sp_enterprise_process_industry_full:WorleySBDiagramAnnotation/v1'. | code: 400 | X-Request-ID: 536ccf9d-05cb-932c-b032-2fc57fd77a4f | cluster: az-eastus-1The API Failed to process some items.Successful (2xx):
I'm trying to run the Cognite DB Extractor via CMD window (as administrator, as local user...) but I get always this error (see log):requests.exceptions.SSLError: HTTPSConnectionPool(host='datamosaix-prod.us.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))[1288] Failed to execute script '__main__' due to unhandled exception!I think this is because a proxy server is being used to access the internet from this VM. However, I'm using the same VM as the PI extractor and that is running fine (I had to do some settings in the PiExtractor.exe.config file in the bin folder of PI extractor as documented)I have set the following windows environment variables (This worked on the OPC UA extractor VM):HTTP_PROXYHTTPS_PROXYALL_PROXYI have installed root CA certificate of Proxy (ZSCALER) for local user account, for comp
Hello Developer Community,The Contextualization team at Cognite released an experimental interactive engineering diagram flow on fusion.cognite.com . The old interactive engineering diagram flow still exists in fusion.cognite.com, however, it will be replaced with the new flow come August 1st. Thus, we highly encourage you to try out the new flow titled Explore and create interactive engineering diagrams. This new flow includes a plethora of new functionality and updates such as: Overview of all interactive diagrams in fusion.cognite.com Easy test setup for relevant file and asset links Handling 1000 engineering diagrams in one go New P&ID preview component Reducing and cleaning up technical debtAgain, we are still at the experimental stage, so any feedback we receive is beneficial to future iterations and to truly polish the interactive engineering diagrams flow. Please provide any feedback to the Contextualization Cognite hub group found here .
HiI am developing a data model that will contain a single view with many properties (approx. 150). The number of properties will probably also increase over time. To model this, I have tried splitting the data in two containers and mapping the properties in the view to both containers. However, now that I am testing it I am experiencing performance issues. I have now tested the model with 3 million instances and all queries time out.I am therefore wondering if there are any recommended/tested approaches for dealing with wide tables in data modeling that will make it more efficient.The data model mostly contains normal properties (string, float, int) and 4 direct relation properties. I have created three indexes on one of the containers on properties that I need to filter on in queries.In addition, the view implements the CogniteDescribable and CogniteSourceable concepts from the core model.Thank you!
We are working on making our contextualization efforts more efficient. One of our key initiatives is to extract all tags from P&IDs to build a clean dataset that we can then match against asset hierarchies, helping us identify gaps on both sides. Additionally, we aim to minimize the need to revisit P&IDs whenever new patterns emerge that don’t align with the current contextualization process.For our initial approach, we tested extracting all tags from P&IDs to create a comprehensive list. We are aware that Cognite provides an API feature to extract tags based on predefined entity patterns. However, we are looking for a solution that allows us to extract all tags—without requiring predefined patterns.We have tested multimodal LLMs for this purpose, and they have shown promising results. Our questions are:Does Cognite offer any built-in functionality that supports extracting all tags from P&IDs without predefined patterns? If not, is there a cost-efficient approach to ach
The question came up around succession planning.So, if we have a user that has created a lot of Charts or Canvas’s what happens to those when that user is longer a part of the Cognite project/our company? The answer that we got from our Cognite project team is that these are orphaned. Do we have a way to re-assign them to another user? I am just looking to see if we have a better way to handle this process so that we don’t lose any of the work that has been put into the Canvas or the Charts.
I want to upload instances using CDF Toolkit. For example, data model I can get dump yaml from existing data model using toolkit like following:cdf dump datamodelI want to get the dump yaml of instances from my existing space and data model which I can use it to later deploy using toolkit to different space or env. I checked the doc here: https://docs.cognite.com/cdf/deploy/cdf_toolkit/references/resource_library#nodesBut creating yaml file manually would be too hard. I have also tried to get dump yaml using python sdk but that dump yaml looks incomplete to be used for deployment.
I figured out how to add a slider to my Chart, but how do I move or delete it?
In order to identify a 3D model and revision both a model ID and revision ID are needed (e.g. for display in Reveal). Looking at the Core Data Model, I can see the revision ID is available in CogniteCADRevision, but I don’t see where the model ID is present (was expecting it in CogniteCADModel).
Pygen v1 is now released and ready for use. This means there will be no more breaking changes of pygen, and it can be used in production.
When we create a custom model which implements a few core concepts and features from CDM such as CogniteDescribable & CogniteAsset, the GraphQL shows these errors - "Unknown type "CogniteAsset"", "Unknown type "Cognite3DObject"". The Query Explorer also shows the errors as below:These errors were not at all expected since we are not even using “3DObject and other things”. To resolve this, we were suggested a workaround to add every core concepts and features in CDM as views into our data model.It did resolve the above errors, but results in all the CDM views being added to my model, majority of which I am not using.Two things about this:1) Does not feel correct to add all the CDM views into my model to remove these errors, we should only need to add the views that we are going to implement.2) I don't want to see all these additional views that are not being used even. Any suggestions? Anyone?
We wanted to use view filter to implement a new view in a datamodel with a subset of data. we wanted to filter on a property with external id “WELL” we tried this in a few models, and we get only 70 instances, but when we try to query instances with same filter in transformations sql query, graphql query or rest api endpoint for filtering instances we get 71.even in data modeling ui, when same filter is applied on original model, it shows 71 instances but one fo them shows up as empty UPDATE:the one that was missing in data model UI is because that well instance doesn’t exist in that space (only 70 wella in that right space). but when we query the same data model instances from rest api , it gives that well from different space as well (71 wells). it gives well instance along with WELL type from other space which actually does not exist
I am trying to deploy a function to CDF using the deploy-functions-oidc repo in Github. It works perfectly fine for other functions, but for functions using the “requests” library i get the following error during pre-commit: “Library stubs not installed for requests. Hint: “python3 -m pip install types-requests”. I have included both requests and types-requests in the requirement.txt file. Anyone experienced the same issue?
I want to use node JS express as my back server to get data from cognite refer to theirhttps://developer.cognite.com/sdks/js/for the backend:import { ConfidentialClientApplication } from "@azure/msal-node";import { CogniteClient } from "@cognite/sdk";async function quickstart() { const pca = new ConfidentialClientApplication({ auth: { clientId: 'YOUR CLIENT ID', clientSecret: 'YOUR CLIENT SECRET', authority: 'INSERT AUTHORITY HERE' } }); async function getToken() { var response = await pca.acquireTokenByClientCredential({ scopes: ['INSERT SCOPE HERE'], skipCache: true, }); return response.accessToken; } const client = new CogniteClient({ appId: 'Cognite SDK samples', baseUrl: 'YOUR BASE URL', project: 'YOUR CDF PROJECT NAME', getToken: getToken }); const assets = await client.assets.list(); console.log(assets);}quickstart();What is the authority and how can I find my authority?
Lets say I have 3 views called myAssetType & myAssetLocation & myAssetProduct. All the 3 views implement CogniteDescribable from CDM.The view myAssetProduct also has an additional property called asset. Next, we ingest data into all the 3 views as shown below.View - myAssetTypeexternalId name descriptionMotorId Motor A motorView - myAssetLocationexternalId name descriptionLocationId OfficeA Location of the officeView - myAssetProductexternalId name description assetProductId Water Water from motor MotorOnce the data is ingested as above, we should ideally only see specific data in these views, but the data shown in these views are as follows:View - myAssetTypeexternalId name descriptionMotorId Motor A motorLocationId OfficeA Location of the officeProductId Water Water from motorView - myAssetLocationexternalId name descriptionMotorId Motor A motorLocationId OfficeA
Hi, I was wondering if it is possible to update an outdated old 3d model with 360 laser scan images. The original model from when plant was build was corrupted and now we have only parts. I think this would help maintenance enormously, the images are now in faro sphere, which is not the easiest to navigate around
Hello:Is it possible to use the CDF API with RapidAPI or Thunder Client? If so, could you please give me an example?
I am trying to setup an asset hierarchy using the Core Data Model as shown in the example:https://docs.cognite.com/cdf/dm/dm_guides/dm_cdm_build_asset_hierarchy/But I am getting some strange errors when I try to implement it. A normal container and view without a refernce to core data model works fines, but when trying to add cdm it fails. I am using the toolkit to deploy the data model.In the “Data management” tab I get this error:{ "title": "", "message": "Cannot read properties of undefined (reading 'listPump')", "errors": []}In the “Query explorer” I get these errors:{ "errors": [ { "message": "The field type 'Cognite3DObject' is not present when resolving type 'Pump' [@-1:-1]", "locations": [], "extensions": { "classification": "ValidationError" } }, { "message": "The field type 'CogniteSourceSystem' is not present when resolving type 'Pump' [@-1:-1]", "locations": [], "extensions": { "classification": "ValidationError"
I am using the Hosted Kafka Extractor and need to subscribe to multiple topics with specific filters. To do this, I plan to create multiple jobs under one connection. I have a few questions:What is the maximum number of jobs that can be created in a single connection? How many hosted extractors can be created in a Cognite project? Does the Hosted Kafka Extractor support wildcard characters for topic subscriptions?I checked the Hosted Extractors and Kafka Extractor documentation, but I couldn't find clear limits on job or extractor counts. Also, the Kafka Extractor job seems to subscribe to a single topic at a time, so I'm unsure if wildcards are supported.Could someone clarify these limits and wildcard support?
need to reset my MFA as my old phone is damaged
When I bring my chart into the canvas, the calculated values are not showing. I’m likely just missing a setting, but cannot figure it out. Hope someone can help me. Thanks.
Hi guys! We are developing a Power BI dashboard that relies on time series and sequences fetched from CDF using the Cognite Extractor. We have set up a deployment pipeline for our dashboards (Dev, Test, and Prod), where each environment in the PBI pipeline corresponds to data sources in the respective CDF tenant. I.e., our Dev dashboard reads data from our dev tenant in CDF, and so on. We get this to work by configuring a Parameter in Power BI desktop with values that match our CDF tenants.Then we refer to these parameters when we define the data sources. Here is an example of how we use push-down filtering via OData queries from the Advanced Editor in Power Query:Source = Cognite.Contents(cdf_env & "/Timeseries/?$filter=ExternalId eq 'our_special_external_id'", null),The variable “cdf_env” evaluates by default to Dev, and we have configured the deployment pipeline such that this parameter updates automatically when we deploy from Dev to Test, and from Test to Prod. But here is the
Hello,I’m having trouble sharing a Jupyter notebook on Cognite. I used the right-click option to copy the shareable link, but when I or others click on the link, we encounter a 404 error like the following: Has anyone else experienced this issue? Also, they can’t find the notebook going to the folder, only myself can see it.Thanks!
I am seeing how to create Templates used to query data, but I have not yet found information related to defining GraphQL mutations. Do you know where I can find this information? Thanks! Here are some places I’ve been looking.Docs:Templates | Cognite DocumentationAbout template management | Cognite DocumentationSearch results for "templates" | Cognite DocumentationThe tests in the Python SDK:https://github.com/cognitedata/cognite-sdk-python/blob/master/tests/tests_integration/test_api/test_templates.py There is some info related to GraphQL mutations and Cognite here, but this doesn’t seem related to Cognite’s Template functionality:https://itg.cognite.ai/docs/tutorials/data-ingestion/ingesting-datahttps://github.com/cognitedata/sample-cdf-graphql-angular-app/blob/9641e4967e0a288241ef68b3e94786b56de456c2/src/app/itg-api.service.ts#L125