Controlling Menu Item list in form

bala_first
Member Posts: 7
Hi,
is it possible to controll Menu item list at runtime in form...for example if there are five menu item lists are there in one menu item control, i need to show only three of them by applying one condition at runtime....
.........solution appreciated..........
regards,
bala.
is it possible to controll Menu item list at runtime in form...for example if there are five menu item lists are there in one menu item control, i need to show only three of them by applying one condition at runtime....
.........solution appreciated..........
regards,
bala.
0
Comments
-
I'm pretty sure it is not possible.
In some cases, when really needed, I create multiple 'Menu Button' instances...
Than you can play with the visible property of the button's to get '''dynamic Menu Button'''
(at least that is how it would seem for the user).
If you have no other options, and you go for this solution. Be sure not to put any specific code on the
menu item, place the code in a function, and reference this function from the different instances of
that menu item.0 -
bala_first wrote:Hi,
is it possible to controll Menu item list at runtime in form...for example if there are five menu item lists are there in one menu item control, i need to show only three of them by applying one condition at runtime....
.........solution appreciated..........
regards,
bala.
Why would you want to do that?0 -
AFAIK not, and it would be a very "unnavisionic" solution.The typical "Navisionic" solution is that if you aren't supposed to click it, it will give you an error message, either through permissions or custom code. This of course is not 100% user friendly, what we normally do is:
- in RTC configure roles so that f.e. people who are not supposed to post orders don't even see the button. This is not supposed to replace permissions etc. just to supplement it, making it more user-friendly.
- and RTC allows you to put any boolean variable or expression into the Visible property of the Action
- in Classic... well it has always been a problem, in some special cases it can be justified to "Save As" a form and simplify it down for a special user group. I mean ideas like Sales Invoice for POS, Purchase Order for Warehouse, Production Order for Shop Floor - removing everything but the most essential menu items, fields etc. etc.0 -
Miklos Hollender wrote:AFAIK not, and it would be a very "unnavisionic" solution.The typical "Navisionic" solution is that if you aren't supposed to click it, it will give you an error message, either through permissions or custom code. This of course is not 100% user friendly, what we normally do is:
...
- in Classic... well it has always been a problem, in some special cases it can be justified to "Save As" a form and simplify it down for a special user group. I mean ideas like Sales Invoice for POS, Purchase Order for Warehouse, Production Order for Shop Floor - removing everything but the most essential menu items, fields etc. etc.Frank Dickschat
FD Consulting0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions