Foundry - workshop question

Palantir foundry workshop - I have a numeric property called “score” on my object type. It has values 1, 2, 3. and I want to display “Critical” only when the score equals exactly 3 otherwise I have to display as 1 or 2. How can I do this in workshop object table?

How can I do this in object view?

Thank you,

Hi @Alearner Do you only have cases where your number is exactly 1,2 or 3 or could it also be a range like 2.8-3.0 or that your number is 2.9999999999999999?

If it is first, on numerical numbers you can apply a “fixed value” value formatting. I always struggled with this, since it requires the value to be really exactly the number you have configured. Ranges are not possible, but in your case it sounds like it could work.

https://www.palantir.com/docs/foundry/object-link-types/value-formatting/

(Documentation seems to be outdated: Did not find fixed values being mentioned, but it exists)

2 Likes

Hi @Alearner , one way this could be made possible is directly handle the display formatting in the Ontology Manager for a particular object type→property
Attached below is the ss for the same

I think at the end the combination is nice.

  • Use value formatting to make the 3 appear as critical
  • Use conditional formatting to make 3 (that shows as critical) appear colored
1 Like