I wonder if there is a possibility to write a Python/Syntax script that would automatically creating my own menu instead of using the menu editor.
I'll be grateful for any help.
Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
SystemAdmin 110000D4XK1106 Posts
Re: Adding menu position from script2011-05-04T14:52:48ZThis is the accepted answer. This is the accepted answer.You can, of course, create your own dialogs and add them to the menu system using the Custom Dialog Builder. If you have built a custom dialog, you can add it to the menu tree just be copying the component files to a certain location. That is normally under ext\lib under your Statistics installation, but users can set an environment variable to point elsewhere.
The Menu Editor does not have apis that expose its functionality, but it is all done (on Windows) by creating Registry entries. Create an item manually and look in the Registry to see what these look like.
for example, for V19 entries.
You can then use scripting code to manipulate the Registry. But be careful, as always, since messing with the Registry can mess up your system.