Home › Forums › DITA and XMetaL Discussion › On_Document_Open_View not fired for DITA maps? › Reply To: On_Document_Open_View not fired for DITA maps?
Reply to: On_Document_Open_View not fired for DITA maps?
December 9, 2008 at 9:54 pmAs Derek mentions, the problem here really is that the map editor is kind of a closed system embedded within XMetaL, and so doesn't trigger any of the ordinary XMetaL events.
A workaround: If you don't mind opening maps initially in “XML view”, all the usual events will fire normally.
Even there, though, On_Document_Open_View, doesn't seem to fire for maps. I'll ask about that.
Meanwhile, there are two other (undocumented) event macros that may be useful:
On_Application_Document_Open_View
On_Application_Document_Open_Complete
Both of these events fire in the XML view both for maps and topics.