I'm trying to create a template that opens a popup with a dynamic parameter set. The issue I've run into is that the system.perspective.openPopup function only accepts a dictionary to define the parameters, but I want to use an object in my template params called 'PopupParams'.
Essentially I need to convert 'PopupParams' to a dictionary, right now I accomplish that by encoding then decoding the object as a json string, removing the object wrapper.
Thanks, I think creating my own recursive deep copy function is the way to go, better visibility to other developers in my team. Unfortunately, we're unable to use community extensions as a restriction by our clients.