Equisys technical notes

Technical guidance, explanations and fixes for our products

HOWTO: Show related documents from a list page



ID: ZTN4138

This Zetadocs technical note applies to:

  • Zetadocs for NAV v4.0 to v4.2


The installation instructions for Zetadocs for NAV explain how to add the related documents fast tab to any NAV role tailored client card page, but it may be desired to see related documents for a record which is only displayed on a list page. This technical note explains how to show related documents for this type of record.

More information

It is not possible to add the Zetadocs related documents fast tab to a list page, because there is more than one record, so we would not know which record to show related documents for.

The solution is to add a new action to show another Zetadocs page which will show the related documents for a given Zetadocs Archive ID.  There is a utility function available in the Zetadocs-Utilities codeunit (9009959) which makes this easier.  The code below shows how this is called:

ZdUtilities.ShowRelatedDocsDialog('ZDARCHID',< ZETADOCS ARCHIVE ID> , < CAPTION> ); 

Replace < ZETADOCS ARCHIVE ID> with the Zetadocs Archive ID of the record to search for and replace < CAPTION> with the caption to display on the Zetadocs Related Documents page that is displayed.

Last updated: 25/08/2011 (JW/MW)


Recent news

This week we are acknowledging World Wellbeing Week 2020 - which runs from Monday 22 to Friday 26 June 2020. Participants including wellbeing practitioners, charities and social enterprises ...

As much of the world starts to ease after lockdown, the next couple of months provide many businesses with a useful window ahead of the next phase - of opening up the economy. Of course, many ...