Skip to main content
Answer

Where is this file visible on Cognite?

  • April 14, 2025
  • 3 replies
  • 46 views

Forum|alt.badge.img

I’m using the Cognite SDK to create files on CDF but I’m not able to find this file under the dataset on data Explorer UI. Where will this files be stored and how can I make sure that they are visible?
 

        fileMetadata = FileMetadataWrite(
name=fileName,
external_id=fileName,
overwrite=True,
data_set_id=dataSetId,
mime_type="application/json",
)
new_file = client.files.create(fileMetadata)

 

Best answer by Jason Dressel

@Leandro Santos I think this is and Cognite SDK question, not Cognite Toolkit question. 😉.  
If the above completes with success, you should see the file in the dataset (catalog) view or via Data Explorer Files.

Additionally, you can use the SDK to read the file to verify it’s existence.

3 replies

Aditya Kotiyal
MVP
Forum|alt.badge.img+5

@Akash Sood , ​@Prashant Chauhan , ​@HanishSharma  Can you help Leandro on this?


Forum|alt.badge.img
  • Seasoned Practitioner
  • Answer
  • April 15, 2025

@Leandro Santos I think this is and Cognite SDK question, not Cognite Toolkit question. 😉.  
If the above completes with success, you should see the file in the dataset (catalog) view or via Data Explorer Files.

Additionally, you can use the SDK to read the file to verify it’s existence.


Forum|alt.badge.img

@Jason Dressel ,

Yes, I can update, create and read the file via SDK, but I couldn't see it under data explorer for the dataset I assigned on the create call.
After your confirmation that should be visible under data explorer, I have looked into all files for any dataset on the project and found it.
Thanks.