2017-09-21 05:39 PM
VALUES 'trunktypeX' '0 none','1 coniferous','2 decidous','3 shrub'As you can see it says '2 decidous' rather than deciduous...This is corrected in the latest version of the object but I want to be able to add a line of code into my forward migration script to be able to basically change that variable definition to the new definition. I just don't know how to do it and I can't seem to find anything about it online. Changing the old object isn't an option due to it being used by other people and it would definitely cause problems. Thanks in advance for any help.
2017-09-22 09:12 AM
if trunktypeX = '2 decidous' then trunktypeX = '2 deciduous' endifin the Forward Migration script.
2017-09-22 10:10 AM
Erwin wrote:I have not tried this, I didn't know the best way to scripting it. I will let you know how it goes, thanks.
I would say it is a matter of puttingif trunktypeX = '2 decidous' then trunktypeX = '2 deciduous' endifin the Forward Migration script.
Or is this what you have tried?
2017-09-22 10:13 AM
JGoode wrote:It didn't seem to work sadly.
I will let you know how it goes, thanks.
2017-09-22 10:54 AM
2017-09-22 01:30 PM
Erwin wrote:Hi, I have another issue with forward migrating. Basically I have 2 versions of the same object, one of which is an upgrade from the previous object. However the issue is that on one object
Great
A = 0.95and
B = 2.2but on the new object those are the other way around so
A = 2.2 and B = 0.95I can't seem to work out how to basically make them switch over using the forward migration script. Thanks for any help.
2017-09-22 01:52 PM
2017-09-22 01:59 PM
Erwin wrote:I don't understand what you mean, would you be able to give an example please?
With forward migration script, put A in placeholderB and B in placeholderA, then turn B into placeholderB and A into placeholderA?
2017-09-22 02:14 PM