Join the conversations to shape a safer, more efficient, and sustainable industrial future!
Recently active
Hello team, We have tried to query Entity view which has a property properties of type view Property which is a reverse direct relation.We are using the query endpoint and the instances.query() sdk method to do so.We want the details of properties to come in the select object of Entity. Providing the query below:{ "with": { "0": { "limit": 50, "nodes": { "filter": { "and": [ { "matchAll": {} }, { "hasData": [ { "type": "view", "space": "slb-pdm-dm-governed", "externalId": "Entity", "version": "1_7" } ] }, { "or": [ { "equals": { "property": [
Can Unified namespace architecture be implemented in Cognite Data Fusion
Hi,I understand that we can define properties on edges, but it isn’t clear from the documentation how these properties are populated. I am trying to implement the following modelAnd defined the data model using DML as follows How can I add a UserActivity edge with properties start_time and stop_time, that I can read while listing all the activities that a User has performed?Thank you
Hi, I need to add the capability for read/write Timeseries Subscriptions. We are using CI/CD via the Cognite Toolkit. There is no documentation of the different capabilities for this, so I am unsure which Acl to use. I have tried “timeseriesSubscriptionsAcl” and it did not work. What is the correct Acl for Timeseries Subscriptions? Where can I find this documentation? If documentation for this does not exist, can it be created?
Hi Team,I wanted to know if it is possible to integrate Spotfire with Cognite Data Fusion.
Lets say I have a view called ViewA, which implements CogniteSchedulable.As we know, CogniteSchedulable has the following properties: Now, according to my requirement, I need to put a default value to the startTime and I also want to make endTime non-nullable. How do I override these settings? Since I am not managing the container definition for these containers, where do I make the changes?Any examples would be appreciated.
After updating the event(insight) it is getting updated in the cdf portal.Passing filter to “cdf_beta_api = "https://api.cognitedata.com/api/v1/projects/{CDF-PROJECT-NAME{/events/list"” when we try to list event based on filter all of the sudden, we are getting the older data in response.When it is called again we get the updated data in response python code snippet In line 34 we are getting updated role but in line 49 we are getting older role,when it is called again we get updated response
I was checking if i can use the query endpoint (https://api-docs.cognite.com/20230101/tag/Instances/operation/queryContent/) to query data in view using filters on a native timeseries property of that view. in both query explorer as well as data management i observed as such there was no filters supported for native timeseries type property hence wanted to confirm
Is it possible to trigger an email for a set of dynamically provided email IDs from a Cognite function? Since I don’t have a static list, I can’t integrate the Cognite function with the Extraction pipeline to use its notifications. I couldn’t find any documentation on this.If not, can we integrate a third-party library for sending emails inside a Cognite function?
Hi Hub, The recent weeks we have noticed an inconsistent authentication error with our deployed Cognite Functions. Seemingly, with no apparent reason, a function call fails with a https authentication error when trying to log into microsoft (see call log below). requests.exceptions.ConnectionError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /3b7e4170-8348-4aa4-bfae-06a3e1867469/oauth2/v2.0/token (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f8dee0070d0>: Failed to resolve 'login.microsoftonline.com' ([Errno -3] Temporary failure in name resolution)"))The error is attributed to our first client call in our code, for events in client.events()where we loop over chunks of events. Have anyone experienced something similar, and know the cause of the error? Thanks in advance.,Vetle.
Here are the features and functionalities that you can expect to find in Industrial Canvas as of June release:Work with several related data types:You can search and add the data you need in the canvas such as files, images, time series, assets, events. Use the button “Add data”. When adding P&IDs to the canvas, each highlighted area is clickable and can be used to add additional data to the canvas. Add personal files and images from your local machine by just using drag-and-drop. You can also add data to the canvas while being in Data Explorer, in Cognite Data Fusion by clicking on “Open in Industrial Canvas”.Add related data directly from the data already selected in the canvas User interactivity:Create/Rename/Delete a canvas. Free form experience, canvas-like experience. You have access to different shapes, text box, sticky notes and connected lines. Easily add insights on top of selected data.Collaborate with your peers:Share the canvas with your colleagues by either sharing t
first of all i created a new environment with below codes.python -m venv envenv\scripts\activatepip install poetry poetry config virtualenvs.in-project truepip install pandas numpypip install cognite-sdkpip install "cognite-sdk[pandas, geo]"pip install cognite-extractor-manageronce all above code completed. I started running cogex init.I am getting below error.cogex initEnter extractor name: csv extractorEnter description: descEnter author: --I provided the cognite login mail id in name <mail id>Which template should be loaded? simple: loads a generic template suitable for most source systems, using a simple function as the main entrypoint for the extractor. Most suitable for small and simple extractors. class: loads a generic template suitable for most source systems, using a run method on a class as the main entrypoint for the extractor. Most suitable for slightly bigger and more complicated extractors. rest: loads a template for extrac
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.
I am using CogniteSdk c# to query data model from CDF. When I tried to execute it, it did not return row items. Instead it just returned below result:What is the correct way to use the DataModel in C# CogniteSdk to return rows of data as per below?
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 .