Equisys technical notes

Technical guidance, explanations and fixes for our products

FIX: Zetadocs Client side delivery fails when sending with additional attachments from SharePoint



This Zetadocs technical note applies to:

  • Zetadocs for NAV version 4.0 and later
  • Zetadocs delivery set for Client-Side delivery
  • Additional attachments coming from SharePoint


When using Zetadocs Client side delivery with a SharePoint attachment, the Send button displays an error pop up with the message ‘Error sending document’.

An additional error message can be seen in the Messages.

Also, the Archiving option in NAV for the Zetadocs document set is Disabled

It is always reproducible for the same type of documents.


When sending an additional attachment, the Client needs to download the SharePoint file before sending. Zetadocs process requires the SharePoint site string retrieve the credentials in the Windows Credential Manager.

A fault in the workflow means that the Site information is not passed from NAV to the Zetadocs Client when the Archiving option is disabled for the Document Type.


To fix the issue, the choice is to either:

-       Enable the Archiving option in the Document Set in NAV


-       Add the following Embedded command alongside the FileAttachment command in the Zetadocs-Send Customize codeunit (9009962):

o    file.AddCommand(STRSUBSTNO('%%[ArchiveFolder: sharepoint: <sharpoint site>, "Zetadocs"]'));

Warning: Having the ArchiveFolder command set twice, should it be from the default workflow with the Archive option and the additional embedded command will result in a failure.


This behaviour was addressed with the workaround detailed above.

Last updated: 7th February 2020 (CR) 

Keywords: Fail to send, Zetadocs, Attachment, Additional Attachment, Embeded command, Failed to download the file attachment, SharePoint file attachment

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