I store programmatically-created non-dataset files (.docx, .pptx, .xslx) in a Foundry dataset. I want a user to be able to download these files from object explorer and/or workshop, so I want to make an object property that contains the URL or RID for the .docx type files.
AIP Assist suggests one of two URL formats, either:
(1) https://example.palantirfoundry.com/foundry-data-sets/api/datasets/ri.foundry.main.dataset.12345678-1234-1234-1234-123456789012/files/document.docx
OR
(2) https://<FOUNDRY_URL>/io/s3/ri.foundry.main.dataset./<file_path>/<file_name>
However, format (1) gives me a File Not Found error when used in the browser while format (2) gives me a Header Missing error. When either is a property in the ontology, they just render as a non-clickable string in object explorer, even if I try using a value format of RID Resource.
I’ve also tried just using the rid/filename.docx as an object property, and also tried to specify its property value format as RID resource, but it still renders as a string. (This strategy works with a notepad RID, but doesn’t work when I need to do RID/filename.docx).