RTC shortcut links in NAV 2013

TESUSER
Member Posts: 7
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?
"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
-
you missed one K in BOOKEEPER0
-
It's not the spelling mistake in the profile name that is the problem... we data drive the profile names from a combobox on a windows form that is bound to the NAV profile table so the names always match. There does seem to be different in how you can shortcut to a 2013 RTC profile in this way.0
-
And when you try "-profile:<profilename>"? See Starting the RoleTailored Client at the Command PromptNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
I used the following link for shortcut and working fine.."C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" "/profile:BOOKKEEPER"0
-
Thanks for the input on this guys.
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);
}0 -
Thanks for sharing with us :thumbsup:0
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