I'm trying to track down where a dialog comes from, and why some users see and others do not.
The trigger for it calling is the EA Project API call
myProject.ExportPackageXMIEx(p.guid, 0, 1, 1, 0, 0, folderString, 0)
which I think is saying:
- GUID of the package i want to export
- XMI type = 0 , which means "xmiEADefault"
- DiagramXML = 1 which is 'export diagrams'
- Diagram Image =1 which is BMP format
- FormatXML = 0 not formatting of the XML
- UseDTD = 0 don't format
- (file name string)
- Flags - none (0)
When the API is called, all users see a dialog pop-up which is where EA is exporting the XMI, which appears and then goes away automatically (@Sparx - strange to get a user-visible popup from an API call - bug?) , but some users then also see a second dialog, which in English has the title 'Convert file', and lists a set of file formats, including RTF, HTML-Document, PDF, WordPerfect 5.x, WordPerfect 6.x and a few more. The appearance of 'WordPerfect' as an option dates it a bit!
It's this second dialog I can't seem to find anywhere in the UI - maybe it's not even accessible via the UI at all? It's a problem, because this requires the user to click to continue the process, which is a real pain for them.
...but I can't reproduce the behaviour, and it's restricted to a few users in a single installation.
I suspect there is a setting somewhere in the user options/settings which causes EA to pop this dialog up, but I've looked though all the ones I can find, and nothing seems to affect how XMIs are exported.
Has anyone seen it before? Either in the UI, or from an API call?
I'm using V16, but the user is using V15, if that's relevant, but Sparx are generally very good at keeping these setting consistent across releases, so I'd be very surprised if it is release-dependent.