DBTreeTableView databroadcasting and add roots

If the DBTreeTableView Bean is bound to a foundset from a given table, and roots are added from that table using a related foundset, will new roots be automatically created via broadcasting if the related FS gets new records added?

Right now my experience is no.

can you paste here how do you create and init the dbtreetable ?

Simple binding per the docs with an n relation…

var pob = elements.stock_by_purchase_order_table_treeview.createBinding('db', 'purchase_order');
pob.setTextDataprovider('purchase_order_number_customer');
pob.setToolTipTextDataprovider('purchase_order_number_customer');
pob.setNRelationName('some_n_relation');

Roots added from table that has been bound to, using a related foundset in hopes of getting broadcasts

elements.stock_by_purchase_order_table_treeview.addRoots(company_customer_to_purchase_order_is_in_stock) // Rel returns records from purchase_order table

Am I doing something wrong? Will new root nodes be added as company_customer_to_purchase_order_is_in_stock gets new records added, or do I have to manually call addRoots to get new root nodes.

Note…not shown is the binding on the n table. I don’t think that is relevant?

please fill a case for this issue in our support system

OK Gabi. Thanks.

So is this a feature or a bug? Which should I file it under?

it is a bug, the new item should be visible

jbader:
OK Gabi. Thanks.

So is this a feature or a bug? Which should I file it under?

Please see: 337060

Note I marked this as a high priority, as I have this component in production thinking it works they way it should, but now realizing it does not. I’m sure others have made this mistake as well!

Thanks again.