CE Update 13: Remove workflow from ribbon before import

During the porting from V8i to CE, we intent to use a specific custom workflow that will take the place of the goold old menu.

This workflow is created and loaded dynamically (it will even change when the user changes DGN).

In order to do so, we build an XML file and import it from within an MDL application.

There are 2 problems:

1)

An eventual existing workflow with the same name is not overwritten but some sort of duplication is created. We could call ribbon customizations revertall first, but that deletes all customizations and we don't want that. We just want to delete the workflow with that specific name (without the user being asked anything).

2)

The key-in ribbon customizations importecxml opens a dialog asking the user to enter the filename. If I pass the filename within the command, it just asks me if I want to import the xml into Personal.dgnlib and it doesn't add the workflow to the ribbon. We want to import an XML without the user being asked anything.

Any suggestions?

Thanks,

Robert Kock

Parents Reply Children
No Data