I have multiple applications built from the ProjectWise SDK.
We now want to take a step back and try to better manage our menu options in ProjectWise that activates our utilities.
This has been controlled with a single .MRR file.
However it has become a little tedious as of late because each time we update and Application we must also update the .MRR file.
We would prefer each application have its own .MRR file, and when ProjectWise reads the .MRR file, it adds the menu pick to an existing drop down menu.
In my attachment you can see I have two "TEST" Drop down menus. Is there a way I can get the options to flow into just a single "TEST" menu?
I don't think you can accomplish what you want with using just .mrr files. You might be able to modify a pull down menu created by an .mrr file with some of the API menu functions, but you probably would be better off creating all of your menus via the API menu functions.
Perhaps you can have one customization that doesn't do anything other than create the top pull down menu, then each application adds to it as needed? I haven't tried that so I don't know if that approach would work or not.
Again, I haven't tried this, but what happens if two of your "applications" with two different .mrr files, use the same "Unique Item Identifier" for the top pull down menu? If I get a chance, I'll try that experiment.
Since you are using your own pull down menu, are all of your "applications" not getting any context of selected folder, document, etc. when called?
If not, then perhaps your top pull down menu just opens a dialog with some means of calling each of your applications? Or the top pull down menu adds to itself before it is displayed to the user based upon some logic implemented by you? Perhaps reading some configuration information from delivered files on each machine with each application, or perhaps some way of querying a custom database table to determine what to show in a custom menu?
Dan WilliamsSolution ConsultantBentley Systems, IncorporatedPortland, OR, USA (Pacific Time UTC-08:00)