Reply to: User-defined macros in XMetaL AuthorSeptember 22, 2009 at 5:45 pm
If the file that is storing macros recorded by your users is the MCR file associated with the DTD or XSD (sitting in the same shared folder as the DTD or XSD) then your users will be overwriting other users macros (which is what I assume you are talking about). This means the users are selecting one of the two items containing the phrase “(All Users)” in the “Create this macro for” dropdown.
Instead, have them pick one of the items containing their windows login name. This will write their script into the corresponding MCR file on their local machine and it will only be available to them:
This is still sort of a legacy feature (partially), from the time when XMetaL Author was just called “XMetaL” and everyone was both an author and developer. This is why, even though you are “just a user”, you have to understand who the macro you are recording is for.
Given enough demand I could see us removing the options to record macros for “All Users”, or to provide a way for developers (such as yourself) to turn off those items.
If you are worried that your users may still write to your MCR files you can try to make them read-only at the system level on your server where the shared folder resides. In this case the user should be given an error, which may prompt them to remember to select one of the other items.