I know many of us use LaunchForm or Context Menu Open With among other things. I thought I ask this question for all our sakes.
Lets say you have:
- Production Management / General Operations / My Cool Dashboard [ UDB001 ] [ USEC001 ]
- Sales Management / General Operations / My Cool Dashboard [ UDB002 ] [ USEC001 ]
Both have a Unique Menu ID, because they have to, however both share the Same Security ID. Because we will control the Sub-Folders who gets to see what.
So when you do LaunchForm you hardcode UDB001 for example. But what if the User does not have access to “Production Management”. I can’t recall properly but I could have sworn that it didn’t let me launch UDB001 in 10.1.500.x
But the User has UDB002 which is the same.
I have been thinking about this, but never dug deep into the research and I know Epicor has some helpers to find the proper Menu ID by looping through the MainForm Tree. Atleast I saw that in some .NET Reflecting. Anyone recall the helper class?
Basically sometimes I place a Dashboard or UD01 Table in 10 locations, so they are accessible and share the same Customization, but I don’t want to hardcode MENUID001 if the user only has MENUID009.
Maybe I did my test wrong and It will open it regardless of Parent Path having Access. I’ll test that again today; thought Id throw this out in-case someone else already has.