palantir-foundryfoundry-workshop

How can I create unique property apart from primary key in ontology


Is there any way to create a unique property apart from the primary key in ontology object or Is there any way to check for duplication of data in particular field throught workshop?


Solution

  • You can set a property to any value when you're creating an object. Property values come from two places:

    1. Backing dataset pipeline - You can change the logic creating the backing dataset to create values that would be unique. Easiest way is to use a window and apply the row_number function. You can find an example here
    2. Object creation action -