<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged attachment</title>
<link>https://overflow.efficy.io/?qa=tag/attachment</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to queue a function call in a workflow script to execute it async?</title>
<link>https://overflow.efficy.io/?qa=7205/how-to-queue-function-call-in-workflow-script-execute-async</link>
<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;I am working on an integration with Efficy and Exact. One of the flows i need to implement is uploading invoices from exact to Efficy as an attachment. I currently put it in a workflow function and it works fine. However, this flow is very slow (multiple calls to exact so can't make it faster)  and is blocking the end user from doing anything for 20-30 seconds. Is there a way without using schedulers to execute this flow in an async way? A bit like queueing that the  function should be executed in the background. &lt;br&gt;
Or is the only solution using a scheduler service and just use a small time interval? &lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7205/how-to-queue-function-call-in-workflow-script-execute-async</guid>
<pubDate>Wed, 12 Nov 2025 08:29:40 +0000</pubDate>
</item>
<item>
<title>How to delete all detail attachements/files contains in an Efficy Document where some of the files have revision?</title>
<link>https://overflow.efficy.io/?qa=6789/delete-detail-attachements-contains-efficy-document-revision</link>
<description>&lt;p&gt;Does anyone knows how to delete all files in a document with ServerJS when some of the files have revision ?&lt;/p&gt;

&lt;p&gt;I tried the following code, but then I have an endless loop since several files have the same key but a different revision number !&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dsFile = Efficy.getDetailDataSet(docuContext, ntFile);
dsFile.first();
while (!dsFile.eof) {
Efficy.deleteDetail(docuContext, ntFile, dsFile.fieldByName('K_FILE').asFloat);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;PS : I remarked that the same code has been used in Efficy 2021 for the invoicing module (cf function deleteDetails in serverjs\invoicing\invoicing.js) ... So the issue I encountered may also be a standard issue&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6789/delete-detail-attachements-contains-efficy-document-revision</guid>
<pubDate>Fri, 06 Jan 2023 09:34:39 +0000</pubDate>
</item>
<item>
<title>In the workflow, is is possible to interact when generating a .pdf file from a .docx file ?</title>
<link>https://overflow.efficy.io/?qa=6760/workflow-possible-interact-generating-file-from-docx-file</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;The .docx file is markedup as an &quot;FACTURE&quot; in a custom column named &quot;TYPE&lt;em&gt;DOCUMENT&quot;.&lt;br&gt;
When creating a .pdf file from this .docx file, I need to markup this .pdf file in the same column named &quot;TYPE&lt;/em&gt;DOCUMENT&quot; with  &quot;FACTURE&quot;.&lt;br&gt;
How can I do this ?&lt;br&gt;
Does it exist a JS function like &quot;OnCreatingPdfFile&quot; ?&lt;br&gt;
Thank you&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6760/workflow-possible-interact-generating-file-from-docx-file</guid>
<pubDate>Mon, 14 Nov 2022 10:06:25 +0000</pubDate>
</item>
<item>
<title>/addmail ... explanation of the Files or Documents arguments</title>
<link>https://overflow.efficy.io/?qa=5071/addmail-explanation-of-the-files-or-documents-arguments</link>
<description>&lt;p&gt;Hello all,&lt;/p&gt;

&lt;p&gt;Does anyone knows how the files or documents arguments are working for the addmail WebRequest, because it is not well documented in EDN (cf link below) ?&lt;/p&gt;

&lt;p&gt;I am trying to use them in order to create an email with an Attachment from the Efficy Interface using the SideBard like the create Instant Email but from the consult of an Entity.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/requests#addmail&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/requests#addmail&quot;&gt;https://help.efficy.com/edn/requests#addmail&lt;/a&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5071/addmail-explanation-of-the-files-or-documents-arguments</guid>
<pubDate>Mon, 25 Nov 2019 13:14:22 +0000</pubDate>
</item>
<item>
<title>How can I generate .PDF from .DOCX attachment in workflow?</title>
<link>https://overflow.efficy.io/?qa=4682/how-can-i-generate-pdf-from-docx-attachment-in-workflow</link>
<description>&lt;p&gt;We want a related .PDF attachment for each .DOCX template generated invoice.&lt;br&gt;
Can we do this in workflow/serverscript?&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4682/how-can-i-generate-pdf-from-docx-attachment-in-workflow</guid>
<pubDate>Mon, 12 Aug 2019 12:05:12 +0000</pubDate>
</item>
<item>
<title>Display attachments of a Document in Extranet</title>
<link>https://overflow.efficy.io/?qa=4188/display-attachments-of-a-document-in-extranet</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm a new one in Efficy customization (and use) and I have to do a custom Extranet for a client.&lt;br&gt;
In this custom, I have to set up an item Document : succeed.&lt;br&gt;
But I want that the grid which displays the Document's list has the exact same behavior that the Document's list in the CRM.&lt;br&gt;
Which means when I click on the attachment icon, it should display the dropdown with the attachment file inside it and I should be able to click on the file's name to download it (or open it in the browser).&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=4910305819385669083&quot; alt=&quot;dropdown attachment&quot;&gt;&lt;/p&gt;

&lt;p&gt;I don't understand why my custom doesn't work on this point.&lt;/p&gt;

&lt;p&gt;My code in GridColumnsCustom.txt looks like this :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/*
 * Documents
 */

th.ATTACHMENTS.Docu {[&amp;lt;th class=&quot;icon-cell&quot;&amp;gt;&amp;lt;#H=$FIELD$;sort=true;icon=i-attach&amp;gt;&amp;lt;/th&amp;gt;]}
td.ATTACHMENTS.Docu {[&amp;lt;td class=&quot;icon-cell i-attach pointer&quot; data-dropdown=&quot;dd-files&quot; data-options=&quot;align:left&quot;
          data-dropdown-ajax=&quot;consult?page=dropdown/Files&amp;amp;count=-1&amp;amp;filter=false&amp;amp;detail=File&amp;amp;sort=K_SORT&amp;amp;entity=Docu&amp;amp;key=&amp;lt;#F=$KEY$;context=ATTR&amp;gt;&amp;amp;norecent=T&quot;&amp;gt;&amp;lt;#F=$FIELD$;context=TEXT&amp;gt;&amp;lt;/td&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I am pretty sure I am missing something, probably a JS part somewhere but after few hours spending on debugging and research, I still can't find what.&lt;/p&gt;

&lt;p&gt;Thank you for your help !&lt;/p&gt;
</description>
<category>Extranet / HelpDesk</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4188/display-attachments-of-a-document-in-extranet</guid>
<pubDate>Thu, 02 May 2019 13:54:23 +0000</pubDate>
</item>
<item>
<title>double file extension when Instant E-mail or Send by e-mail</title>
<link>https://overflow.efficy.io/?qa=3221/double-file-extension-when-instant-e-mail-or-send-by-e-mail</link>
<description>&lt;p&gt;When we start Send by E-mail or Instant E-mail for a document&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=8480173268253123121&quot; alt=&quot;send by e-mail&quot;&gt;&lt;/p&gt;

&lt;p&gt;then we get the file extension double in the name of the attachment:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=7406924574424118885&quot; alt=&quot;double file extension&quot;&gt;&lt;/p&gt;
</description>
<category>Efficy Integrations</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3221/double-file-extension-when-instant-e-mail-or-send-by-e-mail</guid>
<pubDate>Thu, 31 May 2018 13:45:47 +0000</pubDate>
</item>
<item>
<title>How add a tag into the document attachment list to indicate this attachement has archived</title>
<link>https://overflow.efficy.io/?qa=2784/into-document-attachment-list-indicate-attachement-archived</link>
<description>&lt;p&gt;One of my customer want to add an information into the attachement list &lt;br&gt;
Via the left menu I want to add a new entry like archive this file. Then the document will be marked as archived like into this picture.&lt;/p&gt;

&lt;p&gt;I didn't find where implement this. Any ideas ? &lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=3954970644031015664&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2784/into-document-attachment-list-indicate-attachement-archived</guid>
<pubDate>Thu, 30 Nov 2017 11:50:13 +0000</pubDate>
</item>
<item>
<title>Possibility to force user not to forget the Upload of an attachment in a Document</title>
<link>https://overflow.efficy.io/?qa=1796/possibility-force-user-forget-upload-attachment-document</link>
<description>&lt;p&gt;is there a Possibility to force user not to forget the Upload of an attachment in a Document ?&lt;/p&gt;

&lt;p&gt;Can I test on a attribute of the Upload button or form in the list of attachments, or what would be the best way to test if there is still attachement that hasn't been uploaded ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1796/possibility-force-user-forget-upload-attachment-document</guid>
<pubDate>Tue, 02 Aug 2016 04:41:34 +0000</pubDate>
</item>
<item>
<title>How to delete Attachments/FILE via SOAP</title>
<link>https://overflow.efficy.io/?qa=1273/how-to-delete-attachments-file-via-soap</link>
<description>&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;I'm trying to delete a file (attachment) via SOAP.&lt;/p&gt;

&lt;p&gt;When executing the following SOAP request:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;efficy:api&amp;gt;
    &amp;lt;data id=&quot;0&quot; operation=&quot;delete&quot; entity=&quot;FILE&quot; keys=&quot;123&quot;/&amp;gt;
&amp;lt;/efficy:api&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I get the following &quot;answer&quot;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;SOAP-ENV:Fault&amp;gt;
    &amp;lt;faultcode&amp;gt;Exception&amp;lt;/faultcode&amp;gt;
    &amp;lt;faultstring&amp;gt;Invalid Entity for Delete&amp;lt;/faultstring&amp;gt;
    &amp;lt;faultid/&amp;gt;
&amp;lt;/SOAP-ENV:Fault&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I also tried entity=&quot;2&quot;, same effect. When logging in as the user i use to perform the SOAP request, i am able to delete the attachment without a problem. So, how can I delete a FILE entry?&lt;/p&gt;

&lt;p&gt;Thanks in advance,&lt;br&gt;
Stefan&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1273/how-to-delete-attachments-file-via-soap</guid>
<pubDate>Mon, 25 Jan 2016 17:26:10 +0000</pubDate>
</item>
<item>
<title>customization for showing document and its attachments in sub-list</title>
<link>https://overflow.efficy.io/?qa=972/customization-for-showing-document-and-its-attachments-list</link>
<description>&lt;p&gt;Dears,&lt;/p&gt;

&lt;p&gt;I would like to have a customized window in Efficy 2014 that shows documents and its attachments as sub-list (with check box to choose the whole document or specific attachment) as in the snapshot below.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=13196245153457552020&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;have any one done something similar? what function tags and grid columns definitions are needed?&lt;/p&gt;

&lt;p&gt;Any suggestions or examples are welcomed :)&lt;/p&gt;

&lt;p&gt;Thank you.&lt;br&gt;
Best Regards.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=972/customization-for-showing-document-and-its-attachments-list</guid>
<pubDate>Mon, 30 Nov 2015 10:14:08 +0000</pubDate>
</item>
<item>
<title>Sending Emails with Efficy with an Attachment</title>
<link>https://overflow.efficy.io/?qa=634/sending-emails-with-efficy-with-an-attachment</link>
<description>&lt;p&gt;I would like to know if there is any way of sending an email with Efficy with an Attachment(s) to it?&lt;/p&gt;

&lt;p&gt;I checked in the EDN but could not find anything.&lt;/p&gt;

&lt;p&gt;I know that some customer are using guest pages to share Efficy document, but the customer don't want guest pages because of high security environment.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=634/sending-emails-with-efficy-with-an-attachment</guid>
<pubDate>Wed, 12 Aug 2015 15:50:30 +0000</pubDate>
</item>
</channel>
</rss>