Currently, the pilot-ontology-api (as of 0.83.0) doesn’t have an implementation wrapper for pilot to use in ontology.ts to define many-to-many link actions (adding links or removing links), which means you can’t implement these types of actions in Pilot-made apps (as it will not be able to generate a valid .osdk). I’d love to use Pilot for a use case I have but won’t be able to until these are added. The work-around is to have AI-FDE take over the build (or do it myself!), but I’d rather keep development in Pilot if possible.
Circling back here. There are two solutions to this in the short term:
For incumbent apps / ontologies which can’t be changed, migrate over to using AI FDE instead of Pilot. AI FDE itself can probably help with the necessary steps.
For new ontologies where you have control over the structure, using object-backed links for all many-to-many joins allows you to continue to use Pilot, as link editing becomes object creation/deletion when using that paradigm (which Pilot can handle fine)