Skip to main content


 

Symptoms


Dear Expert,

I am getting invalid column name for one of my SmartObject.

Before it was working fine, I make the changes in the column name, before column name was in arabic I change the column name in english.

I did this changes in following step:

1) I change the column name by editing Smartobject from designer
2) Once it is not updated in database, I change the column name directly in SQL database.

After change I restart the K2 services but when I am executing any method on this Smartobject I am getting invalid column name error.

I am using a view of this smartobject on my form, and on form also I am getting the same invalid column name error.

Please find the screenshot of the error in attachment.

Please help us to resolve this issue.

 

Diagnoses


Revert to the original settings and values. Redeploy if you have a package
 

Resolution

Resolution:
"

Changing a smart object column name is not recommended at all in k2 because as you said it will affect all the objects depending on it.

do you have a copy of the smart object in a deployment package? if so try to redeploy it
Try also changing the column name to the original name and make sure it is reflected in the SQL database, then retest again
"




 
Be the first to reply!

Reply