CDF Fundamentals Discussion



Show first post

114 replies

  1. Go to https://fusion.cognite.com.
  2. Enter cognite-learn as a domain name.
    after enter domain name the error -An error occurred when looking up the details for this organization
Userlevel 3
Badge +6

Hi @Sanyogita Wable! I just checked and it works for me. Maybe you @Dilini Fernando can take a look as well?

Userlevel 1
Badge

Hi @Sanyogita Wable ,

I've also tested this, and it appears to be functioning correctly.

Could you please retry in an incognito window to ensure that any potential browser cache-related issues are ruled out?

Regards,

Kanchana

Badge

I’ve uploaded assets.csv into a dataset and trying to run the SQL script to create the assets but am getting the error Request with id 87b97f14-7c9b-94b9-9e1f-129e2ed18250 to https://api.cognitedata.com/api/v1/projects/cdf-fundamentals/assets failed with status 400: Reference to unknown parent with externalId Salma:23-PT-92535.

The query runs fine in Preview mode but fails to run. Funny thing is it processes a different amount of rows each time it runs.

Here’s the query I’m using:

SELECT
  concat('Salma:',loc) as externalId,
  IF(parent_loc='' OR parent_loc IS NULL, '', concat('Salma:',parent_loc)) AS parentExternalId,
  CAST(lastUpdatedTime AS STRING) AS name,
  to_metadata(*) AS metadata,
  description AS description,
  6295592107437051 AS dataSetId
FROM `Salma`.assets

Any ideas what’s going wrong?

Userlevel 3
Badge +6

Hi @Salma Ghafoor 

It seems to be due to the configuration of the transformation. The Target resource type needs to be “Asset Hierarchy” instead of “Assets”. The Assets target resource type does not recognize the parent external id attribute. 
You can change it from the transformations UI by clicking on the dropdown next to “Create or Update Assets”

See the pictures below. 

 

 

Badge

Thanks Sofie! That did the trick

Badge

Hi, 

I am going through the Working With CDF: Integrate module, and have transformed the data and it looks like the 36 assets have been created based on this output: 

 

But I cannot see the assets in the Data Catalogue: 

 

Do you know what’s wrong?

Badge

Actually, I found the mistake from a previous post. 

The transformation was wrong in the first place - dataSetId was supposed to be the actual number ID that was recorded down earlier :D

Userlevel 3
Badge +6

I’m glad you found out @Hannah Håland! Let us know if there is anything else we can help you with!

Badge

Hi, 

I am going through the module Working With CDF: Contextualize, and I have loaded the P&ID. Now I am trying to link it to my Aveva assets. But I cannot find my dataset in the Data set drop down menu.

 

I have checked in the Data Catalog and the data set does exist in CDF. 

 

How do I fix this?

Badge

Hei, 

Yet again, I fix my own problem!

I close the browser and re-sign in and my dataset magically appears :)

Userlevel 4

Thank you for sharing your solutions with the community, @Hannah Håland. This is incredibly valuable for other learners of Cognite Academy. Good luck with gaining your CDF Fundamentals certificate!

Badge

Hi!

I am in Fundamental course and I am working on the exercise “Working With CDF: Contextualize”. The challenge I face is in the part “Contextualize P&IDs”. 

 

My dataset with my assets does not show up in the drop-down - what could be the mistake I have made? (I have done my best to follow the training material)

 

Best regards,

Bjarte

 

 

Userlevel 3
Badge +6

Hi @Bjarte Håtveit 

I experienced the same myself this morning and I will have to talk to the engineering team about it. 

 

 

Reply