When you are developing pages, you may want to see how the pages look in the RoleTailored client. You can run and view a page from Object Designer, or you can use command-line arguments at the command prompt, in the Run window, or in a browser. For each method, the RoleTailored client starts and opens the selected page. For command-line arguments, you have various options for opening the RoleTailored client and its pages in different modes. For example, you can specify a specific server or specific language, or you can create hyperlinks to specific pages in Microsoft Dynamics NAV. For more information, see Starting the Windows Client at the Command Prompt and Creating and Running Hyperlinks.
Note |
---|
ConfirmationDialog pages cannot be run and previewed by using the methods described in this topic. You can only view ConfirmationDialog pages by invoking them in the RoleTailored client. |
To run a page from Object Designer
Open the Microsoft Dynamics NAV Development Environment.
On the Tools menu, choose Object Designer, and then choose Page.
Select the page that you want to view, and then choose Run.
To run a page at the command prompt
At the command prompt, change to the RoleTailored client directory with the following
cd
command:Copy Code cd C:\Program Files\Microsoft Dynamics NAV\80\RoleTailored Client
Type the following command:
Copy Code Microsoft.Dynamics.Nav.Client.exe Dynamicsnav:////runpage?page=nn
Substitute nn with the ID of the page that you want to view.
Press ENTER.
The RoleTailored client opens and displays the page.
To run a page from the Run window
On the taskbar, choose Start, and then choose Run.
In the Run window, type the following command:
Copy Code Microsoft.Dynamics.Nav.Client.exe Dynamicsnav:////runpage?page=nn
Substitute nn with the ID of the page that you want to view.
Choose OK.
The RoleTailored client opens and displays the page.
To run a page from a browser
Open the browser.
In the address bar, type the following command:
Copy Code Dynamicsnav:////runpage?page=nn
Substitute nn with the ID of the page that you want to view.
Press Go.
The RoleTailored client opens and displays the page.