I think your first example, the Adobe example looks alright.Adobe made the right choice to use @ScriptVariable ValueMap properties, because if you look at the logic to set startLevel, showHidden... it requires some logic. The logic as you can see, it will try to find and set the component's configur...