Equisys technical notes

Technical guidance, explanations and fixes for our products

HOWTO: Show related documents from a list page using v7.0 of Zetadocs for NAV



ID: ZTN4377

This Zetadocs technical note applies to:

  • Version 7.0 of Zetadocs for NAV


This technote details how to use Zetadocs to search documents from your document library.

Note: to use this functionality the version 7.0 of Zetadocs for NAV needs to be correctly installed and configured. Please follow the steps in the Zetadocs for NAV Essentials guide installation for details.

More information

This functions searches the documents in your target library given a specific criteria to match.

 [OK :=] Search(library, VAR metadataToMatch, VAR metadataFieldsToReturn, maxDocumentsToReturn, VAR documents, VAR documentMetadata)


  • library:
    • Type: Text
    • The target document library
  • metadataToMatch:
    • Type: TEMPORARY Record 9041220
    • The list of metadata to search in the document library
  • maxDocumentsToReturn:
    • Type: Integer
    • The maximum number of documents to search. Default value is 50 (if you want to apply the default value type 0)
  • documents:
    • Type: TEMPORARY Record 9041221
    • List of result documents.
  • documentMetadata:
    • Type: TEMPORARY Record 9041222
    • List of result additional metadata. Each piece of metadata is related to a document

Return Value

  • Type: Boolean
  • If the value is 0 then there are no errors executing the query, otherwise there was an error.

Last updated: 27th October 2014 (JV/WK)

Equisys Logo, Document Management and Expense Management for Business Central

Replaced by script
Recent news

Understanding the profitability of projects is often a difficult and cumbersome process, especially if there is a lack of visibility around all the project costs. Getting that visibility of all ...

This article describes the new features and other improvements in the September 2021 update of the Zetadocs Expenses service. Zetadocs Expenses Release ...

North America
Equisys Inc
30000 Mill Creek Avenue
Suite 335
Alpharetta, GA 30022
(770) 772 7201
Equisys Ltd
91 Southwark Bridge Road
United Kingdom
+44 (0)20 7203 4000

© Equisys Ltd
All rights reserved

© Equisys Ltd    All rights reserved    Contact    Privacy policy    Cookies