Updating relationship by importing csv

Started by Stanley, August 30, 2018, 19:04:49 PM

Previous topic - Next topic

Stanley

Hi

On exporting relations.csv we have the following situation:

ID;Type;Name;Documentation;Source;Target
X;      Y;        ;                      ;        Z;      W

By reusing the same relationship ID we want to change the target therefore we import the following line

ID;Type;Name;Documentation;Source;Target
X;      Y;        ;                      ;        Z;      U

However, the relationship is not updated, therefore is it stil Z Y W and not Z Y U as required.

Is it possible to update the target on a existing relationship?

Thank you very much in advance!

Jean-Baptiste Sarrodie

Hi,

No you can't do it. CSV import only updates name, description and properties, not type of relationship nor source/target.

Depending on your use case, maybe there are some other ways to do it (through a script for example).

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

bdendulk

Hi,

When I import an edited csv export, deleted properties are not deleted in the original archi repository. Is this as to be expected?

Kind regards, Bart

Jean-Baptiste Sarrodie

Hi,

Yes, this is by design. CSV is not meant as a was to fully sync models but a way to import concepts.

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.