Can't make variable be string and nullable
Posted: Wed Mar 14, 2018 2:39 pm
Hello, everyone.
I need your help or advice.
During design template, I have created a variable called Fullname. I made it String and Nullable Value. Clicked OK.
But when I opened variable properties again, I would see that it became Value again.
In code I get only StiSystemString in systemType attribute of the StiVariable-class object. And returns
But if i creat variable of type Integer, it easily become Nullable Value. And in code i have StiTypeNullable in systemType attribute of the StiVariable-class object. And returns
So, is it possible somehow to make string variable be nullable? Or someway to check this property in code?
Thanks!
I need your help or advice.
During design template, I have created a variable called Fullname. I made it String and Nullable Value. Clicked OK.
But when I opened variable properties again, I would see that it became Value again.
In code I get only StiSystemString in systemType attribute of the StiVariable-class object. And
Code: Select all
stiVariable.getSystemType().isNullable()
Code: Select all
FALSE
Code: Select all
stiVariable.getSystemType().isNullable()
Code: Select all
TRUE
Thanks!