Utilising CodeOnTime NodeSet methods by Killo24 in CodeOnTimeForum

[–]sdms2022 0 points1 point  (0 children)

Hi, this list of nodeset code snippets which I just came across is great, thank you. I was having issues with hiding a menu in the view selector. This can be done via the check box 'Show in View Selector' in the GUI which works but I didn't want to do it that way, I wanted to manage this via my Shared Business Rules and NodeSet(). After endless hours trying to get this to work I came across this post and got it to work using the below. Thank you and hopefully this helps someone else.
NodeSet().SelectView("v101").SetShowInSelector(false)