Export (0) Print
Expand All

Creating and Running Hyperlinks

Microsoft Dynamics Nav 2009

Hyperlinks enable users to send or save quick links to specific pages in Microsoft Dynamics NAV. For example, you could create a hyperlink to a specific list page, such as Customers. Hyperlinks can also be used to specify parameters, such as server name, server service, or company. You can enter hyperlinks in the Command Prompt tool, in a browser window, or directly in the Run window.

Creating Hyperlinks

To create a hyperlink, type the Microsoft Dynamics NAV executable service and then type the syntax for the hyperlink. For example: Microsoft.Dynamics.Nav.Client.exe "DynamicsNAV://MyServer/DynamicsNAV/CRONUS International Ltd./RunPage?Page=22"

This example specifies a server name, service, company, and page ID. If entered correctly it opens the RoleTailored client on page 22, the customer list page.

Building a URL

When you build a hyperlink URL, it can be structured in the following three ways:

  • DynamicsNAV://server/service/company/runpage?page=22&bookmark=0ABA0700235752C7D1

  • DynamicsNAV://server/service/company/runreport?report=901

  • DynamicsNAV://server/service/company/navigate?node=Home/Items

You can also specify the following additional parameters in a URL.

Parameter Description Example

Personalization ID

Specifies the unique identification used in personalization to store settings in the User Metadata table. If a personalization ID is not found, the page is launched without personalization.

DynamicsNAV://localhost/DynamicsNAV/CRONUS International Ltd./runpage?page=22&personalization=0000232e-0000-001a-0008-0000836bd2d2

Bookmark

Positions the cursor on a single record in a table.

Only automatically generated bookmarks should be used. If you enter an incorrect bookmark, you will get an error message.

DynamicsNAV://localhost/DynamicsNAV/CRONUS International Ltd./runpage?page=22&bookmark=120000000089083237343

Mode

Enables you to open a page in a specific mode.

Other modes include: view, edit, create, select, and delete.

DynamicsNAV://localhost/DynamicsNAV/CRONUS International Ltd./runpage?page=22&mode=View

Syntax for Creating Hyperlinks

The following table shows some examples of hyperlinks and provides information about how to specify parameters.

Parameters Description Syntax Example

Company name

Enables you to switch a company (case sensitive).

DynamicsNAV:////<CompanyName>/RunPage?Page=<pageid>

Microsoft.Dynamics.Nav.Client.exe "DynamicsNAV:////CRONUS International Ltd./RunPage?Page=22"

Navigate

Enables users to send or save quick links to specific pages.

DynamicsNAV://///navigate?node=<service>

Microsoft.Dynamics.Nav.Client.exe DynamicsNAV://///navigate?node=Home/Items

RunPage

Enables you to run a specific page.

DynamicsNAV:////runpage?page=<page id>

DynamicsNAV:////runpage?page=42

RunReport

Enables you to run a specific report.

DynamicsNAV:////runreport?report=<report id>

DynamicsNAV:////runreport?report=50000

Server name

Enables you to switch servers.

DynamicsNAV://<ServerName>///RunPage?Page=<pageid>

Microsoft.Dynamics.Nav.Client.exe DynamicsNAV://MyServer///RunPage?Page=22

Server name optional port number

Enables you to specify an optional port number in the range 1-65535. The default port is 7046.

DynamicsNAV://<ServerName><:Port>///RunPage?Page=<pageid>

Microsoft.Dynamics.Nav.Client.exe DynamicsNAV://MyServer:1234///RunPage?Page=22

Service instance

Enables you to specify a Service instance. You can find this value in the CustomSettings.config file.

DynamicsNAV:///<Service>//RunPage?Page=<pageid>

Microsoft.Dynamics.Nav.Client.exe DynamicsNAV:///DynamicsNAV//RunPage?Page=22

NoteNote

If you omit a parameter, such as Server or Service, do not remove the accompanying forward slash, as this will change the overall structure of the hyperlink.

NoteNote

When you type a company name as a parameter, put the hyperlink in quotation marks if there are blank spaces in the name.

Running Hyperlinks

In Microsoft Dynamics NAV you can run hyperlinks in the following ways.

Method To run a hyperlink

Run window

Click Start, and then click Run. Enter the hyperlink in the Run window and click OK.

Command Prompt tool

Open a Command Prompt tool and type the hyperlink directly into the tool.

Shortcut

Create a shortcut for the Microsoft Dynamics NAV executable on your Desktop.

Right-click the shortcut, click Properties, and then enter the hyperlink URL into the Target field of the shortcut. Click OK, and then start Microsoft Dynamics NAV.

Browser window

Use a browser, such as Internet Explorer and type the hyperlink URL directly into the address bar. To type hyperlinks into a browser, you must have Microsoft Dynamics NAV installed on your computer.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft