Replacing Edited Object backing dataset with RV

Hello! I have an object that was initially created using a pipeline. We have since moved to creating objects purely in Foundry using “Create Object XXX” actions. We now have a mixed object where about 100 were created by the original pipeline, and about 300 were created directly in Foundry. The 300 do not appear in the Object’s backing dataset.

I have created a restricted view “RV” of the original backing dataset. When I go to replace the current backing dataset, I must reselect the backing field for each property to align with new RV dataset. Schema names have changes from

datasetRid: ri.foundry.main.dataset.XXXXdatasetRid: ri.gps.main.dataset.XXXX

I’m looking to confirm that once I do this and re-index, I will not lose the 300 objects that have been created directly in Foundry?

1 Like

Hello,

Changing the backing dataset of an object type and preserving the edits is possible, in OMA after changing the datasource to the RV and ensuring the properties are all mapped correctly, you will be prompted to select a schema migration before saving.

You can choose to drop all edits or move edits to the new datasource.

See “Move edits” migration here for more details.

Thank you!

What about the objects that exist solely in Foundry? For example if my backing dataset has 100 objects in it, but I’ve used a “Create Object” action 300 times so that now I have 400 objects total - will these 300 objects be preserved?

The schema migrations would still apply, you can still choose to move those edits to the new datasource.

I think you are clarifying this because of the word “edit”. Created objects are still considered Ontology edits, any “Delete object” edits can also be moved.

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