Forum Discussion
Import Dataflow from Json: Cross Tenant Refrence Error
- 2 years ago
For future users searching for an answer to this issue. In my instance the error came about by having to delete dataflows to remove old connections. When exporting and importing the dataflows back in they were required to be imported in order. But in doing this the dataflow "model id" was changed.
So to repoint the dataflow to the new linked dataflows you can update the exported json file text in two places. In the entities section for referenced entities update the "model id" value. Then in the referenceModel update the "id" value. Visual studio works really well in reading the JSON files.
To get these values simply create the referenced tables in a dummy dataflow and export the json and retreive the new values.
Hope this helps. It saved me multiple days of work.
For future users searching for an answer to this issue. In my instance the error came about by having to delete dataflows to remove old connections. When exporting and importing the dataflows back in they were required to be imported in order. But in doing this the dataflow "model id" was changed.
So to repoint the dataflow to the new linked dataflows you can update the exported json file text in two places. In the entities section for referenced entities update the "model id" value. Then in the referenceModel update the "id" value. Visual studio works really well in reading the JSON files.
To get these values simply create the referenced tables in a dummy dataflow and export the json and retreive the new values.
Hope this helps. It saved me multiple days of work.
Thanks very much dougie115 . This is what I was looking for 😀