OS metadata
Hi everyone,
I have a question related to the upload of a new dimension hierarchy through an XML file.
I currently have a file excel with the whole hierarchy for each dimension that I keep updating based on my client requests.
I noticed that when I upload the file, the system merges the current version of the hierarchy with the previous one. This does not work for me because I would need the old hierarchy to be replaced by the new one.
A possible solution could be to manually delete the hierarchy members before the upload of the new hierarchy, but this would delete the data that has been loaded already. I would need a solution to just overwrite the current relationships between the members of the hierarchy without deleting them.
Is there a way to do that?
Thanks in advance!
fc You can setup the xml's Relationships section to "Delete" a Relationship like this:
<relationships>
<relationship parent="{parent name}" child="{child name}" action="Delete" />
</relationships>
Note that deleting the Relationships may result in Orphaning a member, which in your case is what you want. A member that is Orphaned does not lose/delete its data, so as long as you upload your new file and re-create the new Relationships, your overall data will be unaffected.