Clearing an object set

Is there an easy way to clear all the objects from an object set in ontology manager?

1 Like

Hi! There are a couple of ways to do this:

  • the backing dataset becomes empty
  • you create an action that deletes objects and apply it across the whole object set (the action can be triggered in Object Explorer)

@schennam When you say ‘Object Set’, do you really mean a ‘set’ of objects, as described here: https://www.palantir.com/docs/foundry/api/ontologies-v2-resources/ontology-object-sets/ontology-object-set-basics which is mostly temporary, and can be easily redefined (like the result of a saved search)?

Or do mean all the objects that are the same ‘Object Type’? In which case what @mai125 says is the right solution.

^ this was my approach

I made an action type “delete award(s)”

  • i went to form
  • i clicked “allow multiple values”
    than while in object explorer you can check lots of boxes at a time

Create a delete action and select the “Allow multiple values” on the action form property.

then go to object explorer and select all items click the delete action

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