Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Import Dataflow from Json: Cross Tenant Refrence Error

Hi  New here ğŸ˜Š... I had deleted a few workspaces recently which contained some dataflows and reports(for testing purposes). My Admin then restored the workpaces, after which I got all the workspac...
  • dougie115's avatar
    dougie115
    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.