MenuSuite Analyser (Navision)
Freeware, by Christophe Watrelot (
cwatrelot@gesway.com), April 2006
Sure you've spent some time looking "Where is this $%#&£!!! function!"
1) ObjectDesigner, MenuSuite, select all MenuSuite objects then Export as txt.
2) Run form 89040 "Menu nodes", Functions, Import MenuSuite
You can choose a language with "Language Filter" flowfilter.
So, Don't worry, be happy!
http://www.mibuso.com/dlinfo.asp?FileID=585
Discuss this download here.
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Report 89040
In function 'GetMenuNode(VAR pObject : Record Object)' add the following line ****
WHILE GetToken('') <> '}' DO BEGIN
Expected(';');
CASE GetToken('') OF
'Name' :
Name := GetProperty();
'CaptionML' :
GetCaptionML(NodeID);
'MemberOfMenu' :
GetNodeProperty(MemberOfMenu);
'RunObjectType' :
CASE GetProperty() OF
'Form' : RunObjectType := RunObjectType::Form;
'Report' : RunObjectType := RunObjectType::Report;
'Dataport' : RunObjectType := RunObjectType::Dataport;
'Codeunit' : RunObjectType := RunObjectType::Codeunit;
*** 'Table' : RunObjectType := RunObjectType::Table; ***
----
Then it will work, if the menuegroup uses a table. Without that line there was an unespected error.
Hope that helps.
The error message:
; was expected line ; position 4.
Error is in:
Expected(pToken : Text[30])
IF Token <> pToken THEN
ERROR(tExpected,pToken,LineNo,LinePos - STRLEN(Token));
Something is wrong with customer menu suite part of the menu.
how to fix it, can please anybody help?
Cheers,
vjac
Freeware, by Christophe Watrelot (cwatrelot@gesway.com), April 2006
Sure you've spent some time looking "Where is this $%#&£!!! function!"
1) ObjectDesigner, MenuSuite, select all MenuSuite objects then Export as txt.
2) Run form 89040 "Menu nodes", Functions, Import MenuSuite
You can choose a language with "Language Filter" flowfilter.
So, Don't worry, be happy!
Version 1.01:
2008-10-13 Update by Davor Perkovac (davor.perkovac@gmail.com)
Changes:
-fix for importing menusuites containing table objects
-for for importing menusuites with no version tag
http://www.mibuso.com/dlinfo.asp?FileID=585
Discuss this download here.
I increased the length of field name in Menu Nodes to 50, otherwise the import would stop.
Question:
Do you think it would be possible to export a menu (as text) based on the data which is in the tables? The problem I see with the menus is that they store every single change in them, although this would not be necessary.
Example:
When you delete an entry which is part of Menu 10 this is stored in Menu 90 and this information is necessary to correctly display the menu.
When you first create a new entry in Menu 90 then delete that entry in error and last restore the same entry all 3 transactions (create, delete, create) are stored in Menu 90 and this information is simply redundant. In this case it would be enough to store only the last transaction in Menu 90.
At a customer we once had a problem with lost items in the Sales & Marketing Menu and in the end I had to clear everything from the menu and then put it all back in which increased the size of Menu 90 from 230KB to 330KB.
As this tool is available since 2006 did someone already create an export tool?
FD Consulting
Freeware, by Christophe Watrelot (cwatrelot@gesway.com), April 2006
Sure you've spent some time looking "Where is this $%#&£!!! function!"
1) ObjectDesigner, MenuSuite, select all MenuSuite objects then Export as txt.
2) Run form 89040 "Menu nodes", Functions, Import MenuSuite
You can choose a language with "Language Filter" flowfilter.
So, Don't worry, be happy!
Version 1.02:
Update by Nikolay Kruglov (nkruglov@stratsol.ru)
Changes:
- redisigned objects
- separate import source texts with menusuites. It does not mention of menusuites order, replace exist, import only new
- semigraph view
- show changes history
Version 1.01:
2008-10-13 Update by Davor Perkovac (davor.perkovac@gmail.com)
Changes:
-fix for importing menusuites containing table objects
-for for importing menusuites with no version tag
http://www.mibuso.com/dlinfo.asp?FileID=585
Discuss this download here.
In your instructions, you indicate to run form 89040. I think you mean 89140.
When I run it, I get an error There is no Menusuite Node caption within the filter. Filters: Node ID: ''
I fixed the error. It was in form 89144, in the onformat trigger of the Caption texbox:
// KHIG 04/11/08
//lMenuSuiteNodeCaption.FINDFIRST;
IF lMenuSuiteNodeCaption.FINDFIRST THEN;
// KHIG end
It would be nice to be have to option to sort by object number.
Why not? Set
- Sort (Sgift+F8) - Key=Object Type,Object ID
- Field Filter - Object ID <> 0
FD Consulting
To fix this error we need to change the Codeunit 89140 RUN trigger
gRootNodeID := '00000000-0000-0000-0000-000000000000';
IF lMenuSuiteNode.GET(gRootNodeID) THEN
SetLineNo(lMenuSuiteNode);
lMenuSuiteNode.SETRANGE("Line No.",0);
// add new line
lMenuSuiteNode.SETFILTER("Node Type",'<>%1',lMenuSuiteNode."Node Type"::Root);
//
lMenuSuiteNode.MODIFYALL("Show Node",TRUE);
lMenuSuiteNode.MODIFYALL(Level,1);
lMenuSuiteNode.MODIFYALL("Scions Filter",'~');
Freeware, by Christophe Watrelot (cwatrelot@gesway.com), April 2006
Sure you've spent some time looking "Where is this $%#&£!!! function!"
1) ObjectDesigner, MenuSuite, select all MenuSuite objects then Export as txt.
2) Run form 89040 "Menu nodes", Functions, Import MenuSuite
You can choose a language with "Language Filter" flowfilter.
So, Don't worry, be happy!
Version 1.03:
Update by Nikolay Kruglov (nkruglov@stratsol.ru)
Changes:
- fixed error - open form with empty table
- fixed error - import MenuSuite with "hung" Node
Run form 89140 "MenuSuite Nodes"
Version 1.02:
Update by Nikolay Kruglov (nkruglov@stratsol.ru)
Changes:
- redesigned objects
- separate import source texts with menusuites. It does not mention of menusuites order, replace exist, import only new
- semigraph view
- show changes history
Version 1.01:
2008-10-13 Update by Davor Perkovac (davor.perkovac@gmail.com)
Changes:
-fix for importing menusuites containing table objects
-for for importing menusuites with no version tag
http://www.mibuso.com/dlinfo.asp?FileID=585
Discuss this download here.
Thank you for this create tool !
I changed some of your forms to make them run with MenuSite with missing translations.
I incorporated the patches and changed the Record Size of some properties so it works with more exotic languages like "German".
We Use "Nein" instead of "No" and other nice words.
Tested with NAV 5.0 SP1, German Version
BTW: What's a "Scion" ?
Patched Objects attached as picture.
I revoked this comment: Exported the Role Tailored Menu's too!! :oops:
Thoms Hviid Thorn
A stupid question. Is it possible to use this tool with the Menusuites of 2009 version?
I get the following errormessage:
Or came this error from a other Issue?
Best regards
Jeannot Keiser
Form 89411
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 2009
this is a very nice tool but I receive an error when importing Company Menusuite 90
as reported in the attached file, if I import other menu objects as 10,20 or 30 I don't receive any errors, but in this case I have a further question: if I drill down to the customers card (for example) and then push on Menusuite (button)->Where Used there is nothing the Where Used form, this happens with any other form, codeunit or report among all the objects of the Menusuite Node List
So my questions is does the Where Used function work? In case can you tell me what am I doing wrong?
Thank you in advance for your attention
Regards