Compartir a través de


How to: Link from Records to External Information or Programs

You may want to attach a hyperlink to a document or website to a specific record, such as a customer or document in Microsoft Dynamics NAV. Or, you may want a link that opens a new empty email to a specific recipient when you select it. Some cards, such as customer and vendor cards, include a Home Page field where you can enter a URL. To include other links, you can use the Links functionality. For example, when you receive printed invoices from vendors, you can scan them and store them as .pdf files on a SharePoint site. Then you can make a link from a purchase invoice in Microsoft Dynamics NAV to the corresponding invoice on Microsoft SharePoint Server. Or, you can make a link from an item card to the corresponding page in your vendor's online catalog.

The following procedures describe how to add links to records, how to view links, and how to delete links.

  1. Open the record that you want to attach the link to, such as a customer card or sales order. If you want to attach the link to a specific line, such as a journal line, select the line.

  2. If the Links FactBox is not displayed on the page, customize the page to display Links. For more information, see How to: Customize FactBoxes.

  3. In Links, choose ActionsAction Menu icon, and then choose New.

  4. In the Link Address field, enter an address for the file or website, such as C:\My Documents\invoice1.doc or www.microsoft.com.

  5. Fill in the Description field with information about the link.

  6. Choose the Save button.

To open a program outside Microsoft Dynamics NAV

  1. Open the record that you want to attach the link to, such as a customer card or sales order. If you want to attach the link to a specific line, such as a journal line, select the line.

  2. If the Links FactBox is not displayed on the page, customize the page to display Links. For more information, see How to: Customize FactBoxes

  3. In Links, choose ActionsAction Menu icon, and then choose New.

  4. In the Link Address field, enter a specific string to open different programs, for example:

    • To open OneNote with a specific page, enter onenote:///C:\My Documents\test.one.

    • To open Outlook with a new empty email to a specific alias, enter mailto:testalias.

  5. Fill in the Description field with information about the link.

  6. Choose the Save button.

  1. Open the relevant record, such as the sales order. If the link is attached to a specific line, select the line.

  2. In Links, choose the link in the Link Address field. The appropriate program, such as Microsoft Word or Microsoft Internet Explorer, opens and displays the link target.

  1. Open the record that contains the link that you want to delete. If the link is attached to a specific line, select the line.

  2. In Links, select the link that you want to delete.

  3. Choose ActionsAction Menu icon, and then choose Delete.

  4. Choose the Yes button to confirm the deletion.

Note

You can only delete a link if the IT administrator has assigned the necessary user permissions to you. If a user deletes a single record, such as a sales order line, a sales order, or a customer card, then all the links attached to the record are deleted. However, if you delete records using a batch job, such as the Delete Invoiced Sales Orders batch job, then the links are still stored in the Record Link table. To delete the links from the database, run the Delete Orphaned Record Links codeunit.

  1. In the Search box, enter Data Deletion, and then choose the related link.

  2. On the Data Deletion page, choose Tasks, and then choose Delete Orphaned Record Links.

See Also

Concepts

Working with Microsoft Dynamics NAV

Other Resources

Attach Additional Information to Records