mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jun 20, 2013 5:33 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: RTC shortcut links in NAV 2013
PostPosted: Thu Jul 05, 2012 2:20 pm 
Offline

Joined: Mon Apr 06, 2009 5:25 pm
Posts: 5
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?


Top
 Profile E-mail  
 
 Post subject: Re: RTC shortcut links in NAV 2013
PostPosted: Thu Jul 05, 2012 2:29 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4254
Location: New Delhi
Country: India (in)
you missed one K in BOOKEEPER :wink:

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


Top
 Profile  
 
 Post subject: Re: RTC shortcut links in NAV 2013
PostPosted: Thu Jul 05, 2012 2:42 pm 
Offline

Joined: Mon Apr 06, 2009 5:25 pm
Posts: 5
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.


Top
 Profile E-mail  
 
 Post subject: Re: RTC shortcut links in NAV 2013
PostPosted: Thu Jul 05, 2012 2:45 pm 
Offline
Site Admin
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Sun Nov 07, 1999 8:01 am
Posts: 3311
Location: Wilrijk
Country: Belgium (be)
And when you try "-profile:<profilename>"? See Starting the RoleTailored Client at the Command Prompt

_________________
No support using PM or e-mail - Please use this forum.
Search is your friend || Mark your Topic as SOLVED (= green checkmark) when your question is answered || Read the Forum Rules before making a posting

»»» Mark your calendar: NAV TechDays 2013 - 7 & 8 November 2013 ««« Visit the conference website: www.navtechdays.com


Top
 Profile  
 
 Post subject: Re: RTC shortcut links in NAV 2013
PostPosted: Thu Jul 05, 2012 3:16 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4254
Location: New Delhi
Country: India (in)
I used the following link for shortcut and working fine..
Quote:
"C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" "/profile:BOOKKEEPER"

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


Top
 Profile  
 
 Post subject: Re: RTC shortcut links in NAV 2013
PostPosted: Thu Jul 05, 2012 4:07 pm 
Offline

Joined: Mon Apr 06, 2009 5:25 pm
Posts: 5
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);
}


Top
 Profile E-mail  
 
 Post subject: Re: RTC shortcut links in NAV 2013
PostPosted: Thu Jul 05, 2012 5:53 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4254
Location: New Delhi
Country: India (in)
Thanks for sharing with us :thumbsup:

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to:  
cron