I am trying to create a card via script in a tree view widget with
Code: Select all
create card tCardName
However, I came to the conclusion that it does not take into account groups with BackgroundBehavior set to true while if I create a card manually via the menu the new card shows the background groups as expected.
I tried
Code: Select all
place bg "TreeAndNavigation" onto cd tCardName
same goes for
Code: Select all
place background group "TreeAndNavigation" onto card tCardName
widget"Tree View": execution error at line 33 (Chunk: source is not a container), char 1
Important fact: The code is in the tree view widget which is also part of this background group.
Does this prevent the group from being placed upon the new card? Are there any workarounds?
Regards,
Paul