Custom Widgets launching Object Views via URL

I have built a custom widget. I’m attempting to embed links into it, with the goal of allowing a link out to the object in reference. The problem is I cannot find documentation on the hubble link definition.

Current format when calling natively is: https://…../workspace/hubble/objects/{ontologyObjectRID}.{whatIsThisValue??}

Everything I’ve found says it’s the primary key of the object, but this is incorrect. In my testing, it is some identifier not visible to myself.

Thoughts?

Also, is there another way to approach this problem instead?

Hey,

This is the page + section you’re looking for in the docs: https://www.palantir.com/docs/foundry/object-views/generate-urls/#generate-object-links

To save you a click, 2 options:

Option 1:

/workspace/hubble/external/object/v0/<object-type-id>?<primary-key-property-id>=<primary-key-property-value>

Example for Option 1 (assuming you have an object type called Flight whose Object Type ID is flight and PK property ID is flightNumber:
/workspace/hubble/external/object/v0/flight?flightNumber=DL1234

Option 2:

/workspace/hubble/external/search/v2/?objectId=<objectRid>

Hope this helps!

1 Like