8. [Builder] Ontology Data Pipelines15. Configuring Object Type Properties

15 - Configuring Object Type Properties

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

You may want your properties to 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.

🔨 Task Instructions

  1. At the end of the previous task, you were taken to your object type overview page. From the left-hand menu on the screen, click the Properties item. The UI now shows a table of properties on your object type with key metadata.

  2. From the table, click the Alert Display Name property. A property metadata editor appears to the right with 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. Set the following configuration options for these properties (click on a property from the table to open the editor):

    • Assignee: In the Display tab, switch the VALUE FORMATTING toggle to the “ON” position and 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 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 and CONDITIONAL FORMATTING section, click ➕ Add rule. Type Low in the blank field on the left. Then click the blue Update rule. 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 a PROPERTY VISIBILITY section at the bottom of the Display tab in 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.