Equisys technical notes

Technical guidance, explanations and fixes for our products

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

Print

ZTN4537

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

Symptom

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.

Cause

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.

Resolution

To fix the issue, the choice is to either:

-       Enable the Archiving option in the Document Set in NAV

Or

-       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.

Status

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

EquisysLogo
 

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 ...