i created a simple mrr file with ProjectWise Menu Editor as you can see in the following image.
What i don't know is simply how to get it work in ProjectWise Explorer Client? I copied the mrr file into the x86 and x64 bin folders of ProjectWise but no luck. Because the function i like to use are standard ProjectWise document functions do i need to specify a dll or something else?
Thanks for you help!
Take a look at the documentation for details on how to use .mrr files. What exactly are you trying to accomplish? Perhaps calling a standard PW menu item but using a custom menu item? But what would be the point of doing that?
Dan WilliamsSolution ConsultantBentley Systems, IncorporatedPortland, OR, USA (Pacific Time UTC-08:00)
The Point of doing that is the fact that the menu is a little bit to long and our users want a menu with only 3 or 4 required functions as an alternative menu.
So i created a menu with the editor and i want to use the APPROVE and REVISE menu entries of the workflowrulesengine.dll.
Do you have any hints about configurate the menu item?
Oh, now I get it. You just want to have those menu items on your own Pulldown menu.
I'm not familiar with an SDK for the Workflow engine (I'm not aware of one if there is one). I suspect that the WRE functions might not be implemented with .mrr files, so you might have to look at using the menu API calls in the ProjectWise SDK. They take a bit more work to implement than the .mrr file method, but you have more control over them, but again, without an API for the Workflow functions, any exported functions in those DLLs that you decide to use, aren't likely to be supported.
Perhaps another Bentley Colleague can advise?
Ok, so what if i want to have standard ProjectWise functions like the IDMD_CREATE_RENDITIONS function. Do i have to create my own dll to use the functions? I created a menu like the following but it does not work. Which dll i have to use? I found the functions in the SDK help but not how to use them in the menu editor.
I'll try to post some instructions in the coming week, but first, why do you want to call a standard menu item, especially by using the MRR editor? Why not just use the menu item already provided?
Are you trying to modify the behavior of that menu item (what it does), or perhaps trying to qualify what the user provides as input? If so, perhaps some "words get in the way" issues, i.e. you can call the menu item, but it really isn't a "function" in the sense that you can provide the parameters for its behavior. Menu items work on context, i.e. what is displayed in ProjectWise Explorer's "panes" (navigation, contents, etc.).
What are you trying to accomplish?
Well because of the standard menus which are provided are a little bit overburden if you only need four functions for your daily work. So our employees requested a little custom menu with the four functions needed.
Have you considered creating a custom tool bar? Quite easy to do and you can put menu commands on it.
And users can tweak them to their needs without any programming.
That might be a way i already thought about. But how can i publish a custom toolbar to our employees ProjectWise Explorer Clients?
A toolbar is a registry entry, so you can create the toolbar then export to a .reg file and get the users to import.The standard location is HKCU so they won't need admin privileges to import.
Location: HKEY_CURRENT_USER\Software\Bentley\ProjectWise Explorer\10.00\Settings.en\Find your toolbar (look at the MFCToolbar-XXXXX and look for your toolbars name)
You need to export the BasePane, MFCToolbar and Pane entries. I would suggest exporting then placing into one registry file for your users to run
Answer Verified By: Christian Jührendt
Thanks for the hint