共用方式為


How to: Copy the URL to Open a Page or Report

Microsoft Dynamics NAV generates URLs for opening pages and report request pages from the Microsoft Dynamics NAV Windows client, the Microsoft Dynamics NAV Web client, and SOAP and OData web services. You can copy these URLS from the About This Page window and save them as shortcuts for your own use, or you can send them to other people as hyperlinks, for example.

The URLs are generated based on the GETURL function that you can also use in your code. For more information, see GETURL Function.

Note

You can only view the URLs in the Microsoft Dynamics NAV Windows client.

To view URLS for a Page

  1. In the Microsoft Dynamics NAV Windows client, in the relevant page, in the Application menu, point to Help, and then choose About This Page.

  2. On the URLs FastTab, copy the link that you want to use.

    The following table shows the syntax for the URLs.

    Field URL

    Microsoft Dynamics NAV Windows client

    DynamicsNAV://server/instance/company

    Microsoft Dynamics NAV Web client

    https://server:port/instance/WebClient?company='MyCompany'/

    OData client

    https://server:port/instance/OData/Company('MyCompany')/

    SOAP client

    https://server:port/instance/WS/MyCompany

To view URLS for a Report

  1. In the Microsoft Dynamics NAV Windows client, in the relevant report request page, in the Application menu, point to Help, and then choose About This Page.

  2. On the URLs FastTab, copy the link that you want to use.

    The following table shows the syntax for the URLs.

    Field URL

    Microsoft Dynamics NAV Windows client

    DynamicsNAV://server/instance/company

    Microsoft Dynamics NAV Web client

    https://server:port/instance/WebClient?company='MyCompany'/

See Also

Reference

GETURL Function

Concepts

Using About This Page and About This Report
Creating and Running Hyperlinks