In menusuite user can create hyperlink, and send form to menusuite as links. But creating links in MenuSuite designer is impossible. Fortunatelly editing hyperlinks works, so you can export MenuSuite to text file, add hyperlink here, and import it back to Navision. Then you edit change hyperlink in MenuSuite designer. When form is opened from this menu item, it fires OnHyperlink trigger, so you can modify hyperlink, and decide what to do in this trigger (for example apply filters, init variables…) The only problem is that import treats // as comment and imports next line as next part of Hyperlink, so before import you must change // to something else (for example / /), and after impord edit menusuite in designer and change it back to // And here is my example of MenuSuite (with “navision://client” changed to “navision:/ /client”): OBJECT MenuSuite 80 Partner { OBJECT-PROPERTIES { Date=05-10-11; Time=14:25:43; Modified=Yes; Version List=; } PROPERTIES { } MENUNODES { { ;[{DF601C8A-07F7-4841-8929-9F2065BCB302}] ;NextNodeID=[{3AB30C12-4A41-4E75-B517-C5C7AA83C60D}] } { MenuShortcut ;[{3AB30C12-4A41-4E75-B517-C5C7AA83C60D}] ;Name=Link Test; CaptionML=PLK=Link Test; MemberOfMenu=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}]; ParentNodeID=[{F8D2429D-034B-4C58-9B5E-81BE962DB1BC}]; ShortcutURL=navision:/ /client/run?target=Form%2016%26MYVARIABLE=123; Visible=Yes } } } It will open form 16 and fire OnHyperlink trigger with URL = navision://client/run?target=Form%2016%26MYVARIABLE=123
I have just tried followed your example to open a form with some filters.
I shoul have to menu items in the MenuSuite for the same form(in my case customercard).
The one menu item should open customercard with active customers and the other with passive.
I have added the urls to the MenuSuite obj. tet file
ShortcutURL=navision://client/run?target=Form%2021%26activ=true;
ShortcutURL=navision://client/run?target=Form%2021%26activ=false;
“activ” is a global variable I have added to the form. It is boolean and I use it in OnHyperlink trigger.
OnHyperlink trigger looks like this:
SETRANGE(Passiv, activ);
Imported file back to navision, compiled object. I didn’t have problem with / /, so I used just // as you can see.
By the way if / / is used in url, how do I change it back to // in navision?
When the MenuSuite is opend in design mode, we cannot se code.