<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged efficy-11</title>
<link>https://overflow.efficy.io/?qa=tag/efficy-11</link>
<description>Powered by Question2Answer</description>
<item>
<title>Azure SQL Support</title>
<link>https://overflow.efficy.io/?qa=6965/azure-sql-support</link>
<description>&lt;p&gt;Dear Efficy Team,&lt;/p&gt;

&lt;p&gt;I've seen the supported DB are, according to the documentation (&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/admin/sppl_serversoftware),&quot;&gt;https://help.efficy.io/edn/admin/sppl_serversoftware),&lt;/a&gt; Microsoft SQL Server, Oracle and PostgreSQL.&lt;/p&gt;

&lt;p&gt;I have a client that would try deploying Efficy on a cloud environment using Azure SQL.&lt;/p&gt;

&lt;p&gt;Would this work ? Do we need some special work-around ?&lt;br&gt;
Or is it just not possible and we'll need a virtual SQL server ?&lt;/p&gt;

&lt;p&gt;Thanks for your help,&lt;/p&gt;

&lt;p&gt;Alexandre&lt;/p&gt;
</description>
<category>Efficy Installation/Settings</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6965/azure-sql-support</guid>
<pubDate>Fri, 08 Sep 2023 14:51:12 +0000</pubDate>
</item>
<item>
<title>have we a standard way to apply mask on input fields ?</title>
<link>https://overflow.efficy.io/?qa=6086/have-we-a-standard-way-to-apply-mask-on-input-fields</link>
<description>&lt;p&gt;Hi all, &lt;/p&gt;

&lt;p&gt;A customer would like to use a vanilla js library to put mask on input fields &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/slwulf/input-masks&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/slwulf/input-masks&quot;&gt;https://github.com/slwulf/input-masks&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before using an external libriry, i would like to know if we have a standard way to do that.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6086/have-we-a-standard-way-to-apply-mask-on-input-fields</guid>
<pubDate>Wed, 12 May 2021 11:40:17 +0000</pubDate>
</item>
<item>
<title>is there a way to make difference between '' and null value in a dataset returned by an sqlQueryDataset</title>
<link>https://overflow.efficy.io/?qa=6075/difference-between-value-dataset-returned-sqlquerydataset</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;When using something like &lt;code&gt;dataSetToJson(Efficy.sqlQueryDataset(MyQuery, &quot;&quot;))&lt;/code&gt; the result give me '' (empty value) for empty value fields, but also for null value fields.&lt;/p&gt;

&lt;p&gt;i've an idea of workaround with a coalesce in the query, but ... is there a standard or a better way to get the &quot;real&quot; null value ?&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6075/difference-between-value-dataset-returned-sqlquerydataset</guid>
<pubDate>Mon, 10 May 2021 13:34:56 +0000</pubDate>
</item>
<item>
<title>How to set customer parameter in SOAP request?</title>
<link>https://overflow.efficy.io/?qa=5603/how-to-set-customer-parameter-in-soap-request</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;our database was cloned and since then, we need to pass the customer parameter.&lt;br&gt;
When i try to connect via SOAP, i get 'The host is allowed in more than one customer profile, the &quot;customer&quot; argument must be specified'. &lt;br&gt;
If i try to pass the customer attribute in the efficy:logon node, where username, database and password is passed, i still get the same error.&lt;/p&gt;

&lt;p&gt;Where do i have to set this parameter?&lt;/p&gt;

&lt;p&gt;Best&lt;br&gt;
Stefan&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5603/how-to-set-customer-parameter-in-soap-request</guid>
<pubDate>Mon, 28 Sep 2020 07:31:08 +0000</pubDate>
</item>
<item>
<title>Announcement: Efficy 11.1 build r19452 is available</title>
<link>https://overflow.efficy.io/?qa=5004/announcement-efficy-11-1-build-r19452-is-available</link>
<description>&lt;p&gt;&lt;strong&gt;Efficy 11.1 Release Build 19452&lt;/strong&gt; is now available from the Efficy Partner FTP.&lt;/p&gt;

&lt;p&gt;This build improves or corrects a number of issues that were present in build r18524 including the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Admin Console: Show 5 highest response times per session.&lt;/li&gt;
&lt;li&gt;Database Upgrade: Do not update content tables on child databases; will be replicated from the parent (CFT-2019-102328).&lt;/li&gt;
&lt;li&gt;Designer: Refresh the COM+ user cache when modifying the user language and timezone (CFT-2019-103277).&lt;/li&gt;
&lt;li&gt;Documents: Binary streams from FILES are loaded on demand to minimize database server bandwidth.&lt;/li&gt;
&lt;li&gt;Edge: Fix action launching before closing the window (same as IE) (CFT-2019-101987).&lt;/li&gt;
&lt;li&gt;Exchange Sync: Correct issue with recurrent appointments in different timezone (CFT-2019-103514).&lt;/li&gt;
&lt;li&gt;Exchange Web Sync: Work-around error when impersonate user has no mailbox (CFT-2019-101852). (published previously as r18562).&lt;/li&gt;
&lt;li&gt;Excel Export: Avoid error because of too long URL when a very large number of columns are selected (CFT-2019-102052).&lt;/li&gt;
&lt;li&gt;Flexmail Sync: Improve behavior when no blacklist is activated for the account (CFT-2019-102390).&lt;/li&gt;
&lt;li&gt;Outlook Add-in: Fix date conversion issue when syncing appointments that occur after the summer hour daylight change (CFT-2019-103083).&lt;/li&gt;
&lt;li&gt;Outlook/Office Add-in: Accelerate initialization when database contains a large number of users (CFT-2019-103455).&lt;/li&gt;
&lt;li&gt;Quotation Builder: Updated version of DocReadWrite component to correct header image issue (CFT-2019-101165).&lt;/li&gt;
&lt;li&gt;ServerJS: Catch exceptions in GetIDsOfNames calls and log all unexpected exceptions in ScriptException.log.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We recommend that you install this build on your production servers.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Robert&lt;/p&gt;
</description>
<category>Announcements</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5004/announcement-efficy-11-1-build-r19452-is-available</guid>
<pubDate>Thu, 07 Nov 2019 16:15:21 +0000</pubDate>
</item>
<item>
<title>Problem with formatting export to Excel</title>
<link>https://overflow.efficy.io/?qa=4989/problem-with-formatting-export-to-excel</link>
<description>&lt;p&gt;In Efficy 11.1 at a customer we’re having problems formatting the Excel columns when exporting a query result :&lt;/p&gt;

&lt;p&gt;Definitions in ExportColumnsCustom.txt :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;format.MARGIN {[#,##0.00 €;[Red]-#,##0.00 €]}  
datatype.MARGIN {[float]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Result for the MARGIN column : &lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=16027687713268540608&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Incorrect only for values bigger than 1000 :&lt;br&gt;
Other 2 columns have the same datatype and format and do work…&lt;/p&gt;

&lt;p&gt;what could be the cause of this ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4989/problem-with-formatting-export-to-excel</guid>
<pubDate>Tue, 05 Nov 2019 13:01:45 +0000</pubDate>
</item>
<item>
<title>Announcement: Efficy 11.1 build r17608 is available</title>
<link>https://overflow.efficy.io/?qa=4328/announcement-efficy-11-1-build-r17608-is-available</link>
<description>&lt;p&gt;&lt;strong&gt;Efficy 11.1 r17608&lt;/strong&gt; is now available from the Efficy Partner FTP.&lt;/p&gt;

&lt;p&gt;This build includes the following corrections or improvements compared to r16590:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Allow filebase and custombase URL parameters to contain slashes (/) and backslashes (&amp;#41;. (published previously as 11.1.16658).&lt;/li&gt;
&lt;li&gt;Concurrent users: Avoid redirection from logon page to desktop when a session has expired (CFT-2019-97098).&lt;/li&gt;
&lt;li&gt;Consult: Hide date if empty for definition &quot;DATE&quot; (CFT-2018-90782).&lt;/li&gt;
&lt;li&gt;Documents: Correction for opening linked files (hasn't worked since Efficy 11.0) (CFT-2019-97939).&lt;/li&gt;
&lt;li&gt;Flexmail: Filter unsupported XML characters in synchro requests (CFT-2019-98445).&lt;/li&gt;
&lt;li&gt;Flexmail: Prevent deleting contact having the same email address in different email fields (CFT-2019-97325).&lt;/li&gt;
&lt;li&gt;Sidebar: Fix efficy: protocol not working after Windows Update for IE. (published previously as 11.1.16948).&lt;/li&gt;
&lt;li&gt;Sidebar: Handle &quot;remote&quot; files in the same way as embedded files (CFT-2019-98977).&lt;/li&gt;
&lt;li&gt;Sidebar: Large files will always remain large files (the initial size decides whether a file is large).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We recommend that you install this build on all Efficy 11.1 installations.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br&gt;
Robert&lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4328/announcement-efficy-11-1-build-r17608-is-available</guid>
<pubDate>Thu, 23 May 2019 15:35:36 +0000</pubDate>
</item>
<item>
<title>Delete a custom entity</title>
<link>https://overflow.efficy.io/?qa=4326/delete-a-custom-entity</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;In one of my project, my customer create a custom entity into the designer that we really need to destroy before going live.&lt;/p&gt;

&lt;p&gt;I need to destroy all fields, tables, relation tables, forms, ... linked to this entity. There no data inside and no code mention it into Efficy or into the custom. &lt;/p&gt;

&lt;p&gt;How to do it properly?&lt;/p&gt;

&lt;p&gt;Thanks in advance for your help.&lt;/p&gt;

&lt;p&gt;Laurent&lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4326/delete-a-custom-entity</guid>
<pubDate>Thu, 23 May 2019 15:05:17 +0000</pubDate>
</item>
<item>
<title>Create a conditionnal DetailMenu</title>
<link>https://overflow.efficy.io/?qa=4302/create-a-conditionnal-detailmenu</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;We would like to customise Efficy in order to have a &lt;code&gt;DetailMenu&lt;/code&gt;, with a condition in it.&lt;/p&gt;

&lt;p&gt;The macro is the following one : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DetailMenu..Docu {[&amp;lt;%GetPopupMenu(id=&quot;detail-menu&quot;, class=&quot;has-icons small&quot;, ulargs='data-channel=&quot;detailmenu&quot;', count=&quot;6&quot;,
text1=&quot;Edit #DETAIL&quot;, image1=&quot;i-edit&quot;,
message1=&quot;edit;{dropdownKey};#DETAIL&quot;,
text2=&quot;Delete #DETAIL&quot;, image2=&quot;i-delete&quot;,
message2=&quot;deleteItem;#DETAIL;{dropdownKey}&quot;,
text3=&quot;Edit Relation&quot;, image3=&quot;i-link&quot;, onlinehelp3=&quot;e110_linkitems&quot;,
message3=`%%IfCategories(then=&quot;editRelation;#ENTITY;#KEY;#DETAIL;{dropdownKey}&quot;)`,
text4=&quot;Duplicate #DETAIL&quot;, image4=&quot;i-Dupl&quot;, onlinehelp4=&quot;e110_duplicateitems&quot;,
message4=&quot;duplicate;#DETAIL;{dropdownKey}&quot;,
text5=&quot;Mark as Handled&quot;, image5=&quot;i-done&quot;,
message5=&quot;markDocumentHandled;{dropdownKey};0&quot;,
text6=&quot;Convert to Opportunity&quot;, image6=&quot;i-Oppo&quot;, rights6=&quot;Oppo&quot;, onlinehelp6=&quot;e110_convertitems2salesopp&quot;,
message6=&quot;convertToEntity;Oppo;#DETAIL;{dropdownKey};Comp\\;Cont\\;Proj\\;Prod;true;NAME&quot;
)%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;What I would like to do is detect the reference or a field value of the document to propose other options.&lt;br&gt;
But the dev on this cannot make it work.&lt;/p&gt;

&lt;p&gt;He tried this, but it does not seems to work &quot;efficiently&quot; (it always show the option, whatever the reference)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DetailMenu..Docu {[
&amp;lt;%GetPopupMenu(
id=&quot;detail-menu&quot;, class=&quot;has-icons small&quot;, ulargs='data-channel=&quot;detailmenu&quot;', count=&quot;7&quot;,
text1=&quot;Edit #DETAIL&quot;, image1=&quot;i-edit&quot;,
message1=&quot;edit;{dropdownKey};#DETAIL&quot;,
text2=&quot;Delete #DETAIL&quot;, image2=&quot;i-delete&quot;,
message2=&quot;deleteItem;#DETAIL;{dropdownKey}&quot;,
text3=&quot;Edit Relation&quot;, image3=&quot;i-link&quot;, onlinehelp3=&quot;e110_linkitems&quot;,
message3=`%%IfCategories(then=&quot;editRelation;#ENTITY;#KEY;#DETAIL;{dropdownKey}&quot;)`,
text4=&quot;Duplicate #DETAIL&quot;, image4=&quot;i-Dupl&quot;, onlinehelp4=&quot;e110_duplicateitems&quot;,
message4=&quot;duplicate;#DETAIL;{dropdownKey}&quot;,
text5=&quot;Mark as Handled&quot;, image5=&quot;i-done&quot;,
message5=&quot;markDocumentHandled;{dropdownKey};0&quot;,
text6=&quot;Convert to Opportunity&quot;, image6=&quot;i-Oppo&quot;, rights6=&quot;Oppo&quot;, onlinehelp6=&quot;e110_convertitems2salesopp&quot;,
message6=&quot;convertToEntity;Oppo;#DETAIL;{dropdownKey};Comp\\;Cont\\;Proj\\;Prod;true;NAME&quot;,
`%%OnField(&quot;MakeNCG&quot;, query=&quot;select CASE WHEN /*doc.REFERENCE LIKE 'DRAFT-%' OR */doc.REFERENCE LIKE 'NC-%' OR doc.id_kleos IS NOT NULL OR doc.F_INVOICE_STATUS &amp;lt; 4 THEN 0 ELSE 1 END AS MakeNCG from DOCUMENTS doc where doc.K_DOCUMENT = {dropdownKey}&quot;, value=1, then=&quot;text7=`Make NC Globalazzz`, image7=`i-edit`, message7=`NCGlobal;{dropdownKey}`&quot;, else=&quot;text7=`Make NC non`, image7=`i-edit`, message7=`NCGlobal;{dropdownKey}`&quot;)`
)%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I suppose there is a way to : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Make this &quot;clean&quot;&lt;/li&gt;
&lt;li&gt;Avoid a SQL query&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Regards, &lt;/p&gt;

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4302/create-a-conditionnal-detailmenu</guid>
<pubDate>Sun, 19 May 2019 12:05:15 +0000</pubDate>
</item>
<item>
<title>Commit doesn't work on detail between custom entity and docu</title>
<link>https://overflow.efficy.io/?qa=4284/commit-doesnt-work-on-detail-between-custom-entity-and-docu</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I have created a new entity named &lt;code&gt;PAIEMENTS&lt;/code&gt;. I have added custom fields in the relation &lt;code&gt;PAIE_DOCU&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;As function &lt;code&gt;AfterCommitOppoProd(oppoProdCxt, Inserted)&lt;/code&gt;  works, I thought that « &lt;code&gt;AfterCommitPaieDocu&lt;/code&gt; would work..... But, the folowing Commit operation doesn't work:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function AfterCommitPaieDocu(PaieDocuCxt, Inserted) {
var PaieDocuDS = Database.GetMasterDataset(PaieDocuCxt, 0);
var PaieKey = PaieDocuDS.FieldByName('K_PAIEMENT').AsFloat;
var DocuKey = PaieDocuDS.FieldByName('K_DOCUMENT').AsFloat;
var APayer = PaieDocuDS.FieldByName('F_A_PAYER').AsFloat;
var Paye = PaieDocuDS.FieldByName('F_PAYE').AsFloat;
var Ecart = PaieDocuDS.FieldByName('F_ECART').AsFloat;
var TotalPaye = Paye + Ecart;
PaieDocuDS.FieldByName('F_ENCAISSEMENT_VALIDE').AsInteger = 1;
Efficy.DisableWorkflow = true;
Efficy.CommitChanges(PaieDocuCxt, false);
Efficy.DisableWorkflow = false;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Do you know the reason?&lt;/p&gt;

&lt;p&gt;The following command works:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function OnInsertDetailPaieDocu(EditHandle, Detail, DetailKey) 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Thank you&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4284/commit-doesnt-work-on-detail-between-custom-entity-and-docu</guid>
<pubDate>Thu, 16 May 2019 13:51:36 +0000</pubDate>
</item>
<item>
<title>Announcement: Efficy 11.2 build r17243 is available</title>
<link>https://overflow.efficy.io/?qa=4118/announcement-efficy-11-2-build-r17243-is-available</link>
<description>&lt;p&gt;&lt;strong&gt;Efficy 11.2 r17243&lt;/strong&gt; is now available from the Efficy Partner FTP.&lt;/p&gt;

&lt;p&gt;New features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CTI: Trigger phone actions when dialing from Efficy.&lt;/li&gt;
&lt;li&gt;DataSync: Publish property efficy.logThreadIndex for import/export scripts. &lt;/li&gt;
&lt;li&gt;Documents: New dialog with more relevant information when conflicting file changes occur.&lt;/li&gt;
&lt;li&gt;Edit: Make edit lock handling more robust by using Ajax calls instead of iframe; recover edit lock after loss of network.&lt;/li&gt;
&lt;li&gt;ServerJS: New efficy.zipFiles function to generate zip archives from a selected list of documents.&lt;/li&gt;
&lt;li&gt;ServerJS: New optional parameter &quot;forceuserrole&quot; in &quot;impersonateuser&quot; RPC command.&lt;/li&gt;
&lt;li&gt;ServerJS: All functions that return a date value (TDateTime) now return a numerical value, not a JS date.&lt;/li&gt;
&lt;li&gt;Sidebar: (Windows and macOS) Allow SAML authentication by persisting additional authentication cookie. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The build improves or corrects a number of issues that were present in build r16578 including the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AliasManager: Fix access violation after adding an alias (CFT-2019-96740).&lt;/li&gt;
&lt;li&gt;API: Fix API IP whitelist check method (CFT-2019-97196).&lt;/li&gt;
&lt;li&gt;DataSynchro: Fix using remote filebase and custombase in import scripts executed before datasync loop (CFT-2019-98454).&lt;/li&gt;
&lt;li&gt;Documents: Correction for opening linked files (hasn't worked since Efficy 11.0) (CFT-2019-97939).&lt;/li&gt;
&lt;li&gt;Edit: Don't write change history log (SYS&lt;em&gt;CHANGED) for P&lt;/em&gt; fields, e.g. P&lt;em&gt;OPENED, P&lt;/em&gt;D_USED.&lt;/li&gt;
&lt;li&gt;Edit: Show warning about read-only and lock in the page, not as pop-up alert (CFT-2019-97156).&lt;/li&gt;
&lt;li&gt;Edit: Fix timestamp format in CKEditor (CFT-2019-96914).&lt;/li&gt;
&lt;li&gt;Edit: Fix encoding issue in TTagGetMultiValueList (CFT-2019-96917).&lt;/li&gt;
&lt;li&gt;Edit: Perform beforeCommit and afterCommit calls even when posting data via Ajax (CFT-2019-97787).&lt;/li&gt;
&lt;li&gt;Efficy: Correct default names of SYS_SETTINGS values (remove trailing spaces).&lt;/li&gt;
&lt;li&gt;Efficy: Corrects registration of COM+ EfficyServer.dll in Setup Efficy 11.2.16578. (published previously as r16718).&lt;/li&gt;
&lt;li&gt;Efficy: Fix dropdown elements hiding behind the toolbar (CFT-2019-97968).&lt;/li&gt;
&lt;li&gt;Entity Picker - User recents: prevent items without key to be shown (CFT-2019-97240).&lt;/li&gt;
&lt;li&gt;Flexmail: Prevent deleting contact having the same email address in different email fields) (CFT-2019-97325).&lt;/li&gt;
&lt;li&gt;Flexmail: Filter unsupported XML characters in synchro requests (CFT-2019-98445).&lt;/li&gt;
&lt;li&gt;Replication: Add missing D_CHANGE field to various recent tables (CFT-2019-97851).&lt;/li&gt;
&lt;li&gt;Search: Avoid encoding the name twice when creating a new contact from Search (CFT-2019-98208).&lt;/li&gt;
&lt;li&gt;Sidebar: Fix efficy: protocol not working after Windows Update for IE. (published previously as r16945).&lt;/li&gt;
&lt;li&gt;Sidebar: Remove read-only attribute from files before putting them in the Recycle Bin.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We recommend that you install this build on all Efficy 11.2 installations.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br&gt;
Robert&lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4118/announcement-efficy-11-2-build-r17243-is-available</guid>
<pubDate>Thu, 18 Apr 2019 16:34:52 +0000</pubDate>
</item>
<item>
<title>Is there any way to use openUrlSecure in a DataSynch Remote ? Env : 11.2 | DatasynchroRemote</title>
<link>https://overflow.efficy.io/?qa=4096/there-openurlsecure-datasynch-remote-datasynchroremote</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I got to use the  openUrlSecure in a serverjs DataSynchro Remote script,&lt;br&gt;
but the function is not supported in this case, &lt;br&gt;
is there any way to use it or any other function to replace it please?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Env : 11.2 | DatasynchroRemote&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4096/there-openurlsecure-datasynch-remote-datasynchroremote</guid>
<pubDate>Fri, 12 Apr 2019 10:51:08 +0000</pubDate>
</item>
<item>
<title>How to get a master Dataset using Datasynchro Remote? Env : 11.1 | DatasynchroRemote</title>
<link>https://overflow.efficy.io/?qa=4087/master-dataset-using-datasynchro-remote-datasynchroremote</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm trying to get the master Dataset using DatasynchroRemote,&lt;br&gt;
i've followed what is specified in edn concernig this need,&lt;/p&gt;

&lt;p&gt;i used : &lt;br&gt;
(Remote) &lt;strong&gt;Efficy.getMasterDataSet(contextHandle, tableViewIndex)&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;which return &lt;strong&gt;TSoapResponseHandle&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;so i used :&lt;/p&gt;

&lt;p&gt;(Remote) Efficy.getDataset(handle) which return normally a TDataset,&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;var dsSale = Efficy.getMasterDataset(editSale,0);&lt;br&gt;
var ds = Efficy.getDataset(dsSale);&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;but unfortunately i get this error:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;SOAP Error : No result&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Could you help me please?&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4087/master-dataset-using-datasynchro-remote-datasynchroremote</guid>
<pubDate>Wed, 10 Apr 2019 15:47:53 +0000</pubDate>
</item>
<item>
<title>[Solution] Create and use a custom relation form for a K_RELATION between two Entities where there where no K_RELATION</title>
<link>https://overflow.efficy.io/?qa=3969/solution-relation-krelation-between-entities-krelation</link>
<description>&lt;p&gt;Hello Efficy Team, &lt;/p&gt;

&lt;p&gt;Because I would like that the Overflow become the source of knowledge for all our daily customisation, I took some time to put in a post a &quot;tricky&quot; customisation. This kind of demands are often asked by customer and we don't always respond to it the right way.&lt;/p&gt;

&lt;h2&gt;Create a custom relation form between Project and Contacts, using a K_RELATION&lt;/h2&gt;

&lt;h3&gt;First step : add a K&lt;em&gt;RELATION in PPROJ&lt;/em&gt;CONT&lt;/h3&gt;

&lt;p&gt;For the context: Efficy is used to manage the leasing of products. Each product can be lease to the same person at different moment. There is always one contact for a single period, but the same contact could lease the same product (or collection of product) multiple time. This is why we use project and we need a K_RELATION.&lt;/p&gt;

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

&lt;p&gt;Adding the K&lt;em&gt;RELATION is quite simple. Just add the field &quot;K&lt;/em&gt;RELATION&quot; in the sys&lt;em&gt;fields with DbEditor (with almost the same parameters as the K&lt;/em&gt;PROJECT and the K_CONTACT).&lt;/p&gt;

&lt;p&gt;Then make an apply structure.&lt;/p&gt;

&lt;h3&gt;Second (very easy) step : creating the form in the designer&lt;/h3&gt;

&lt;p&gt;This is the easiest part. Use the designer to create a new form on the table &quot;PROJ_CONT&quot;. Add the field that you've created. &lt;/p&gt;

&lt;p&gt;Don't forget to write the K_FORM somewhere, this will be useful for the next step.&lt;/p&gt;

&lt;h3&gt;Add the &quot;modify relation&quot; button and show the form&lt;/h3&gt;

&lt;p&gt;2 macros need to be modified : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;MacroConsultCustom

DetailMenu.Proj.Cont {[&amp;lt;%GetPopupMenu(id=&quot;detail-menu&quot;, class=&quot;has-icons small&quot;, ulargs='data-channel=&quot;detailmenu&quot;', count=&quot;4&quot;,
     text1=&quot;Edit #DETAIL&quot;, image1=&quot;i-edit&quot;,
     message1=&quot;edit;{dropdownKey};#DETAIL&quot;,
     text2=&quot;Edit Relation&quot;, image2=&quot;i-link&quot;, onlinehelp2=&quot;e110_linkitems&quot;,
     message2=`editRelation;#ENTITY;#KEY;#DETAIL;{dropdownKey}`,
     text3=&quot;Delete Relation&quot;, image3=&quot;i-delete&quot;, onlinehelp3=&quot;e110_linkitems&quot;,
     message3=&quot;deleteRelation;#ENTITY;#KEY;#DETAIL;{dropdownKey}&quot;,
     text4=&quot;Add Call Back Task&quot;, image4=&quot;i-callback&quot;,  onlinehelp4=&quot;e110_createcallbacktasks&quot;,
     message4=&quot;addCallBack;#ENTITY;#KEY;;{dropdownKey}&quot; 
)%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then you use the K_FORM of your new &quot;custom Project - Contact&quot;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;MacroRelationCustom

RelationSectionsForm.Proj.Cont {[2]}
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Editing the &quot;good&quot; relation&lt;/h3&gt;

&lt;p&gt;If you tested so far, you should see that you can &quot;edit the relation&quot; and your form is showing. But unfortunately, it does not show you current relation. Because we didn't specified witch relation need to be updated.&lt;/p&gt;

&lt;p&gt;We first need to retrieve the K&lt;em&gt;RELATION. For that, we'll duplicate the &quot;K&lt;/em&gt;MASTER=0;K&lt;em&gt;DETAIL=11&quot; and we'll create a new &quot;K&lt;/em&gt;MASTER=20;K_DETAIL=11&quot;&lt;/p&gt;

&lt;p&gt;We just add the K_RELATION on the column &quot;by default&quot; retrieved :&lt;/p&gt;

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

&lt;p&gt;Then we'll overload the default &quot;consult queries&quot; for the relation &quot;PROJ_CONT&quot; :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;MacroConsultCustom :

ConsultQueries.Proj.Cont {[
&amp;lt;%RunQuery(id=&quot;MainComp&quot;, SQL=&quot;select C.K_COMPANY, C.NAME from &amp;lt;#table name='PROJ_COMP'&amp;gt; PC, &amp;lt;#table name='COMPANIES'&amp;gt; C
    where C.K_COMPANY = PC.K_COMPANY and PC.K_PROJECT=:param1 and PC.MAIN=1&quot;, param1=&quot;#K&quot;, store=&quot;1&quot;)%&amp;gt;
&amp;lt;%RunQuery(id=&quot;MainCont&quot;, SQL=&quot;select C.K_CONTACT, C.NAME, C.MIDDLENAME, C.FIRSTNAME from &amp;lt;#table name='PROJ_CONT'&amp;gt; PC, &amp;lt;#table name='CONTACTS'&amp;gt; C
    where C.K_CONTACT = PC.K_CONTACT and PC.K_PROJECT=:param1 and PC.MAIN=1&quot;, param1=&quot;#K&quot;, store=&quot;2&quot;)%&amp;gt;

&amp;lt;%RunQuery(id=&quot;ListCont&quot;, MASTER=&quot;20&quot;, DETAIL=&quot;11&quot;, param1=&quot;%%GetKey()&quot;, mainquery=&quot;true&quot;)%&amp;gt; ]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;We also need to change the &quot;{dropdownKey}&quot; argument passed by our detailMenu (edited before). Efficy know the relation to edit by following this rule : &quot;detailKey_relationKey&quot;. To do this, we'll overload the &quot;MENU&quot; definition, with this new rule : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;MacroConsultCustom :

DetailGridColumns.Proj.Cont     {[MENU{RELATIONMENU},NAME,MIDDLENAME,FIRSTNAME{NAME},PHONE1{PHONE},PHONE2{PHONE},EMAIL1{EMAIL}]}

GridColumnCustom : 

th.RELATIONMENU {[&amp;lt;th class=&quot;icon-cell hide-for-print&quot;&amp;gt; &amp;lt;/th&amp;gt;]}
td.RELATIONMENU {[&amp;lt;td class=&quot;menu icon-cell hide-for-print&quot;&amp;gt;&amp;lt;span class=&quot;dropdown no-pip i-menu small&quot; hello data-dropdown=&quot;detail-menu&quot; data-args=&quot;&amp;lt;#F=K_CONTACT;context=ATTR&amp;gt;_&amp;lt;#F=K_RELATION;context=ATTR&amp;gt;&quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;]} 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then, ... it is done ! You'll be able to Edit the relation between project and contact, starting from the project. In my specific case it wasn't asked to do it starting from the contact itself but it wouldn't be hard to modify.&lt;/p&gt;

&lt;p&gt;I hope it help you in the future, &lt;/p&gt;

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3969/solution-relation-krelation-between-entities-krelation</guid>
<pubDate>Tue, 19 Feb 2019 19:32:31 +0000</pubDate>
</item>
<item>
<title>How to generate specific DataSynchro log files?</title>
<link>https://overflow.efficy.io/?qa=3928/how-to-generate-specific-datasynchro-log-files</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I need to generate specific DataSynchro log files which contains some details that the client needs( number of records, number of errors, imported recors, rejected  records ...)&lt;/p&gt;

&lt;p&gt;PS: the import is scheduled.&lt;/p&gt;

&lt;p&gt;Could you help me doing that please?&lt;/p&gt;

&lt;p&gt;Thanks&lt;br&gt;
Regards&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3928/how-to-generate-specific-datasynchro-log-files</guid>
<pubDate>Fri, 08 Feb 2019 09:44:12 +0000</pubDate>
</item>
<item>
<title>Collect URL's of all shared document, linked to a contact</title>
<link>https://overflow.efficy.io/?qa=3886/collect-urls-of-all-shared-document-linked-to-a-contact</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;For a customer we have made a connection between Efficy and their portal, using a webservice. We want to be able to show all shared documents (public links), linked to this contact.&lt;/p&gt;

&lt;p&gt;My question: Can we collect the URL's of all shared documents linked to a contact ?&lt;br&gt;
And all URL's of all shared single files within documents linked to the contact ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3886/collect-urls-of-all-shared-document-linked-to-a-contact</guid>
<pubDate>Fri, 25 Jan 2019 13:37:51 +0000</pubDate>
</item>
<item>
<title>How to make a pubic shared file readable by the browser</title>
<link>https://overflow.efficy.io/?qa=3879/how-to-make-a-pubic-shared-file-readable-by-the-browser</link>
<description>&lt;p&gt;Hello Team, &lt;/p&gt;

&lt;p&gt;I would like to extend a functionality of the file sharing.&lt;/p&gt;

&lt;p&gt;In the extranet of a customer, we have 4 images. In the CRM, those 4 images are a files (attachement of a document). &lt;/p&gt;

&lt;p&gt;Previously, when this files were committed, it created a new file on the server, as real image. This solution is not longer possible due to the new policies of the Cloud Team (it is not allowed anymore of write something in the server). Wich I can totally understand.&lt;/p&gt;

&lt;p&gt;After discussion with the cloud team, they advice me to create a public sharing link of the file. We store the link in the sys_storages.&lt;/p&gt;

&lt;p&gt;This part work greate. We can update the image, then a new public link is generated. &lt;/p&gt;

&lt;p&gt;But as result, the image is not showed. &lt;/p&gt;

&lt;p&gt;We can see in the HTML : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;img scr=&quot;https://files.efficy.com/file/download?p=6S4WVsBrGRC1NcW3D8acrlt%2FIxTP8ngRojoViM6nVkoJRyCRHRokoAgpzdJ9kJqGlmiKOYu9a1UJ3LkMi6NtliTwYxkoloPyoluUHT%2BxAFcOo%2FuIoqfPNpeK4wRLyWvoYIU%2FJ6put98H5kzKCkITkg%3D%3D&quot;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This is the correct link. But the browser don't try to show the image. If you click on the link, it download the image. &lt;/p&gt;

&lt;p&gt;What is strange : I used the same &quot;hack&quot; to send an email with an image. This work perfectly.&lt;/p&gt;

&lt;p&gt;Can't we make the image showed ? If this work, the possibilities of customisation would be really amazing :) &lt;/p&gt;

&lt;p&gt;Thanks in advance for your help, &lt;/p&gt;

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3879/how-to-make-a-pubic-shared-file-readable-by-the-browser</guid>
<pubDate>Thu, 24 Jan 2019 07:23:15 +0000</pubDate>
</item>
<item>
<title>How to determine K_RELATION in DOCU_PROD using a direct database-update</title>
<link>https://overflow.efficy.io/?qa=3855/determine-krelation-docuprod-using-direct-database-update</link>
<description>&lt;p&gt;I'm trying to insert rows in the table DOCU_PROD using an external program. So I'm not able to use Efficy-functions. &lt;/p&gt;

&lt;p&gt;All columns are quite logical, but I'm not sure &lt;strong&gt;how to determine the content of K_RELATION&lt;/strong&gt;? Can I just define a random value? Or is it (as the name of the column suggests) a relation to another table? As far as I have seen the values do not need to be unique. &lt;/p&gt;

&lt;p&gt;Edit: I tried to set K&lt;em&gt;RELATION = 0. But when trying to edit the document afterwards it results in the following error: Vind detail met sleutel &quot;97&quot; en relatie &quot;612593356&quot; niet terug&lt;br&gt;
so somehow there must be a logical way to deterime K&lt;/em&gt;RELATION. Does someone know?&lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3855/determine-krelation-docuprod-using-direct-database-update</guid>
<pubDate>Fri, 11 Jan 2019 20:39:27 +0000</pubDate>
</item>
<item>
<title>request API Soap for lookup</title>
<link>https://overflow.efficy.io/?qa=3805/request-api-soap-for-lookup</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I try to create an envelop to return custom lookup data with the api soap. My envelop work fine with a query but i got an error with  &lt;br&gt;
here is my code: &lt;br&gt;
&lt;/p&gt;

&lt;p&gt;I check the table id and the name of the field and they are right, and exists.&lt;/p&gt;

&lt;p&gt;the response is:&lt;br&gt;
 &lt;br&gt;
        &lt;br&gt;
            EOleException&lt;br&gt;
            LookupTableManager&lt;br&gt;
Cannot fetch Lookup Table Values on table &quot;LK&lt;em&gt;ACTI&lt;/em&gt;STATUS.F_LABEL&quot;&lt;/p&gt;

&lt;h2&gt;ErrorContext&lt;/h2&gt;

&lt;p&gt;EEfficyLookupTableError 1806&lt;br&gt;
(ENTT-1515) LookupTableManager&lt;br&gt;
FieldName &quot;0&quot; not found in SYS_FIELDS&lt;/p&gt;

&lt;h2&gt;Error&lt;/h2&gt;

&lt;p&gt;EEfficyLookupTableError 1805&lt;br&gt;
(ENTT-1510) LookupTableManager&lt;br&gt;
Cannot fetch Lookup Table Values on table &quot;LK&lt;em&gt;ACTI&lt;/em&gt;STATUS.F_LABEL&quot;&lt;/p&gt;

&lt;h2&gt;Error&lt;/h2&gt;

&lt;p&gt;ESlspException 0&lt;br&gt;
Application Server Error&lt;br&gt;
            &amp;lt;faultid/&amp;gt;&lt;br&gt;
            ENTT-1515&lt;br&gt;
        &lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3805/request-api-soap-for-lookup</guid>
<pubDate>Thu, 03 Jan 2019 09:13:29 +0000</pubDate>
</item>
<item>
<title>Activate Extranet locally for Efficy 11.1</title>
<link>https://overflow.efficy.io/?qa=3663/activate-extranet-locally-for-efficy-11-1</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I need to make some changes to the Extranet for a customer, but I'm unable to load the Extranet pages locally. I get the following error:&lt;br&gt;
D: ENTT-2303&lt;br&gt;
Message: File repository not configured&lt;br&gt;
Comment:&lt;br&gt;
Details: Application Server Error&lt;br&gt;
Application Server Error&lt;br&gt;
Application Server Error&lt;/p&gt;

&lt;h2&gt;ErrorContext&lt;/h2&gt;

&lt;p&gt;ESlspException 0&lt;br&gt;
File repository not configured&lt;/p&gt;

&lt;h2&gt;ErrorContext&lt;/h2&gt;

&lt;p&gt;EEfficyException 0&lt;br&gt;
(ENTT-2303) File repository not configured&lt;br&gt;
(ENTT-2303) File repository not configured&lt;/p&gt;

&lt;p&gt;This happens when the following call is done in the logon-page:&lt;br&gt;
Call ForgotPasswordURL(database=customer, context=ATTR)&lt;/p&gt;

&lt;p&gt;How can I solve this problem?&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Extranet / HelpDesk</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3663/activate-extranet-locally-for-efficy-11-1</guid>
<pubDate>Wed, 14 Nov 2018 14:17:05 +0000</pubDate>
</item>
<item>
<title>PDF OFFICE CONVERTER Error Class not registered</title>
<link>https://overflow.efficy.io/?qa=3661/pdf-office-converter-error-class-not-registered</link>
<description>&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=8797581208294428711&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;How resolve this problem ? &lt;/p&gt;

&lt;p&gt;I follow this process, with success on an 11.1 but in production with a version 11.0 it doesn't work properly.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/admin/scpr_pdfofficeconverter&quot;&gt;https://help.efficy.com/edn/admin/scpr_pdfofficeconverter&lt;/a&gt;&lt;/p&gt;
</description>
<category>Errors</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3661/pdf-office-converter-error-class-not-registered</guid>
<pubDate>Tue, 13 Nov 2018 13:28:19 +0000</pubDate>
</item>
<item>
<title>Run multiple &lt;#repeat&gt; in getdatagird</title>
<link>https://overflow.efficy.io/?qa=3605/run-multiple-repeat-in-getdatagird</link>
<description>&lt;p&gt;Hello Efficy-team, &lt;/p&gt;

&lt;p&gt;I would like to do something like this, in pure macro : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%GetDataGrid(query='myMainQuery',
    templateText=
        `&amp;lt;#repeat&amp;gt;
            [Something]

            &amp;lt;%GetDataGrid(query='mySuperQuery&amp;lt;#F=K_SOMETHING&amp;gt;',
                templateText=
                |&amp;lt;#repeat&amp;gt;
                    [.. something else ... ]
                &amp;lt;/#repeat&amp;gt;|
            )%&amp;gt;
        &amp;lt;/#repeat&amp;gt;`
)%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But I that way, I got a conflict between the two &amp;lt;#repeat&amp;gt; tags. Is there a workaround ? Is this even possible ? &lt;/p&gt;

&lt;p&gt;As workaround, I will use a serverscript to load my data. But I would have prefer in pure macro.&lt;/p&gt;

&lt;p&gt;Thanks, &lt;/p&gt;

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3605/run-multiple-repeat-in-getdatagird</guid>
<pubDate>Thu, 18 Oct 2018 19:54:06 +0000</pubDate>
</item>
<item>
<title>Is servicy.css in custom Possible ?</title>
<link>https://overflow.efficy.io/?qa=3523/is-servicy-css-in-custom-possible</link>
<description>&lt;p&gt;Is it possible to customize the servicy.css to change the logo on the &quot;forgotten password&quot; on the extranet ?&lt;/p&gt;

&lt;p&gt;If so, what is the folder structure ?&lt;/p&gt;
</description>
<category>Extranet / HelpDesk</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3523/is-servicy-css-in-custom-possible</guid>
<pubDate>Tue, 11 Sep 2018 10:09:32 +0000</pubDate>
</item>
<item>
<title>detailExists return true even if nothing linked</title>
<link>https://overflow.efficy.io/?qa=3437/detailexists-return-true-even-if-nothing-linked</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;We have a problem in one of our workflow.&lt;br&gt;
The following code :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var detailExist = Efficy.detailExists(EditHandle, ntComp);
throw new Error(detailExist.toString());
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;ALWAYS return true. Even if there is no company linked.&lt;/p&gt;

&lt;p&gt;For the context : We are in a workflow, in BeforeCommitProj. We just need to test if a company has been linked or not. &lt;/p&gt;

&lt;p&gt;I did use this code in other version of efficy with an other entity (contacts), it worked as a charm. &lt;/p&gt;

&lt;p&gt;Is detailExists not available for a project ? Or did I missed something ?&lt;/p&gt;

&lt;p&gt;As workaround, we use the following code : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;if(!Efficy.getMainDetail(EditHandle, ntComp))  throw new Error('A company must be linked');
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Thanks in advance, &lt;/p&gt;

&lt;p&gt;Loïc &amp;amp; Vanessa&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3437/detailexists-return-true-even-if-nothing-linked</guid>
<pubDate>Thu, 02 Aug 2018 11:07:51 +0000</pubDate>
</item>
<item>
<title>Automatic URL redirect to the right custom folder</title>
<link>https://overflow.efficy.io/?qa=3416/automatic-url-redirect-to-the-right-custom-folder</link>
<description>&lt;p&gt;I would like to automatically redirect users from our base weburl efficy.example.nl to the right custom code. &lt;/p&gt;

&lt;p&gt;So normally it already redirects to &lt;em&gt;efficy.example.nl/crm/home?PAGE=pages/logon.htm&amp;amp;custombase=&lt;strong&gt;default&lt;/strong&gt;&amp;amp;filebase=efficy&amp;amp;database=Efficy&lt;/em&gt;, but now I want to change this to &lt;/p&gt;

&lt;p&gt;&lt;em&gt;efficy.example.nl/crm/home?PAGE=pages/logon.htm&amp;amp;custombase=&lt;strong&gt;custom_prod&lt;/strong&gt;&amp;amp;filebase=efficy&amp;amp;database=Efficy&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Since Efficy11 I'm not sure how to set these redirect settings. I tried a lot, but until now without result.&lt;/p&gt;

&lt;p&gt;Thanks for your help!&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3416/automatic-url-redirect-to-the-right-custom-folder</guid>
<pubDate>Tue, 24 Jul 2018 12:21:52 +0000</pubDate>
</item>
<item>
<title>Export products in document to Excel template</title>
<link>https://overflow.efficy.io/?qa=3382/export-products-in-document-to-excel-template</link>
<description>&lt;p&gt;I am struggling with creating a descent Excel template which can contain the complete content of the shopping cart of a document. &lt;/p&gt;

&lt;p&gt;I found this (Efficy2012) explenation of a RTF-template, but I did not manage to get the same result with Excel: &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/user/e2012_templates_example_detailtable&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/user/e2012_templates_example_detailtable&quot;&gt;https://help.efficy.com/user/e2012_templates_example_detailtable&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;[$GetRtfTable(&quot;Prod&quot;, filter=&quot; quantity=0&quot; sum=Total)]&lt;br&gt;
&amp;lt;#H=Name&amp;gt;   &amp;lt;#H=Quantity&amp;gt;   &amp;lt;#H=Price&amp;gt;  &amp;lt;#H=Total&amp;gt;&amp;lt;#repeat&amp;gt;&lt;br&gt;
&amp;lt;#F=Name&amp;gt;   &amp;lt;#F=Quantity&amp;gt;   &amp;lt;#F=Price&amp;gt;  &amp;lt;#F=Total&amp;gt;&amp;lt;/#repeat&amp;gt;&lt;br&gt;
&amp;lt;#sum&amp;gt;  &amp;lt;#F=Total&amp;gt;&amp;lt;/#sum&amp;gt;&lt;br&gt;
[/$]&lt;/p&gt;

&lt;p&gt;When creating a template in Excel I only manage to export the first first. How to solve this?&lt;br&gt;
Or in other words: how to use 'repeat' In excel?&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3382/export-products-in-document-to-excel-template</guid>
<pubDate>Thu, 05 Jul 2018 17:31:12 +0000</pubDate>
</item>
<item>
<title>Customize servicy filesharing</title>
<link>https://overflow.efficy.io/?qa=3357/customize-servicy-filesharing</link>
<description>&lt;p&gt;I would like to customize the pages used for the new file-sharing functionality. Of course it would be nice if I can do this without editing the standard code. Is this possible, and how should I do this properly?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3357/customize-servicy-filesharing</guid>
<pubDate>Fri, 29 Jun 2018 06:40:15 +0000</pubDate>
</item>
<item>
<title>Agenda reactivate scrollTime in main.js</title>
<link>https://overflow.efficy.io/?qa=3244/agenda-reactivate-scrolltime-in-main-js</link>
<description>&lt;p&gt;Since Efficy10 scrollTime has been removed. Since we would like to see all 24 hours in a day, I would like to be able to start with 7:00 am for scrolling. &lt;/p&gt;

&lt;p&gt;I already changed the minTime, maxTime, slotDuration (bij 15 minutes instead of 30) and slotLabelInterval. But whatever I try, it seems not possible to change the scrollTime which used to be there in Efficy2014.&lt;/p&gt;

&lt;p&gt;See &lt;a rel=&quot;nofollow&quot; href=&quot;https://fullcalendar.io/docs/scrollTime&quot;&gt;https://fullcalendar.io/docs/scrollTime&lt;/a&gt; for more info.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;_initConfigAgendaOptions: function () {
        var minTime = Url.getArgument('minTime') || Model('minTime'),
            maxTime = Url.getArgument('maxTime') || Model('maxTime');
        this.config.set({
            slotLabelFormat: Model('slotLabelFormat'),
            minTime:         minTime ? minTime.split(' ')[1] || '00:00:00' : '00:00:00',
            maxTime:         maxTime ? maxTime.split(' ')[1] || '24:00:00' : '24:00:00',
            slotDuration:    '00:15:00',    //standaard 30 minuten
            slotLabelInterval: '01:00',
            scrollTime:      '07:00:00'
        });
    },
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I also tried _initConfigGeneralDisplay, _initConfigViews and _initConfigTextTimeCustom for adding scrollTime, but no result yet.&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3244/agenda-reactivate-scrolltime-in-main-js</guid>
<pubDate>Fri, 08 Jun 2018 17:48:20 +0000</pubDate>
</item>
</channel>
</rss>