Developer forum

Forum » Templates » Best practice when copying items from one solution to another?.

Best practice when copying items from one solution to another?.

Mikkel Toustrup Olsen
Reply

Hello,

I have been working on a local website for quite some time. It has now been moved to a staging server where our further development will take place.

However, after the copy was made and pushed to the staging server I made some new item types locally. Though I've copied the XML file for the given item type - it gives me an sql error(the attached image) when trying to create an item of this on the staging server.

I could create the item type again though, however if there is a way of doing this properly I would highly appreciate an/or the solution to do so.

/MikkelTO

 

Capture.JPG

Replies

 
Mikkel Ricky
Reply
This post has been marked as an answer

After copying the XML file, you should go to Management Center > Item types and click Refresh. This will make sure that all tables are created in the database.

Best regards,
Mikkel 

Votes for this answer: 1
 
Mikkel Toustrup Olsen
Reply

Look, that made it run smoothly. :-)

Thanks Mikkel.

 

You must be logged in to post in the forum