we use role centre shortcut links in NAV 2009 as follows..
"C:\Program Files (x86)\Microsoft Dynamics NAV\60\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" "/profile:BOOKEEPER"
... but this does not seem to work with 2013.
The path to the executable works OK but when we try to add the profile parameter it no longer works.
Anybody aware of a new format for the command string in this regard?
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
As we are doing this in code, not from a desktop shortcut, our issue was a .NET one rather than one related to NAV command line switches. It was down to the c# representation of double quotes in strings. Just in case anybody else is doing this our solution is below.....
private void launchApp(string navExePath, string rtcProfile)
{
Process p = new Process();
const char doubleQuote = '"';
string argument = string.Format(@ /profile:{0}{1}{2}, doubleQuote, rtcProfile, doubleQuote);
Process.Start(navExePath, argument);
}
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav