Forum Replies Created
ApoY2k March 14, 2014 at 3:14 pm
Reply To: ActiveDocument.doctype returns empty stringMarch 14, 2014 at 3:14 pmParticipants 0Replies 1Last Activity 8 years, 10 months ago
I had a talk with the customer and he said the authors will only use the normal view anyway, so my “problem” is not applicable.
Thanks for the clarification 🙂ApoY2k March 13, 2014 at 7:56 am
Reply To: ActiveDocument.doctype returns empty stringMarch 13, 2014 at 7:56 amParticipants 0Replies 1Last Activity 8 years, 10 months ago
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.