I have a DataObjectDecorator for the File class that needs to add and remove a few fields from the file popup. While updateCMSFields() is called, I seem to be unable to modify the fields in the popup. I have the DataObjectManager module installed (and uploadify, but that's not affecting this), and the file popup is clearly a DataObjectManager_Popup (DOM_P) object.
How can I add/remove fields from a DOM_P? A method for updateCMSFields() to detect whether it's deling with a DOM_P GUI would be handy too.
Hans