Reply to: ActiveDocument.doctype returns empty stringMarch 13, 2014 at 7:56 am
I use it in a On_Document_Save Macro. I also used in another project in a On_Document_Activate, where it worked fine…
What else could cause the publicId to be empty?
I just had some tries that made things even worse: I now have two scripts, one on document save and one on document deactivate. Now, when I view the file in XML/Text mode, save it, the publicId is empty, as well as when I close the document out of XML/Text view.
But, when I edit the file in Normal view or in Tag view, both scripts (save and deactivate) return the publicId just fine. It's only if I edit it in Text view that the public Id returns empty.