8. [Repositories] Ontology Data Pipelines26. Enabling Writeback On Links

26 - Enabling Writeback on Links

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

📖 Task Introduction

Your application builder colleagues may want to construct interfaces that enable end users to create or delete links between object types. When you have a many-to-many relation defined between object types, you’ll need to configure a writeback dataset for the backing join table.

In this task you’ll create a writeback dataset for the join table backing the many-to-many relationship between passengers and flight alerts.

🔨 Task Instructions

  1. Open your passenger object type in OMA.
  2. With the Overview menu item selected on the left, scroll down to the Link Types block.
  3. Click the flight alert node in the link graph and choose the flight alert item under LINK TYPES as shown in the image below.

  1. Click on Datasources from the left-hand menu and then on the green ⊕ Generate button in the Edits block.
  2. Save the writeback dataset in the same location as your backing dataset.
  3. Toggle on the option to "Only allow edits via actions."
  4. Save the Ontology by clicking the green Save button in the top right of the application.