How do we code Ontology edits?

I’m trying to make a function I can call from AIP logic, to create an attachment that stores information from two properties from an object input. I want to use this attachment in the PDF viewer in workshop

I am unsure how to “use” a specific object that I’ve made in ontology manager in code. I created a code repository but its not able to import my Object.

I tried to create an ontology SDK but I’m really not trying to create a whole application, just a single function logic I can use to display something in workshop.

Any help? Pretty lost

It might be worth checking out the getting started documentation for typescript or python ontology functions. Also check out the getting started documentation for writing functions on objects.

With these you should be able to create an attachment as follows:

  1. You should be able to create an ontology edit function that takes a single object as an input and attaches the attachemnt to the object.
  2. You can then create a function backed action that is backed by this ontology edit function.
  3. You can call this action in your logic.
2 Likes

Thank you so much! Very helpful

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.