2. Developing Your Ontology4. Configuring Your Object Type

4 - Configuring Object Type Properties

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

For now, let’s assume you and your team have expertly scoped your backing dataset—it contains only the columns and schema needed for the properties you want to display. There is therefore no additional column-to-property “mapping” to be done here, but you may still want to have your properties behave in specific ways when they appear in Ontology aware applications. This task will walk you through the process of adding metadata and custom formatting to your object type properties.

🔨 Configure properties of your new object type

  1. At the end of the previous task, you were taken to your object type overview page. In the center area of the screen, click the Edit link at the top of the PROPERTIES block. The UI now shows your backing dataset on the left and the mapped object type properties on the right. Across the bottom, you'll see a preview of your backing dataset.

  2. Open the property metadata window by clicking into the Alert Display Name property in the object type mapping on the right. The property metadata editor has several configuration options, many of which are discoverable by hovering your cursor over the available tooltips. Let’s explore a few of them here and use the documentation (linked below) for a more thorough investigation of the available options.

  3. In the mapped object type properties pane on the right, set the following configuration options for these properties (click on a property to edit it):

    • Assignee:
      • In the Display tab, switch the VALUE FORMATTING toggle to the “ON” position.
        • Ensure Multipass Username is selected, signaling to the Ontology that this property contains actual Foundry platform usernames and should format them accordingly.
    • Comment:
      • In the Interaction tab, in the RENDER HINTS section, untick the Selectable and Sortable options and tick the Long text option. More on Render Hints below, but in short, this step results in better formatting and performance for the Comment property.
    • Priority:
      • In the Display tab, in the CONDITIONAL FORMATTING section, click ➕ Add rule . Type Low in the blank field at the bottom of the left side of the window, then click the blue Update rule button. Add similar rules for Medium and High, adjusting the coloring accordingly (e.g., High → 🔴).
    • Status: Consider setting a similar conditional formatting for the Status property, accounting for values of Pending Triage, Assigned, and Resolved statuses.
  4. Each property has, in the Display tab, a VISIBILITY section at the bottom of the config panel. Set the following properties one-by-one to Prominent. This will enable you to quickly surface them in Ontology aware applications:

    • Alert Display Name
    • Assignee
    • Comment
    • Flight Display Name
    • Priority
    • Status

As you can see, the property editor has many tuning options, many of which are discoverable by hovering your cursor over the available tooltips. Take the time to review the following Ontology product documentation pages.