Optional Secondary Menu

Great. I got it to conditionally display using this method.

The next thing I am trying to do is dynamically set the root node for the menu, but this doesn’t appear to be possible in the design area according to this post: Dynamic root node value in menu normal design area

How have you configured the root node?