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

  1. Open the Microsoft Dynamics NAV Development Environment.

  2. On the Tools menu, choose Object Designer, and then choose Page.

  3. Select the page that you want to view, and then choose Run.

To run a page at the command prompt

  1. At the command prompt, change to the RoleTailored client directory with the following cd command:

    Copy Code
    cd C:\Program Files\Microsoft Dynamics NAV\71\RoleTailored Client
  2. 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.

  3. Press ENTER.

    The RoleTailored client opens and displays the page.

To run a page from the Run window

  1. On the taskbar, choose Start, and then choose Run.

  2. 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.

  3. Choose OK.

    The RoleTailored client opens and displays the page.

To run a page from a browser

  1. Open the browser.

  2. 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.

  3. Press Go.

    The RoleTailored client opens and displays the page.

See Also