<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged file</title>
<link>https://overflow.efficy.io/?qa=tag/file</link>
<description>Powered by Question2Answer</description>
<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>Disallow/block EXE files</title>
<link>https://overflow.efficy.io/?qa=6215/disallow-block-exe-files</link>
<description>&lt;p&gt;For security reasons we would like to disallow uploading executable files in Efficy CRM. (exe, jar, etc...)&lt;br&gt;
Is there an option already foreseen for this ? &lt;br&gt;
If no what would be the most elegant way of doing so ? &lt;/p&gt;
</description>
<category>Efficy Installation/Settings</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6215/disallow-block-exe-files</guid>
<pubDate>Thu, 08 Jul 2021 10:11:00 +0000</pubDate>
</item>
<item>
<title>Access to local UNC file in Chrome / etc</title>
<link>https://overflow.efficy.io/?qa=5400/access-to-local-unc-file-in-chrome-etc</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;For a customer we want to have a link in consult that opens file explorer on the UNC. With a file:// in the href of a link this gives an error in Chrome: Not allowed to load local resource:&lt;br&gt;
This is an example of what I used:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;file://10.x.xx.1/&quot; target=&quot;_blank&quot;&gt;Test&lt;/a&gt;&lt;br&gt;
&amp;lt;\ a href=&quot;file://10.x.xx.1/&quot; target=&quot;_blank&quot;&amp;gt;Test&lt;br&gt;
Does anybody know of a way without ActiveX? &lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Rob&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5400/access-to-local-unc-file-in-chrome-etc</guid>
<pubDate>Wed, 15 Apr 2020 13:31: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>UseLinkedFile is not working in Efficy 2014 r5308</title>
<link>https://overflow.efficy.io/?qa=323/uselinkedfile-is-not-working-in-efficy-2014-r5308</link>
<description>&lt;p&gt;Ik got an error message if I am trying upload a file link to Efficy.&lt;br&gt;
* Efficy 2014 r5308&lt;/p&gt;

&lt;h3&gt;Error message:&lt;/h3&gt;

&lt;p&gt;Failed to connect&lt;/p&gt;

&lt;h3&gt;De syntaxis van de bestandsnaam, mapnaam of volumenaam is onjuist&lt;/h3&gt;

&lt;p&gt;I used this script to implement the functionality:&lt;/p&gt;

&lt;p&gt;INSERT INTO [EFF&lt;em&gt;STD&lt;/em&gt;WINRIS].[ADMIN].[SYS_STORAGE]&lt;br&gt;
([NAME],[TEXT]) VALUES&lt;br&gt;
('UseLinkedFile','1' )&lt;/p&gt;

&lt;p&gt;Can someone help me to fix this, or is it a bug?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=323/uselinkedfile-is-not-working-in-efficy-2014-r5308</guid>
<pubDate>Wed, 01 Apr 2015 14:44:11 +0000</pubDate>
</item>
</channel>
</rss>