Developer forum

Forum » Swift » Invalid object name - custom item type

Invalid object name - custom item type

Caro De Weze
Reply

Hi,

When I create my own custom item type and change the restrictions, I get the error 'Invalid object name' in the visual editor:

I definitely saw that the name and systemName do not yet appear and there's nothing wrong with the object name (ItemType_Test_ProductUnits) either:
The xml is named ItemType_Test_ProductUnits.xml and the other file Test_ProductUnits.cshtml.
In DW9, this was sufficient, but now that is working in DW10, I thus get this error. Is there a setting I am forgetting?

Kind regards,
Caro De Weze


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Caro

It seems like the database was not updated with the table needed for the item type.

You can use the refresh command from item settings to force a DB update:

It can be a missing DB permission for the DB user. You can see if there are any errors in the monitoring dashboard.

Votes for this answer: 1

 

You must be logged in to post in the forum