Skip to main content

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)

 

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


@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.


@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.


Reply