Home Forums General XMetaL Discussion Automatically Update Macros for Writers Reply To: Automatically Update Macros for Writers

Derek Read

Reply to: Automatically Update Macros for Writers

If you are only making changes to macros you might also use the API Application.RefreshMacros() to reload MCR files. There is a similar ActiveDocument.RefreshCssStyle() API for CSS files. These may let you to bypass the need to restart the software in these specific cases.

Neither of these help with distribution, they merely reload the files after they have been modified by some other process (such as the one gcrews has suggested).

If you are using a CMS system check with the creator of the XMetaL-CMS integration (adapter) to see if it allows you to store and manage your document-level XMetaL customizations from within the CMS system. ┬áTypically what happens in this case is that the XMetaL customization files are stored somewhere in the CMS and associated with a particular DTD. The DTD and those associated files (CSS, CTM, MCR, etc) are then pushed out to XMetaL together with the XML document. Documentum is one example (they refer to this set of files as a “DocApp”, and similar functionality can be used to push files out to MS Word or other applications that integrate with Documentum).

Reply

Products
Downloads
Support