How do I switch the backing dataset for a pipeline-builder-created object?

I have an object backed by a pipeline. I now need to swap out the backing dataset for this object to another dataset with the same schema - how can I do this?

Hi, if you want to replace the data in the backing datasource, you can bring in the new dataset you want to use as an input dataset into your Builder pipeline and directly connect it to the object target that is being outputted by the pipeline. On your next deploy, this will overwrite all the data in the backing datasource with the data in your new dataset.

If you want to completely replace your backing datasource (i.e., not just overwrite the data but actually update the Foundry dataset that it points to), you’ll have to go into Ontology Manager App and switch the backing datasource for the object type in there. Click on your object type → “Datasources” in the side panel → click the “Replace” button under “Backing datasource” and choose the dataset you want to use. Note that in this case, however, redeploying your pipeline without deleting the object target will cause the datasource to get overwritten.