When opening a view through python there is a target attribute that can be set to specify how the view should be opened. Is there a way to get this value once the view has been opened?
I would like to set a field as invisible unless the view is in the popup mode / target: new. Is there a way to do this?