Skip to main content
Solved

Database value for Elements


Forum|alt.badge.img+3

Is it possible to change the database value from 0, 1, 2 etc to strings as shown below: I have tried it and i get an error at "Execute source code”

 

Best answer by Mark Jongeling

To confirm, was the Upgrade step selected as to be executed?

If not, this probably is due to Upgrading your end product database before this change but then not continuing working in a next version. This causes the Software Factory to skip the "Upgrade” step of the Execute source code process as the Upgrade already took place; the end product database has been upgraded to the project version which you are working in. After every Upgrade, make sure to work in a new/next version of your project.

Copy your current project version to a new version and continue working in the new version. In here, create a new domain (and elements) to migrate this "broken” domain. Hope this helps!

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

4 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi,

That should be no problem. Could it be that this domain was of a Numeric data type beforehand and later changed? It could be that you haven't done an upgrade of your end product yet, thus the domain is still a numeric on the database. 


Forum|alt.badge.img+3

That is the issue:

So i should make a new domain with the Nvarchar type and give the database values sting values from start?


Mark Jongeling
Administrator
Forum|alt.badge.img+23

To confirm, was the Upgrade step selected as to be executed?

If not, this probably is due to Upgrading your end product database before this change but then not continuing working in a next version. This causes the Software Factory to skip the "Upgrade” step of the Execute source code process as the Upgrade already took place; the end product database has been upgraded to the project version which you are working in. After every Upgrade, make sure to work in a new/next version of your project.

Copy your current project version to a new version and continue working in the new version. In here, create a new domain (and elements) to migrate this "broken” domain. Hope this helps!


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi, Any update on this?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings