Hello.
I notice that when you deploy a new item_type (file based copy), without deploying database, then dynamicweb has no idea that there is a new one, and thus will not create the appropriate tables for said item_type. Is there a better way to solve this than having to create the item_type on the destination server? I know there are deployment tools in DW that can solve this issue, but I was thinking in the case that one is using a file based deployment approach such as a part of a CD pipeline.
Developer forum
E-mail notifications
Deploying new item_types
Stephen Anthony Jackson
Posted on 16/08/2024 12:03:22
Replies
Nicolai Pedersen
Posted on 16/08/2024 12:50:06
Hi Stephen
In the item types list, there is a refresh button that will create the table when you deploy new item types. Also if the site is rebooting, it will be picked up.
On DW10 you can trigger a refresh using the management API by doing a post to /admin/api/ItemTypeListReload - you can use the CLI in your CI/CD setup to run commands against the management api.
Stephen Anthony Jackson
Posted on 20/08/2024 13:53:29
ahh thanks!
You must be logged in to post in the forum