SwapAliasWithPrincipalName
Posted: Mon Aug 01, 2016 10:32 pm
Have run into a brick wall with this:
I have a dimension that has two elements that I want to swap the data between. Thought maybe using SwapAliasWithPrincipalName would do the trick and it does...until the server is restarted and the dimension elements appear to return to their original, un-swapped state. Before swap:
ElemX $1000
ElemY $1100
After using SwapAliasWithPrincipalName twice (change each to some intermediary name and then to their final designation) I have:
ElemY $1000
ElemX $1100
When the server restarts, it goes back to the original, pre-swap display. Have tried a number of things, including doing the swap, creating a copy of the dimension with a TI, using the copy to update the original dimension, or trying to substitute the dimension copy when server is down then restarting the server. In both these cases I wind up with:
ElemX $1000 and ElemY has lost its data.
Has anyone had to do anything like this and done it successfully? It appears this cannot be done without using a TI or TI's to move the data around.
I have a dimension that has two elements that I want to swap the data between. Thought maybe using SwapAliasWithPrincipalName would do the trick and it does...until the server is restarted and the dimension elements appear to return to their original, un-swapped state. Before swap:
ElemX $1000
ElemY $1100
After using SwapAliasWithPrincipalName twice (change each to some intermediary name and then to their final designation) I have:
ElemY $1000
ElemX $1100
When the server restarts, it goes back to the original, pre-swap display. Have tried a number of things, including doing the swap, creating a copy of the dimension with a TI, using the copy to update the original dimension, or trying to substitute the dimension copy when server is down then restarting the server. In both these cases I wind up with:
ElemX $1000 and ElemY has lost its data.
Has anyone had to do anything like this and done it successfully? It appears this cannot be done without using a TI or TI's to move the data around.