Programmatically get the user's 'Your Files' folder in Palantir Foundry

269 views Asked by At

I need to programmatically retrieve the current user's "Your Files" folder address or resource id in Palantir Foundry. Is it feasible?

Any help would be appreciated. Thanks!

2

There are 2 answers

0
Pieris Christofi On

the rid of any resource can be seen in the url itself. If you navigate to your home folders the URL looks like this:

https://< domain >/workspace/compass/view/< rid >

0
ZettaP On

You could use Service APIs in Slate, as stated in the docs, as they might give you some flexibility, but this won't be available out of the box.