I am trying to add a child node into a Tree-Collection ‘items’ using a create-node in a workflow or by calling the items:create method of the API. Unfortunately, setting the ‘ParendId’ is not sufficient as the internal table ‘main_items_map’ gets not updated. The Tree-Table block is therefore not showing the correct structure.
In UI this operation gets performed by the ‘add Child’ action without any problem.
Am I overlooking something how to add child nodes in a tree-collection by workflow or API?
I did not reproduce your problem.
Please reproduce this problem in the demo environment.
https://a_8hwne7u84ho.v13.demo.nocobase.com/admin/
(NocoBase default username and password)
You are right. I was able to produce the right behaviour on your demo environment (see Table, Workflow and View named TreeTableTest). The only difference I see is that your demo is on v2 while my system is runing on 1.9.30 yet. Let me do the same test setup on my system to check if that is depending on the version.
I’m experiencing the same issue in v1.9.47: newly created field collections do not appear in the UI. When I try to recreate them, I get an error
2026-05-10 13:38:37 [error] Field name "Fecha1_TM_Esquema" already exists in collection "ordenDeProduccion" extra={"method":"error-handler","err":"FieldNameExistsError: Field name \"Fecha1_TM_Esquema\" already exists in collection \"ordenDeProduccion\"\n at _AsyncEmitter.<anonymous> (/home/automatizacion/nocobasetmb/node_modules/@nocobase/plugin-data-source-main/dist/server/server.js:216:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async _AsyncEmitter.emitAsync (/home/automatizacion/nocobasetmb/node_modules/
This is hoy I see collection in UI, and fields are’nt showing