Join the discussions about products powered by Cognite Data Fusion. Click the + CREATE TOPIC button in the menu bar to start the conversation.
Recently active
I have changed phones and am not able to setup Microsoft authenticator on the new one.Please reset the MFA Access so that I can set up the authenticator again.
Just wondering how I can access the File Annotations using the SQL statement (transformation) alike the Cognite Python SDK method: client.annotations.list(annotation_filter, limit=-1).
When we deploy Data Model using GraphQL then we can put some comments like documentation giving relevant info. This is helpful for people who look into Data Model’s graphql in web application. However, when we deploy using toolkit via yaml files the generated Data Model’s GraphQL do not have comments. Though we can add comment by editing in UI but that has to be done manually. Is there any way to have documentation in generated Data Model’s GraphQL when we deploy yaml files using toolkit?
I was fetching data using token.I am encountering a CogniteProjectAccessError while fetching data:"You don't have access to the requested CDF project='**' | Code: 401 | X-Request-ID: 6530e2ad-ff30-9d91-af29-218a4c3c0e62 | Cluster: **"
I usesthe scripts below with replacing the my_sdk with my generated sdk, which was generated by Pygen, and show me this error “ my client object has no attribute 'config' ”. My scipts are my_sdk.config import global_config; global_config.validate_retrieve = Falseand my_sdk.config.global_config.validate_retrieve = FalseAny guidance?
I am trying to deploy data model using CDF toolkit in my azure devops pipeline. So I checked the following page: https://docs.cognite.com/cdf/deploy/cdf_toolkit/guides/cicd/ado_setup However, I see this message in top which says that its still in alpha stage. We need this deployment to be done in our prod environments so what is current recommended approach. Also let me know when this feature is expected to be available.
I was trying to use cognite hosted extractor api for creating kafka connection using scram512 authentication type, but it seems to be failing to connect with below error Could not connect to broker(s): Kafka error, Could not connect to broker: Connection error: all retries failed: Retry exceeded deadline. Source: Sasl handshake failed: API error: UnsupportedSaslMechanism
Hello Team,I looking for supported list of data type which we can insert in raw table.
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