<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions in Efficy Developers</title>
<link>https://overflow.efficy.io/?qa=questions/developers</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to overwrite/customize ckeditor.config.js properly ?</title>
<link>https://overflow.efficy.io/?qa=7207/how-to-overwrite-customize-ckeditor-config-js-properly</link>
<description>&lt;p&gt;Does anyone know how to customize CKEditor configuration ? &lt;br&gt;
Currently in standard we have the configuration file &lt;strong&gt;ckeditor.config.js&lt;/strong&gt;. &lt;br&gt;
But there is no proper way to use the custom config file when an CKEditor intance is created. &lt;br&gt;
The only way I found is to overwrite &lt;strong&gt;initCkEditor&lt;/strong&gt; function in &lt;strong&gt;editView.js&lt;/strong&gt; that calls the &lt;strong&gt;ckeditor.config.js&lt;/strong&gt; file &lt;/p&gt;

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

&lt;p&gt;But I find it odd to modify it like this. There are several places where the &lt;strong&gt;customConfig&lt;/strong&gt; file path is called not only in editView. &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7207/how-to-overwrite-customize-ckeditor-config-js-properly</guid>
<pubDate>Tue, 02 Dec 2025 09:44:56 +0000</pubDate>
</item>
<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>Placeholders must be setted to be interpreted ?</title>
<link>https://overflow.efficy.io/?qa=7198/placeholders-must-be-setted-to-be-interpreted</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I want to do some jobs depend if a placeholder is setted in the previous macro or not.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%If('$LABEL$', then='$LABEL$', else=|&amp;lt;%GetLabel('$DETAIL$s')%&amp;gt;|)%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So if I have:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;FoncRelations#Fonc {[&amp;lt;%Macro('EntityRelationsTemplate', detail='Fonc', $caption$='Add Link to Fonc')%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;=&amp;gt; &lt;code&gt;$LABEL$&lt;/code&gt; shouldn't be setted &lt;/p&gt;

&lt;p&gt;and if I have :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;FoncRelations.exam#Fonc {[&amp;lt;%Macro('EntityRelationsTemplate', detail='Fonc', $caption$='Add Link to Fonc', $label$='Surveillants')%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;=&amp;gt; &lt;code&gt;$LABEL$&lt;/code&gt; is setted&lt;/p&gt;

&lt;p&gt;But the problem is when I want to check if &lt;code&gt;$LABEL$&lt;/code&gt; is setted, &lt;code&gt;$LABEL$&lt;/code&gt; is considered as a string '$LABEL$' and not interpreted as empty string ''&lt;/p&gt;

&lt;p&gt;So &lt;br&gt;
I always have either the value in &lt;code&gt;$LABEL$&lt;/code&gt; or exactly the string &quot;$LABEL$&quot;&lt;/p&gt;

&lt;p&gt;and I'm forced to use : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%If('$LABEL$', condition='contains', value='LABEL', then=|&amp;lt;%GetLabel('$DETAIL$s')%&amp;gt;|, else='$LABEL$')%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to be sure &lt;code&gt;$LABEL$&lt;/code&gt; is really interpreted and not just the text '$LABEL$'&lt;/p&gt;

&lt;p&gt;It's the normal behavor ? &lt;br&gt;
Thanks in advance :) &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7198/placeholders-must-be-setted-to-be-interpreted</guid>
<pubDate>Tue, 21 Oct 2025 07:40:33 +0000</pubDate>
</item>
<item>
<title>How to deactivate OpenUrl.log log file ?</title>
<link>https://overflow.efficy.io/?qa=7196/how-to-deactivate-openurl-log-log-file</link>
<description>&lt;p&gt;Hi &lt;/p&gt;

&lt;p&gt;I'm trying to deactivate openUrl file log, cause the OpenUrl.log file is really too big (more than 1Go).&lt;br&gt;
I wanted to change SYS_SETTINGS in the designer, and add logOpenUrlRequests option (as advised here : &lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=7085/when-is-openurl-log-generated)...&quot;&gt;https://overflow.efficy.io/?qa=7085/when-is-openurl-log-generated)...&lt;/a&gt; But the logOpenUrlRequests isn't reconnized when I save my settings (the options disappears)&lt;/p&gt;

&lt;p&gt;Can I have a solution ? a documentation for the options for SYS_SETTINGS ? anything else ? &lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7196/how-to-deactivate-openurl-log-log-file</guid>
<pubDate>Tue, 14 Oct 2025 09:15:05 +0000</pubDate>
</item>
<item>
<title>does LOOKUPMASTER still working in Efficy enterprise 2024 ?</title>
<link>https://overflow.efficy.io/?qa=7187/does-lookupmaster-still-working-in-efficy-enterprise-2024</link>
<description>&lt;p&gt;hello&lt;br&gt;
we try to migrate code from 11.3 / 12.0 version to 2024 but we can't use anymore the solution of the field.LOOKUPMASTER&lt;/p&gt;

&lt;p&gt;Any alternate solution ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7187/does-lookupmaster-still-working-in-efficy-enterprise-2024</guid>
<pubDate>Thu, 10 Jul 2025 15:07:41 +0000</pubDate>
</item>
<item>
<title>Does Enterprise &lt;&gt; Apsis connector accept virtual fields on field mapping ?</title>
<link>https://overflow.efficy.io/?qa=7184/enterprise-apsis-connector-accept-virtual-fields-mapping</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Did someone used a virtual (V_ with usage P) field during a mapping between Enterprise &amp;lt;&amp;gt; Apsis ? &lt;br&gt;
I was told that virtual fields are supported by Enterprise &amp;lt;&amp;gt; Apsis connector. It is possible to select the field during the mapping (Apsis interface). But when running the full sync I am getting the error that &lt;code&gt;V_  fields is invalid column name&lt;/code&gt; which is normal in Enterprise as it's a virtual field.&lt;/p&gt;

&lt;p&gt;To get the contacts based on mapped fields in Apsis, Apsis calls an Enterprise node/api end point &lt;code&gt;serverjs\api\node\marketing\apsis\contacts.js&lt;/code&gt; which calls a function from  &lt;code&gt;serverjs\marketing\apsis.js &amp;gt; contacts&lt;/code&gt; that runs a query using the provided list of fields from a payload.&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=15271177369622694093&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Internal replies from @Kristof Pauwels:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The consult, list and search API do not support virtual fields, they&lt;br&gt;
are always excluded from the result.  That's not wrong on itself, it&lt;br&gt;
guarantees the best performance. Only when running a query, virtual&lt;br&gt;
fields can be included. So it will depend on what operation the Apsis integration uses. There are dedicated Apsis system queries and ServerJs node endpoints..&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can also decide to override the contacts method with a custom&lt;br&gt;
version. Try using the &lt;code&gt;&amp;lt;#Field&amp;gt;&lt;/code&gt; tag and see if its replaced by the&lt;br&gt;
SQL expression, else you have to hardcode the SQL expression and&lt;br&gt;
alias it as V_MYCOLUMN.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7184/enterprise-apsis-connector-accept-virtual-fields-mapping</guid>
<pubDate>Tue, 01 Jul 2025 13:41:14 +0000</pubDate>
</item>
<item>
<title>how to set main = 1 using /addrelation web request</title>
<link>https://overflow.efficy.io/?qa=7181/how-to-set-main-1-using-addrelation-web-request</link>
<description>&lt;p&gt;Hi, i'm using web request /addrelation like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;fetch(
&quot;/crm/addrelation?edithandle=&quot;.concat(
  Model.get(&quot;editHandle&quot;),
  &quot;&amp;amp;bookmark=&quot;,
  Model.get(&quot;bookmark&quot;),
  &quot;&amp;amp;entity=Mark&amp;amp;key=&quot;,
  kMarket
).then(...)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It is working this way, but how would i set main = 1 in the relation, using this request?&lt;/p&gt;

&lt;p&gt;Thanks in advance!&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7181/how-to-set-main-1-using-addrelation-web-request</guid>
<pubDate>Wed, 28 May 2025 16:48:01 +0000</pubDate>
</item>
<item>
<title>Export Multivalue field that is on relation table is not working</title>
<link>https://overflow.efficy.io/?qa=7180/export-multivalue-field-that-is-relation-table-not-working</link>
<description>&lt;p&gt;I have multivalue fields on a relation table &quot;&lt;code&gt;DEMA_DIIN&lt;/code&gt;&quot;: &lt;code&gt;F_DD_OS&lt;/code&gt;, &lt;code&gt;F_DD_GOS&lt;/code&gt;, &lt;code&gt;F_DD_CT&lt;/code&gt;&lt;br&gt;
I have added them to the &lt;code&gt;SYS_QUERIES&lt;/code&gt; and they are display in consult tab correctly&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=7440275144033376856&quot; alt=&quot;DEMA_DIIN consult&quot;&gt;&lt;/p&gt;

&lt;p&gt;In the consult tab code, I have the following table headers:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;table 
class=&quot;data-grid grid-density-0&quot; 
data-channel=&quot;entitylist/grid&quot; 
data-entity=&quot;Diin&quot; data-recordcount=&quot;3&quot; 
data-columnlist=&quot;F_ACRONYM,F_DD_OS,F_DD_GOS,F_DD_CT,F_DD_INT_DISPO{MEMO},F_DD_MONT_DEMANDE{NUMERIC},F_DD_POUR_DEMANDE{PERCENTAGE},F_DD_MONT_ACCORDE{NUMERIC},F_DD_POUR_ACCORDE{PERCENTAGE},R_F_DD_AVIS,F_DD_COMMENTAIRE{MEMO}&quot; 
data-inlineedit-columns=&quot;0{TEXT},1{MULTIVALUE},2{MULTIVALUE},3{MULTIVALUE},4{MEMO},5{NUMERIC},6{PERCENTAGE},7{NUMERIC},8{PERCENTAGE},9{LOOKUPDROPDOWNSEARCH},10{MEMO}&quot; 
data-inlineedit-origins=&quot;DIINS,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN,DEMA_DIIN&quot; 
data-queryhandle=&quot;35&quot;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I have also added the following definition in ExportColumnsCustom.txt: (60058 is the &lt;code&gt;K_TABLE&lt;/code&gt; of the relation table &quot;&lt;code&gt;DEMA_DIIN&lt;/code&gt;&quot; where the field is)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;datatype.F_DD_OS,
datatype.F_DD_GOS,
datatype.F_DD_CT {[text]}

cell.F_DD_OS,
cell.F_DD_GOS,
cell.F_DD_CT {[&amp;lt;#F=$FIELD$;MULTIVALUE=T;TABLEID=60058;FIELDID=$FIELDID$;SEPARATOR=, ;context=tag&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;When I tried to export to Excel I have the following error which is strange because I specified the TABLEID in ExportColumnsCustom.txt which correspond to the &lt;code&gt;DEMA_DIIN&lt;/code&gt; table not the DIINS table.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Message&lt;/strong&gt;: LookupTableManager&lt;br&gt;
&lt;strong&gt;Cannot fetch Lookup Table Values on table&lt;/strong&gt; &quot;&lt;code&gt;DIINS.F_DD_GOS&lt;/code&gt;&quot;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=13021793625500079603&quot; alt=&quot;Excel Export Error&quot;&gt;&lt;/p&gt;

&lt;p&gt;Does anyone have a solution for this issue ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7180/export-multivalue-field-that-is-relation-table-not-working</guid>
<pubDate>Wed, 28 May 2025 16:08:40 +0000</pubDate>
</item>
<item>
<title>How to make appear a filter on same fields for different entities in query builder ?</title>
<link>https://overflow.efficy.io/?qa=7179/make-appear-filter-fields-different-entities-query-builder</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Imagine you have a query that shows list of document and the contacts that are linked to it.&lt;/p&gt;

&lt;p&gt;The selection fields will be DOCUMENTS.NAME, CONTACTS.NAME, CONTACTS.FIRSTNAME, etc..&lt;/p&gt;

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

&lt;p&gt;When running the query I've get the grid with the results. On the header of DOCUMENTS.NAME I have a filter that allows to search/filter by document name.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=3655404963710729320&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;When looking into CONTACTS.NAME header the filter is not present.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=15958168956195280864&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;From what I understand the same field naming NAME causes the issue. But when I set an alias on one of them I loose the filter too.&lt;/p&gt;

&lt;p&gt;How could I manage to show the filter on both NAME fields ? &lt;br&gt;
Should I name (alias) a field and use the alias to create a grid definition to make include the filter ? &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Finally with custom definition of an ALIAS it works.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=15585575705114281849&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;In GridColumnsCustom.txt: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;th.ContactName {[&amp;lt;th class=&quot;text-center nowrap&quot;&amp;gt;&amp;lt;#H=$FIELD$;sort=true;hfilter=true&amp;gt;&amp;lt;/th&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The main point is to have the propriety &lt;strong&gt;hfilter=true&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;To make it more generic alias ENTITYNAME.&lt;br&gt;
GridColumnsCustom.txt: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;th.ENTITYNAME {[&amp;lt;th class=&quot;text-center nowrap&quot;&amp;gt;&amp;lt;#H=$FIELD$;sort=true;hfilter=true;Text=$ENTITY$Name&amp;gt;&amp;lt;/th&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And the $ENTITY$Name depending on entity will be ContName, CompName, etc... can be translated in CustomLabels.txt.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7179/make-appear-filter-fields-different-entities-query-builder</guid>
<pubDate>Tue, 27 May 2025 07:40:28 +0000</pubDate>
</item>
<item>
<title>Did You Know? PDF Hack for Nitro Signature Tags!</title>
<link>https://overflow.efficy.io/?qa=7174/did-you-know-pdf-hack-for-nitro-signature-tags</link>
<description>&lt;p&gt;&lt;strong&gt;Did You Know? PDF Hack for Nitro Signature Tags!&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Game-changing discovery&lt;/strong&gt;: You can add Nitro signature tags directly to PDF files without converting from Word!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Challenge&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of our clients,  recently shared their frustration with our standard process:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;They were told they needed to create documents in Word&lt;/li&gt;
&lt;li&gt;Add Nitro tags like  in Word&lt;/li&gt;
&lt;li&gt;Convert to PDF&lt;/li&gt;
&lt;li&gt;Only then send for signatures through our module&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This workflow was particularly cumbersome for their team who primarily works with PDF files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Solution We Discovered&lt;/strong&gt;&lt;br&gt;
During a client call, we tested a simple but effective workaround:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the PDF directly in Adobe Acrobat Reader&lt;/li&gt;
&lt;li&gt;Add a text element containing the Nitro tag (e.g., )&lt;/li&gt;
&lt;li&gt;Change the text color to match the background (making it invisible)&lt;/li&gt;
&lt;li&gt;Save the file&lt;/li&gt;
&lt;li&gt;Upload to Enterprise document and create a signature request&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;The Result&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;✅ Success! Nitro correctly identified the hidden tags and replaced them with signatures&lt;/p&gt;

&lt;p&gt;✅ The client received properly signed documents&lt;/p&gt;

&lt;p&gt;✅ No Word-to-PDF conversion needed!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Client Feedback&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&quot;Next time when pitching to clients, don't forget to tell them they can use PDF directly to include tags. This could make a big difference and avoid misguiding cases like we had.&quot;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This small change can significantly improve workflow efficiency for clients who primarily work with PDFs!&lt;/strong&gt;&lt;/p&gt;
</description>
<category>Reporting Solutions</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7174/did-you-know-pdf-hack-for-nitro-signature-tags</guid>
<pubDate>Tue, 13 May 2025 16:59:23 +0000</pubDate>
</item>
<item>
<title>Syntax for function OnAddLinkOppoPubl(Key, DetailKey)</title>
<link>https://overflow.efficy.io/?qa=7172/syntax-for-function-onaddlinkoppopubl-key-detailkey</link>
<description>&lt;p&gt;Hi,&lt;br&gt;
What is the syntax using the function OnAddLinkOppoPubl(Key, DetailKey) ?&lt;br&gt;
I just want to update the STATUS field of the opportunity after adding a link from the publication to the opportunity.&lt;br&gt;
Thank you&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7172/syntax-for-function-onaddlinkoppopubl-key-detailkey</guid>
<pubDate>Tue, 22 Apr 2025 10:17:09 +0000</pubDate>
</item>
<item>
<title>How to show only the records directly linked to the connected user in list view (USERSELECTION query tag)?</title>
<link>https://overflow.efficy.io/?qa=7170/records-directly-linked-connected-list-userselection-query</link>
<description>&lt;p&gt;&lt;strong&gt;@Stéphane Roncin&lt;/strong&gt; pointed out that , since the Enterprise 2021 and + , the Oppo list view don't show the records of groups that are linked to the record and the connected user is part of (linked to the group). It only shows the records that are directly linked to the user. Which wasn't the case for version under 2021.&lt;/p&gt;

&lt;p&gt;The difference is in the the SYS&lt;em&gt;QUERIES:  K&lt;/em&gt;MASTER(22), K_DETAIL(0).&lt;br&gt;
&lt;code&gt;&amp;lt;#USERSELECTION usertable=&quot;OPPO_USER&quot; key=&quot;K_OPPORTUNITY&quot; isactiveparam=&quot;true&quot; directlink=&quot;true&quot;&amp;gt; U1&lt;/code&gt; the argument directlink=&quot;true&quot;. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;directlink&lt;/strong&gt; - &lt;em&gt;Optional argument, if not empty, consider only items directly linked to the users, do no consider groups&lt;/em&gt; (see: &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/querytags#userselection)&quot;&gt;https://help.efficy.io/edn/querytags#userselection)&lt;/a&gt; . In case if you want the behavior from previous versions just remove the argument &lt;code&gt;directlink&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Now. If  you want to have the same behavior as in Oppo for other Entities list view you need to change the SYS_QUERIES list of your entity  and use USERSELECTION. &lt;/p&gt;

&lt;p&gt;Ex.: Companies List (SYS&lt;em&gt;QUERIES: K&lt;/em&gt;MASTER(10), K_DETAIL(0))&lt;/p&gt;

&lt;p&gt;Standard version: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[Select]
COMPANIES.K_COMPANY
COMPANIES.NAME
COMPANIES.BUILDING
COMPANIES.CITY
COMPANIES.COUNTRY
COMPANIES.PHONE1
COMPANIES.EMAIL1
COMPANIES.WEB1
COMPANIES.OPENED
COMPANIES.LONGITUDE
COMPANIES.LATITUDE
COMPANIES.TAGS
COMPANIES.D_CREATE
COMPANIES.D_CHANGE
COMPANIES.MEMO
COMPANIES.MEMOFORMATTED

[From]
COMPANIES

[Where]
COMPANIES.OPENED = 0
&amp;lt;#USERLINK table=&quot;COMPANIES&quot; usertable=&quot;COMP_USER&quot; key=&quot;K_COMPANY&quot; isactiveparam=&quot;true&quot;&amp;gt;

[Orderby]
COMPANIES.NAME

[Columns]
MENU,NAME,CITY,R_COUNTRY,PHONE1{PHONE},EMAIL1{EMAIL},TAGS
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Customized version: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[Select]
COMPANIES.K_COMPANY
COMPANIES.NAME
COMPANIES.BUILDING
COMPANIES.CITY
COMPANIES.COUNTRY
COMPANIES.PHONE1
COMPANIES.EMAIL1
COMPANIES.WEB1
COMPANIES.OPENED
COMPANIES.LONGITUDE
COMPANIES.LATITUDE
COMPANIES.TAGS
COMPANIES.D_CREATE
COMPANIES.D_CHANGE
COMPANIES.MEMO
COMPANIES.MEMOFORMATTED

[From]
COMPANIES
&amp;lt;#USERSELECTION usertable=&quot;COMP_USER&quot; key=&quot;K_COMPANY&quot; isactiveparam=&quot;true&quot; directlink=&quot;true&quot;&amp;gt; U1

[Where]
COMPANIES.OPENED = 0
&amp;lt;U1.&amp;lt;#FIELD name=&quot;K_COMPANY&quot; fortable=&quot;COMP_USER&quot;&amp;gt; = COMPANIES.K_COMPANY&amp;gt;

[Orderby]
COMPANIES.NAME

[Columns]
MENU,NAME,CITY,R_COUNTRY,PHONE1{PHONE},EMAIL1{EMAIL},TAGS
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It is not mentioned in &quot;Efficy Query Tag&quot; documentation  but you have to update SYS_SETTINGS too. &lt;br&gt;
&lt;code&gt;Designer &amp;gt; SYS_SETTINGS &amp;gt; Efficy &amp;gt; entityListsWithTagUserSelection&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;entityListsWithTagUserSelection&lt;/code&gt; takes into account the keys of entities separated by semicolon &lt;code&gt;&quot;;&quot;&lt;/code&gt;. Ex.:  &lt;code&gt;&quot;entityListsWithTagUserSelection&quot;: &quot;10;22&quot;,&lt;/code&gt;. &lt;em&gt;(22 is Oppo per default)&lt;/em&gt;&lt;br&gt;
If you don't provide the entity in SYS_SETTINGS  the USERSELECTION will not behave as intended.&lt;/p&gt;

&lt;p&gt;Many thanks to &lt;strong&gt;Stephane Roncin&lt;/strong&gt; for pointing it out and for explaining. &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7170/records-directly-linked-connected-list-userselection-query</guid>
<pubDate>Wed, 09 Apr 2025 14:02:26 +0000</pubDate>
</item>
<item>
<title>How to emplement runscript for email template</title>
<link>https://overflow.efficy.io/?qa=7162/how-to-emplement-runscript-for-email-template</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I'm used to create runscripts to personnalize docx files, but it seems to be different with email templates.&lt;/p&gt;

&lt;p&gt;This runscript &lt;code&gt;[$RunScript(module=&quot;templates/email&quot;, name=&quot;iu_nom_prenom&quot;)]&lt;/code&gt; works fine in a docx template, but I have no result in an email template.&lt;/p&gt;

&lt;p&gt;While debugging, I fugured out that the contKey = 0 while editing the email template but I got the good value with a docx version :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var contKey = Efficy.getMainDetail(editHandle, ntCont);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Do you have any tips/informations ?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7162/how-to-emplement-runscript-for-email-template</guid>
<pubDate>Mon, 17 Feb 2025 15:55:01 +0000</pubDate>
</item>
<item>
<title>Is there any AfterLoad Trigger or Hook? (Efficy (Build 12.1.28052.0 2024-10-11 15:00))</title>
<link>https://overflow.efficy.io/?qa=7159/is-there-any-afterload-trigger-hook-efficy-build-28052-2024</link>
<description>&lt;p&gt;Our goal is to encrypt and decrypt different columns with different keys. The encryption and decryption must take place on a different server! This server provides a REST API that should be accessed from within efficy.&lt;/p&gt;

&lt;p&gt;When a record is saved, I can easily implement this using the BeforeCommit Trigger. However, it seems to be more difficult to load records. As far as I know, there is no AfterLoad Trigger. I haven't found a hook for reading records either. &lt;/p&gt;

&lt;p&gt;Does anyone have any idea? Where would be the best place to start?&lt;/p&gt;

&lt;p&gt;Best&lt;br&gt;
Stefan&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7159/is-there-any-afterload-trigger-hook-efficy-build-28052-2024</guid>
<pubDate>Fri, 31 Jan 2025 18:29:27 +0000</pubDate>
</item>
<item>
<title>Avoid a duplicate when editing online relationships</title>
<link>https://overflow.efficy.io/?qa=7143/avoid-a-duplicate-when-editing-online-relationships</link>
<description>&lt;p&gt;Hello everyone, &lt;/p&gt;

&lt;p&gt;I'm new to efficy, I need your help. &lt;/p&gt;

&lt;p&gt;I have a function in serverjs\api\node\contacts\checkExtranetEmail.js,&lt;br&gt;
who call serverjs\contacts\extranetContacts.js which checks that the email address already exists. &lt;/p&gt;

&lt;p&gt;The idea would be to add processing in GridColumnsInlineEdit and/or GridColumns - &lt;em&gt;which from what I understand contains online contact relationship information&lt;/em&gt; - to avoid duplicates during online editing. &lt;/p&gt;

&lt;p&gt;Do you think you can help me resolve my problem? Is it possible to use serverJs scripts to check the email?&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7143/avoid-a-duplicate-when-editing-online-relationships</guid>
<pubDate>Fri, 08 Nov 2024 14:31:25 +0000</pubDate>
</item>
<item>
<title>How to customize agenda actions colors in Efficy 2024 ?</title>
<link>https://overflow.efficy.io/?qa=7139/how-to-customize-agenda-actions-colors-in-efficy-2024</link>
<description>&lt;p&gt;Hi,&lt;br&gt;
In previous Efficy Versions, the colors of the appointments are different according to the modes of the appointments.&lt;br&gt;
In 2024, the color of the appointments is always the same : no color.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7139/how-to-customize-agenda-actions-colors-in-efficy-2024</guid>
<pubDate>Mon, 04 Nov 2024 10:00:29 +0000</pubDate>
</item>
<item>
<title>Macro definition rules</title>
<link>https://overflow.efficy.io/?qa=7129/macro-definition-rules</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I found a macro definition I don't understand and I can't found some information in the documentation.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;GroupUsersLookup$nodisable;groupusercode {[
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;what $nodisable mean ? &lt;br&gt;
some things for ;groupusercode ? &lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;br&gt;
Best regards&lt;br&gt;
Maximilien&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7129/macro-definition-rules</guid>
<pubDate>Tue, 22 Oct 2024 10:31:36 +0000</pubDate>
</item>
<item>
<title>Consult DEFAULT tab</title>
<link>https://overflow.efficy.io/?qa=7117/consult-default-tab</link>
<description>&lt;p&gt;it seems that the DEFAULT tab on any entity in consult for a new user that did not access efficy before,  is &quot;Acti&quot;.&lt;/p&gt;

&lt;p&gt;But if the user doen't have the rights to see &quot;Acti&quot; we have the following error when accessing the entity in consult:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=11620033624505546699&quot; alt=&quot;Error cannot access entity&quot;&gt;&lt;/p&gt;

&lt;p&gt;Is there a way to specify what is the &quot;DEFAULT&quot; tab in this case for instantance &quot;Cont&quot; for all entities ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7117/consult-default-tab</guid>
<pubDate>Fri, 27 Sep 2024 14:39:09 +0000</pubDate>
</item>
<item>
<title>Efficy.setUserSecurity: You can't assign a security level you don't have as default right !</title>
<link>https://overflow.efficy.io/?qa=7115/efficy-setusersecurity-assign-security-level-default-right</link>
<description>&lt;p&gt;I have an record on a custom entity which have the following security&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=8288596365479332405&quot; alt=&quot;Record security&quot;&gt;&lt;/p&gt;

&lt;p&gt;From a BeforeCommit workflow trigger for this entity, I am using the following code&lt;/p&gt;

&lt;p&gt;var secuKUser = 99999002; &lt;br&gt;
Efficy.setUserSecurity(editHandle, 99999002, 271); // 99999002 = EFF_ADMINS and 271 = FullControl.&lt;/p&gt;

&lt;p&gt;But then I get the following error, and I don't know what is wrong, does anyone have an idea?&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=14561439693553584861&quot; alt=&quot;error message&quot;&gt;&lt;/p&gt;

&lt;p&gt;PS : My efficy version is &lt;strong&gt;Efficy Entreprise 2021 - Build 12.0.27691.0&lt;/strong&gt;&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7115/efficy-setusersecurity-assign-security-level-default-right</guid>
<pubDate>Thu, 26 Sep 2024 14:17:03 +0000</pubDate>
</item>
<item>
<title>Setting default widget list per user group</title>
<link>https://overflow.efficy.io/?qa=7102/setting-default-widget-list-per-user-group</link>
<description>&lt;p&gt;Hi everyone !&lt;/p&gt;

&lt;p&gt;Maybe is it a stupid question but i havn't found any documentation on how to add default widgets to the dashboard of a group of user.&lt;/p&gt;

&lt;p&gt;We are switching from efficy 11 to 12 and we have a large custom to adapt to the specifications of v12.&lt;br&gt;
Previously we made changes to the WidgetsTody.htm file but now that there is some change in v12 for the widgets (making them a system entity) i'm unable to reproduce its comportment.&lt;/p&gt;

&lt;p&gt;If not possible could we at least pre load the favorite widget list when user is trying to add a widget ?&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7102/setting-default-widget-list-per-user-group</guid>
<pubDate>Fri, 06 Sep 2024 09:35:27 +0000</pubDate>
</item>
<item>
<title>How to check if the record is locked by someone in DataSynchro Remote ?</title>
<link>https://overflow.efficy.io/?qa=7091/how-to-check-if-the-record-locked-someone-datasynchro-remote</link>
<description>&lt;p&gt;I've seen in Efficy ServerJS script reference documentation that we have &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/serverjs#Efficy-lockedByAccount&quot;&gt;Efficy.lockedByAccount&lt;/a&gt; method. &lt;br&gt;
But I don't see the same method in  Remote reference. &lt;br&gt;
Is it possible to know if record is locked by someone during a DataSynchro Remote ?&lt;br&gt;
If yes, how ? If not, why ? &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7091/how-to-check-if-the-record-locked-someone-datasynchro-remote</guid>
<pubDate>Mon, 19 Aug 2024 13:48:35 +0000</pubDate>
</item>
<item>
<title>How to run multiple instance of DataSynchro (Remote) at same time ?</title>
<link>https://overflow.efficy.io/?qa=7090/how-to-run-multiple-instance-of-datasynchro-remote-same-time</link>
<description>&lt;p&gt;I recently tried out to run multiple instances of  DataSynchro Remote and it seemed to work. But after several thousands of treatments of rows the two instances got into error (do not remember exactly which one).&lt;/p&gt;

&lt;p&gt;I'd like to know: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how properly to configure DataSynchro (Remote) to run the multiple instance at the same time ?  (best practice)&lt;/li&gt;
&lt;li&gt;possibility to separate the log files for each instance ? &lt;/li&gt;
&lt;li&gt;are there any concerns about running multiple instances (except: hardware usage, remote -&amp;gt; Throttling limit, record edit-handler that might be opened by one instance) ? &lt;/li&gt;
&lt;li&gt;any other details and attention points to take into account ? &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Update 20/08/2024&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First attempt:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1 thread (as am importing files and some details : last modified, created date, file size -&amp;gt; multi thread is not an option yet)&lt;/li&gt;
&lt;li&gt;3 folders, each one contains the source file (excel) + the .dat file + ds remote .exe&lt;/li&gt;
&lt;li&gt;for each file (excel) an ODBC source has been created and configured in .dat file&lt;/li&gt;
&lt;li&gt;started DSRemote one by one with a diff range in queries for each one&lt;/li&gt;
&lt;li&gt;end result -&amp;gt; after few lines got into &quot;Session timeout&quot;&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=8682061803098430082&quot; alt=&quot;enter image description here&quot;&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7090/how-to-run-multiple-instance-of-datasynchro-remote-same-time</guid>
<pubDate>Mon, 19 Aug 2024 13:33:13 +0000</pubDate>
</item>
<item>
<title>When to use CallEfficyProtocol and what are the possible protocol actions ?</title>
<link>https://overflow.efficy.io/?qa=7087/when-use-callefficyprotocol-what-possible-protocol-actions</link>
<description>&lt;p&gt;I see  some part of code that are using &lt;code&gt;CallEfficyProtocol&lt;/code&gt; function.&lt;br&gt;
For instant to export files from project   &lt;code&gt;ExportFiles&lt;/code&gt; function is used that is calling &lt;code&gt;CallEfficyProtocol(&quot;exportdocs&quot;, [Entity, EntityKey, ExportPath]);&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;The &lt;code&gt;CallEfficyProtocol&lt;/code&gt; takes two arguments: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;exportdocs&lt;/code&gt; is an action &lt;/li&gt;
&lt;li&gt;&lt;code&gt;[Entity, EntityKey, ExportPath]&lt;/code&gt; is an array of parameters&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;I'd like to know:&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;when should the &lt;code&gt;CallEfficyProtocol&lt;/code&gt; function be used  (best practice)?&lt;/li&gt;
&lt;li&gt;what are the possible actions (first argument of CallEfficyProtocol) and what are they doing ? &lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7087/when-use-callefficyprotocol-what-possible-protocol-actions</guid>
<pubDate>Fri, 09 Aug 2024 10:10:52 +0000</pubDate>
</item>
<item>
<title>When is OpenUrl.log generated ?</title>
<link>https://overflow.efficy.io/?qa=7085/when-is-openurl-log-generated</link>
<description>&lt;p&gt;From the content of OpenUrl.log it looks like it contains the calls to external services + the post payload.&lt;br&gt;
I suppose it is related to one of Efficy.openUrl... methods but I am not quite sure.&lt;br&gt;
The issues is more on log file that is generated in PROD env. but not in TST env. &lt;/p&gt;

&lt;p&gt;I'd like to understand: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When it usually created ?  &lt;/li&gt;
&lt;li&gt;Why it behaves differently ?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The client (on-premise) noticed a peak of space usage since few weeks (it wasn't like that before apparently ). UpenUrl.log  takes over 600mb each day. Most of them are related to sending personalised emails  (flexmail) from campaign. And the flexmail playload take huge space.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7085/when-is-openurl-log-generated</guid>
<pubDate>Wed, 07 Aug 2024 08:33:44 +0000</pubDate>
</item>
<item>
<title>Send notification by email -&gt; auto reply email is send back to users email box. Why ?</title>
<link>https://overflow.efficy.io/?qa=7077/send-notification-email-auto-reply-email-send-back-users-email</link>
<description>&lt;p&gt;One of the client's user has set a auto reply email (outlook). &lt;/p&gt;

&lt;p&gt;Now when a notification is send by email (cause the option send notification by email has been checked) the user's auto reply email will be triggered and send back.  But for some reasons this email reaches apparently all the users that might be linked to the modified record.&lt;/p&gt;

&lt;p&gt;Any idea why this would happen ? Why do all of the linked users (not sure if it's only linked or maybe some others) get the auto reply email on their email box ?  &lt;/p&gt;

&lt;p&gt;I would imagine that the email used for sending notification might be a an alias (group) email that includes a number of people . But I don't see where the configuration of this part is located.&lt;/p&gt;

&lt;p&gt;How are the emails notification send ? Is it a scheduled script or a service ? &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7077/send-notification-email-auto-reply-email-send-back-users-email</guid>
<pubDate>Tue, 23 Jul 2024 07:40:45 +0000</pubDate>
</item>
<item>
<title>Where are the &quot;Follow&quot; notification details stored?</title>
<link>https://overflow.efficy.io/?qa=7075/where-are-the-follow-notification-details-stored</link>
<description>&lt;p&gt;We have two ways to configure notifications. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Default notifications:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=8225178292203744388&quot; alt=&quot;enter image description here&quot;&gt;&lt;/li&gt;
&lt;li&gt;Follow (follow a specific record): &lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=17621620532942460118&quot; alt=&quot;enter image description here&quot;&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The default notification details are saved in ACC_RIGHTS table.  &lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=2069/default-notification-settings-where-are-they-stored&amp;amp;show=2070#a2070&quot;&gt;Explained in this thread&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Where are saved the &quot;Follow&quot; configuration details? &lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7075/where-are-the-follow-notification-details-stored</guid>
<pubDate>Mon, 22 Jul 2024 14:48:55 +0000</pubDate>
</item>
<item>
<title>MAILS.D_RECEIVED date different depending how the email have been created/saved. Why ?</title>
<link>https://overflow.efficy.io/?qa=7074/mails-dreceived-different-depending-email-created-saved</link>
<description>&lt;p&gt;I have a customer with the strange behaviour on date time of MAILS.D_RECEIVED.&lt;br&gt;
I know that &lt;code&gt;D_CREATE&lt;/code&gt; and &lt;code&gt;D_CHANGE&lt;/code&gt;are usually saved in UTC-0 time (or the time zone set on server) because they are auto-generated by GETDATE(). &lt;br&gt;
But the &lt;code&gt;D_RECEIVED&lt;/code&gt; is a bit different especially if you saving/sending email from outlook or have email saved by AutoMail Uploader.&lt;/p&gt;

&lt;p&gt;Outlook saved it as it is , &lt;code&gt;D_RECEIVED&lt;/code&gt; is same as the email send or received datet time. &lt;br&gt;
The AutoMail Uploader saved it -2 hours, similar to &lt;code&gt;D_CREATE, D_CHANGE&lt;/code&gt;, but the date is not autogenerated (GETDATE()) but more like transformed. &lt;/p&gt;

&lt;p&gt;I've done some dirty grid definition fix to CONVERTUTC if the email has been created by Administartor, if not show it without UTC conversion. &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;td.D_RECEIVED {[&amp;lt;td&amp;gt;
    &amp;lt;a href=&quot;#&quot; data-msg=&quot;edit;&amp;lt;#F=$KEY$;absent=T;context=ATTR&amp;gt;;$ENTITY$&quot;&amp;gt;
        &amp;lt;%If(&quot;&amp;lt;#F=OWNER;context=TEXT&amp;gt;&quot;, value=&quot;%%GetUserName(name='ADMINUSER')&quot;, 
            then=&quot;&amp;lt;#F=$FIELD$;CONVERTUTC=T;emptytext=T;context=TEXT&amp;gt;&quot;,
            else=&quot;&amp;lt;#F=$FIELD$;emptytext=T;context=TEXT&amp;gt;&quot;
        )%&amp;gt;
    &amp;lt;/a&amp;gt;
&amp;lt;/td&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;By doing it I am getting the right values on the grid. But the client and clients users all have still +2 hours on it. &lt;br&gt;
Is there any explanation that you might know or have ?  &lt;br&gt;
I had a call with the client and she shared the screen. We tried to clean the browser cache, use another browser etc. But still, the values are not correct. &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7074/mails-dreceived-different-depending-email-created-saved</guid>
<pubDate>Mon, 15 Jul 2024 14:17:59 +0000</pubDate>
</item>
<item>
<title>Error of duplicate key when merging Custom entities records</title>
<link>https://overflow.efficy.io/?qa=7065/error-of-duplicate-key-when-merging-custom-entities-records</link>
<description>&lt;p&gt;For a customer, we are trying to activate the merge duplicate on a custom entity &quot;ENOP&quot;, we follow the Overflow guide : &lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=1039/how-to-provide-the-merge-functionnality-for-an-entity&amp;amp;show=1039#q1039&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=1039/how-to-provide-the-merge-functionnality-for-an-entity&amp;amp;show=1039#q1039&quot;&gt;https://overflow.efficy.io/?qa=1039/how-to-provide-the-merge-functionnality-for-an-entity&amp;amp;show=1039#q1039&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;we create the &lt;code&gt;Enop_Enop2&lt;/code&gt; ... even if I don't understand why we need this view since we already have the &lt;code&gt;Enop_Enop&lt;/code&gt; view ??&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=9846551845775766468&quot; alt=&quot;SYS_TABLEVIEWS&quot;&gt;&lt;/p&gt;

&lt;p&gt;we setup the the sys_entities &quot;DuplicateView&quot;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=8109970075294419661&quot; alt=&quot;SYS_ENTITIES&quot;&gt;&lt;/p&gt;

&lt;p&gt;And we add in the &lt;code&gt;SYS_ENTITYVIEW&lt;/code&gt; the &quot;EnopMerge&quot; entityView&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=2706112514497476795&quot; alt=&quot;SYS_ENTITYVIEWS&quot;&gt;&lt;/p&gt;

&lt;p&gt;Here is more detail of the TABLEVIEWS column&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Enop;Enop_User=User;Enop_Comp=Comp;Enop_Cont=Cont;Enop_Proj=Proj;Enop_Publ=Publ;Enop_Prof=Prof;Docu_Enop=Docu;Acti_Enop=Acti;Enop_Mail=Mail;Enop_Enop=Enop;Enop_Enop2;Ctrt_Enop=Ctrt;Fina_Enop=Fina;Cout_Enop=Cout;Actv_Enop=Actv;Appe_Enop=Appe;Reap_Enop=Reap;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But when we try to merge 2 enops together we are getting the following error&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=8144828042532111169&quot; alt=&quot;ERROR&quot;&gt;&lt;/p&gt;

&lt;p&gt;We checked the links in the Enop-Enop relations but there is no duplicates for the enop keys 26 and 272 &lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=9176802495557870863&quot; alt=&quot;DB Data&quot;&gt;&lt;/p&gt;

&lt;p&gt;So now we are stuck and we don't understand why we have this behaviour, do you have any ideas ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7065/error-of-duplicate-key-when-merging-custom-entities-records</guid>
<pubDate>Thu, 23 May 2024 17:38:24 +0000</pubDate>
</item>
<item>
<title>USERCODE IN ACC_ACCOUNTS is standard 16 char. Would it have consequences behind when we change it to 24 char ?</title>
<link>https://overflow.efficy.io/?qa=7058/usercode-accaccounts-standard-consequences-behind-change</link>
<description>&lt;p&gt;Usercode is standard 16 char. Would it have consequences behind when we change it to 24 char?&lt;/p&gt;

&lt;p&gt;Cause CHANGEDBY is also related to this, I suppose it's not a good idea to change all these columns also&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7058/usercode-accaccounts-standard-consequences-behind-change</guid>
<pubDate>Wed, 24 Apr 2024 15:29:26 +0000</pubDate>
</item>
<item>
<title>Create a template (docx) with a table based on a specific sql request</title>
<link>https://overflow.efficy.io/?qa=7038/create-template-docx-with-table-based-specific-sql-request</link>
<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;I want to create a template docx and I want to use something in order to create a table from a specific sql request&lt;/p&gt;

&lt;p&gt;For exemple : &lt;br&gt;
this request : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;SELECT A.field1, B.field2, B.field3
FROM A INNER JOIN B ON (A.k_key = B.k_key)
WHERE condition
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I would like to generate the table approximately this way in the template : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;result = [$RunScript('getAcronyme', module='templateScripts/convention.js')]
[$GetTable('result ')] 
&amp;lt;#repeat&amp;gt;&amp;lt;#F=&quot;field1&quot;&amp;gt;&amp;lt;#F=&quot;field2&quot;&amp;gt;&amp;lt;#F=&quot;field3&quot;&amp;gt;&amp;lt;/#repeat&amp;gt;
[/$]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I know that dosen't work like that, but how could I do to have this result ?&lt;/p&gt;

&lt;p&gt;thanks in advance&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7038/create-template-docx-with-table-based-specific-sql-request</guid>
<pubDate>Mon, 12 Feb 2024 08:39:22 +0000</pubDate>
</item>
<item>
<title>How to activate a &quot;Quotation builder&quot; opportunity Or document from serverside (serverjs)</title>
<link>https://overflow.efficy.io/?qa=7037/activate-quotation-opportunity-document-serverside-serverjs</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;from the UI an opportunity or a document will be considered as &quot;Quotation builder active&quot; if a &quot;quotation&quot; template is linked. &lt;/p&gt;

&lt;p&gt;in standard the UI will adapt wether or not the function tag &amp;lt;%OnFragmentsQuotation()%&amp;gt;&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/tags#OnFragmentsQuotation&quot;&gt;https://help.efficy.io/edn/tags#OnFragmentsQuotation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;will be evaluated as true or false.&lt;/p&gt;

&lt;p&gt;Usually if you create a button from the UI creating a document or an opportunity with the clientside EditNew or EditNewWithScript function, you just have to add the Tmpl= extra param to let efficy.dll add everything you need. &lt;/p&gt;

&lt;p&gt;In the case where you can't use the extraparam you will have to add a link serverside to the wished template (more than probably using the Efficy.instertDetail2 function.&lt;br&gt;
the fields in the detail dataset : SERVER and R_SERVER must be filled when the OnFragmentsQuotation function tag will be evaluated. &lt;/p&gt;

&lt;p&gt;you can do so by applying the document/oppo and reopening it through UI (unpractical) or manually fill the fields &lt;/p&gt;

&lt;p&gt;this is an exemple of code doing that : &lt;strong&gt;(WARNING: in this exemple i also delete all the existing links to templates)&lt;/strong&gt;. &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;updateTemplateDetails: function(editHandle, templateKey) {
var dsTmpl = Efficy.getDetailDataSet(editHandle, ntTmpl);

var template = consultToObject(dsTmpl, templateKey);
dsTmpl.first();

while(!dsTmpl.eof()) {
dsTmpl.Delete();
}

Efficy.insertDetail2(editHandle, ntTmpl, templateKey, false);
Efficy.updateDetail2(editHandle, ntTmpl, templateKey, 'NAME', template.NAME);
Efficy.updateDetail2(editHandle, ntTmpl, templateKey, 'SERVER', template.SERVER);
Efficy.updateDetail2(editHandle, ntTmpl, templateKey, 'R_SERVER', template.R_SERVER);
}
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7037/activate-quotation-opportunity-document-serverside-serverjs</guid>
<pubDate>Wed, 07 Feb 2024 07:35:54 +0000</pubDate>
</item>
<item>
<title>Configuration of Mail Dispatch with STARTTLS raise error LIBS-1803, what configuration we did wrong?</title>
<link>https://overflow.efficy.io/?qa=7032/configuration-dispatch-starttls-raise-error-configuration</link>
<description>&lt;p&gt;we are trying to setup the mail dispatch for our customer Fondation Patrimoine, the customer gave us the following configuration : &lt;br&gt;
smtp : smtp.office365.com&lt;br&gt;
sécurity : STARTTLS&lt;br&gt;
Port : 587&lt;/p&gt;

&lt;p&gt;So we configure it like this &lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=3111312021990431861&quot; alt=&quot;mail dispatch config&quot;&gt;&lt;/p&gt;

&lt;p&gt;but we get the following error &lt;/p&gt;

&lt;p&gt;Connecting to SMTP Server &quot;smtp.office365.com&quot;&lt;br&gt;
12:52:19&amp;gt;       &amp;lt;&lt;em&gt;Emails are not allowed&lt;/em&gt;&amp;gt; --&amp;gt; To:&lt;em&gt;Emails are not allowed&lt;/em&gt;|Cc:|Bcc:|Subject:&quot;Test Sending Email&quot;&lt;br&gt;
12:52:19&amp;gt; Error: Sending Internet Mail Failed: LIBS-1803 Unable to send the message with subject: &quot;Test Sending Email&quot;&lt;br&gt;
SSL negotiation failed.&lt;/p&gt;

&lt;p&gt;In the &quot;Internet Option&quot;, TLS1.2 and TLS1.3 are activated&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=1562181941000880722&quot; alt=&quot;Internet Option Windows 11&quot;&gt;&lt;/p&gt;

&lt;p&gt;Does anybody encountered this error ? &lt;br&gt;
Does STARTTLS supported by MailDispatch ? &lt;/p&gt;
</description>
<category>Efficy Installation/Settings</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7032/configuration-dispatch-starttls-raise-error-configuration</guid>
<pubDate>Fri, 26 Jan 2024 11:57:10 +0000</pubDate>
</item>
<item>
<title>Use translated custom field with grid tags in templates</title>
<link>https://overflow.efficy.io/?qa=7026/use-translated-custom-field-with-grid-tags-in-templates</link>
<description>&lt;p&gt;When I want to retrieve a translated field to merge, (Template language = &quot;DE&quot;) it does work with the &lt;code&gt;PRODUCTS.NAME&lt;/code&gt; field.&lt;/p&gt;

&lt;p&gt;But it does not work with the translated custom field. &lt;br&gt;
For example. I created a custom field = &lt;code&gt;PRODUCTS.F_COMMENT&lt;/code&gt;, with translations.&lt;/p&gt;

&lt;p&gt;I added field to &lt;code&gt;SYS_TABLEVIEWS&lt;/code&gt;. &lt;code&gt;docu_prod&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;SELECTFIELDS = 'DOCU_PROD.*, PRODUCTS.NAME, PRODUCTS.F_COMMENT,PRODUCTS.OPENED, PRODUCTS.CURRCY'
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I use these grid tags in the template:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;#F=Name&amp;gt;
&amp;lt;#F=F_COMMENT&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I use a docx Template, language = 'DE'&lt;/p&gt;

&lt;p&gt;Result:&lt;br&gt;
&quot;Product name De&quot;&lt;br&gt;
&quot;Comment text Hoofd&quot;&lt;/p&gt;

&lt;p&gt;Name =&amp;gt; (Translated PRODUCTS.NAME field DE) &lt;br&gt;
&lt;code&gt;F_COMMENT&lt;/code&gt; =&amp;gt; (non translated &lt;code&gt;products.F_Comment&lt;/code&gt; field) &lt;/p&gt;

&lt;p&gt;What am I missing here?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7026/use-translated-custom-field-with-grid-tags-in-templates</guid>
<pubDate>Tue, 16 Jan 2024 08:19:43 +0000</pubDate>
</item>
<item>
<title>Automatic Edit Relation in Edit Contact during linking a Company?</title>
<link>https://overflow.efficy.io/?qa=7024/automatic-edit-relation-edit-contact-during-linking-company</link>
<description>&lt;p&gt;Is it possible to automatically open Edit Relation as soon as you link an (additional) company to a contact in Edit Contact?&lt;/p&gt;

&lt;p&gt;Same way as adding a company to a contact in consult. (CreateRelationMethod 0).&lt;/p&gt;

&lt;p&gt;Can you get me a code example?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7024/automatic-edit-relation-edit-contact-during-linking-company</guid>
<pubDate>Fri, 12 Jan 2024 12:59:40 +0000</pubDate>
</item>
<item>
<title>Show iframe widget with parameters in URL</title>
<link>https://overflow.efficy.io/?qa=7017/show-iframe-widget-with-parameters-in-url</link>
<description>&lt;p&gt;We have a PowerBi report I want to show via an iFrame in the dashboard of a customer.&lt;br&gt;
I can add the iFrame url but I would need to dynamically add the {KEY} of the customer as a filter in URL so the iFrame report is filterd on the correct customer.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://app.powerbi.com/reportEmbed?reportId=5...&amp;amp;pageName=ReportSection...&amp;amp;filter=Efficy_x0020_uitvoer/CompaniesKey&quot;&gt;https://app.powerbi.com/reportEmbed?reportId=5...&amp;amp;pageName=ReportSection...&amp;amp;filter=Efficy_x0020_uitvoer/CompaniesKey&lt;/a&gt; eq &lt;strong&gt;{KEY}&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This should be the result&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=5229034214917148809&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=7017/show-iframe-widget-with-parameters-in-url</guid>
<pubDate>Mon, 08 Jan 2024 10:22:27 +0000</pubDate>
</item>
<item>
<title>change colour of the icons in map search</title>
<link>https://overflow.efficy.io/?qa=7016/change-colour-of-the-icons-in-map-search</link>
<description>&lt;p&gt;Hi all, &lt;/p&gt;

&lt;p&gt;is it possible to change the colour of the &quot;buildings&quot; displayed in the map search, when I do  the &quot;map search&quot; on company level? When the distance is selected to get companies close to my current location, the &quot;building&quot; icon should be green if it is a customer and red if not.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=12761634511535641947&quot; alt=&quot;example map search&quot;&gt;&lt;/p&gt;

&lt;p&gt;maybe someone has a tip if it is basically possible and if yes, which files are related to change for this customisation.&lt;/p&gt;

&lt;p&gt;thanks in advance and best regards&lt;/p&gt;

&lt;p&gt;Stephan&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7016/change-colour-of-the-icons-in-map-search</guid>
<pubDate>Mon, 08 Jan 2024 07:39:43 +0000</pubDate>
</item>
<item>
<title>ORA-01653: unable to extend table ADMINOLVEA.ACTIONS by 1024 in tablespace EFFOLVEA</title>
<link>https://overflow.efficy.io/?qa=7012/01653-unable-extend-adminolvea-actions-tablespace-effolvea</link>
<description>&lt;p&gt;Hello,&lt;br&gt;
Trying to save an action in the application i'm faced with this error message &lt;br&gt;
&quot;ORA-01653: unable to extend table ADMINxxxx.ACTIONS by 1024 in tablespace EFFxxxx&quot; &lt;/p&gt;

&lt;p&gt;after researching a little i found &lt;a rel=&quot;nofollow&quot; href=&quot;https://stackoverflow.com/questions/27129376/ora-01653-unable-to-extend-table-by-in-tablespace-ora-06512&quot;&gt;&lt;strong&gt;This&lt;/strong&gt;&lt;/a&gt; thread requiring adding storage files to the tablespace, i was wondering if any one has a solution &lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7012/01653-unable-extend-adminolvea-actions-tablespace-effolvea</guid>
<pubDate>Wed, 20 Dec 2023 13:20:57 +0000</pubDate>
</item>
<item>
<title>Last version of Efficy.Net.dll</title>
<link>https://overflow.efficy.io/?qa=6999/last-version-of-efficy-net-dll</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am migrating a customer from Efficy 2012 to Efficy 12.0.&lt;br&gt;
For this customer, we made a .NET Application to run some synchro between Efficy and another software.&lt;/p&gt;

&lt;p&gt;This application doesn't work anymore with Efficy 12.0, we are encountering an error when creating Efficy session.&lt;/p&gt;

&lt;p&gt;After some research, it appears that the component Efficy.Net.dll is pretty old and I can't find a recent one.&lt;/p&gt;
</description>
<category>Remote API (JSON, SOAP, Node)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6999/last-version-of-efficy-net-dll</guid>
<pubDate>Tue, 28 Nov 2023 13:51:39 +0000</pubDate>
</item>
<item>
<title>How not to link product abd subproducts in an opportunity with fragments</title>
<link>https://overflow.efficy.io/?qa=6997/how-not-link-product-subproducts-opportunity-with-fragments</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;When using fragments, if you insert a product in an opportunity, if the selected product has subproducts, all the products are liked in the opportunity.&lt;br&gt;
Pnce all the products are liked to the opportunity, if you modify the quantity, the quantities of all the products are modified.&lt;br&gt;
If you want to delete the main product, all the subproducts are deleted.&lt;br&gt;
The reason is that in the database, ech subproduct has his own K_PARENT field filled.&lt;br&gt;
&lt;strong&gt;Is it possible just to insert the selected product and not all the subproducts ?&lt;/strong&gt;&lt;br&gt;
Thank you&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6997/how-not-link-product-subproducts-opportunity-with-fragments</guid>
<pubDate>Sun, 26 Nov 2023 18:59:14 +0000</pubDate>
</item>
<item>
<title>Quotation builder sheet shows only one line?</title>
<link>https://overflow.efficy.io/?qa=6995/quotation-builder-sheet-shows-only-one-line</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;When using the quotation builder and a productsheet with multiple lines (replace \n with &amp;lt;w:br/&amp;gt; or [$LF] or even &amp;lt;w:p/&amp;gt;) via import is linked the first line is only shown in the quotation productline when generating. &lt;/p&gt;

&lt;p&gt;When editing the sheet on the productline in the oppo and then generating all the lines are shown. &lt;/p&gt;

&lt;p&gt;What could be causing this?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6995/quotation-builder-sheet-shows-only-one-line</guid>
<pubDate>Fri, 10 Nov 2023 13:13:05 +0000</pubDate>
</item>
<item>
<title>How to import Jpg or png images located on a Wordpress html place</title>
<link>https://overflow.efficy.io/?qa=6991/how-to-import-jpg-or-png-images-located-wordpress-html-place</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have to import into Efficy 5000 image files located like this :&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://serveurtravail.planeteformations.com/wp-content/uploads/2023/08/WORK-Sublime-NZ-Natural-Hickory.png&quot;&gt;https://serveurtravail.planeteformations.com/wp-content/uploads/2023/08/WORK-Sublime-NZ-Natural-Hickory.png&lt;/a&gt;&lt;br&gt;
Is there any solution via the datasynchro tool ?&lt;br&gt;
Thank you&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6991/how-to-import-jpg-or-png-images-located-wordpress-html-place</guid>
<pubDate>Sat, 21 Oct 2023 18:37:03 +0000</pubDate>
</item>
<item>
<title>SQL Query to generate the constant lines to use in a js script</title>
<link>https://overflow.efficy.io/?qa=6984/sql-query-to-generate-the-constant-lines-to-use-in-a-js-script</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;I am sharing this query to help you generate the lines to paste inside a constant module&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;declare 
@tableName nvarchar(max) = 'LK_OFFER_STATUS',
@labelFieldName nvarchar(max) = 'F_LABEL';

declare @script nvarchar(max);

set @script = 'select
concat(
upper(replace(' + @labelFieldName + ', '' '', ''_'')),
'': '',
K_OFFER_STATUS,
'',''
) line
from ' + @tableName + '
where disabled = 0';

exec sp_executesql @script;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;this is an exemple of the result : &lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=12188105632574792497&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=6984/sql-query-to-generate-the-constant-lines-to-use-in-a-js-script</guid>
<pubDate>Wed, 04 Oct 2023 09:03:12 +0000</pubDate>
</item>
<item>
<title>How can we integrate AmCharts 5 in Efficy 12?</title>
<link>https://overflow.efficy.io/?qa=6983/how-can-we-integrate-amcharts-5-in-efficy-12</link>
<description>&lt;p&gt;This is my example code, but the Widget window stays blanc&lt;/p&gt;

&lt;p&gt;&quot;MacroWidgetCustom.txt&quot;&lt;br&gt;
    /* &lt;em&gt;macrofile=MacroWidgets&amp;amp;&lt;/em&gt;macro=am5Demo */&lt;br&gt;
am5Demo {[&lt;br&gt;
&amp;lt;%UseScript('custom/js/amcharts5/index', fixedline=T)%&amp;gt;&lt;br&gt;
&amp;lt;%UseScript('custom/js/amcharts5/percent', fixedline=T)%&amp;gt;&lt;br&gt;
&amp;lt;%UseScript('custom/js/amcharts5/themes/Animated', fixedline=T)%&amp;gt;&lt;br&gt;
&lt;br&gt;
    #chartdiv2 {&lt;br&gt;
        width: 100%;&lt;br&gt;
        height: 100%;&lt;br&gt;
    }&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
    // Create root and chart&lt;br&gt;
var root = am5.Root.new(&quot;chartdiv2&quot;);&lt;/p&gt;

&lt;p&gt;root.setThemes([&lt;br&gt;
  am5themes_Animated.new(root)&lt;br&gt;
]);&lt;/p&gt;

&lt;p&gt;var chart1 = root.container.children.push(&lt;br&gt;
  am5percent.PieChart.new(root, {})&lt;br&gt;
);&lt;/p&gt;

&lt;p&gt;// Define data&lt;br&gt;
var data1 = [{&lt;br&gt;
  country: &quot;France&quot;,&lt;br&gt;
  sales: 100000&lt;br&gt;
}, {&lt;br&gt;
  country: &quot;Spain&quot;,&lt;br&gt;
  sales: 160000&lt;br&gt;
}, {&lt;br&gt;
  country: &quot;United Kingdom&quot;,&lt;br&gt;
  sales: 80001&lt;br&gt;
}];&lt;/p&gt;

&lt;p&gt;// Create series&lt;br&gt;
var series1 = chart1.series.push(&lt;br&gt;
  am5percent.PieSeries.new(root, {&lt;br&gt;
name: &quot;Series&quot;,&lt;br&gt;
valueField: &quot;sales&quot;,&lt;br&gt;
categoryField: &quot;country&quot;&lt;br&gt;
  })&lt;br&gt;
);&lt;/p&gt;

&lt;p&gt;series1.data.setAll(data1);&lt;/p&gt;

&lt;p&gt;// Disabling labels and ticks&lt;br&gt;
series1.labels.template.set(&quot;visible&quot;, false);&lt;br&gt;
series1.ticks.template.set(&quot;visible&quot;, false);&lt;/p&gt;

&lt;p&gt;series1.slices.template.states.create(&quot;active&quot;, {&lt;br&gt;
  shiftRadius: 0,&lt;br&gt;
  stroke: am5.color(0x995522),&lt;br&gt;
  strokeWidth: 5&lt;br&gt;
});&lt;br&gt;
&lt;br&gt;
&lt;/p&gt;&lt;div id=&quot;chartdiv2&quot;&gt;&lt;/div&gt;&lt;br&gt;
]}

&lt;p&gt;Download site:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.amcharts.com/download/&quot;&gt;https://www.amcharts.com/download/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Download files:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.amcharts.com/dl/amcharts5/&quot;&gt;https://www.amcharts.com/dl/amcharts5/&lt;/a&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6983/how-can-we-integrate-amcharts-5-in-efficy-12</guid>
<pubDate>Wed, 04 Oct 2023 08:32:26 +0000</pubDate>
</item>
<item>
<title>Invoice module: Invoice batches &gt; product order is alphabetical, order should be by K_SORT</title>
<link>https://overflow.efficy.io/?qa=6981/invoice-module-invoice-batches-product-alphabetical-should</link>
<description>&lt;p&gt;When using Invoice module: Invoice batches&lt;br&gt;
=&amp;gt; product order in PDF invoices is alphabetical, but order should be by K_SORT&lt;/p&gt;

&lt;p&gt;Template we are using is build with fragments:&lt;/p&gt;

&lt;p&gt;| &amp;lt;#F=Quantity&amp;gt; |&amp;lt;#F=Name&amp;gt; |&lt;/p&gt;

&lt;p&gt;I tried to adjust SYS _TABLEVIEWS, but no success:&lt;br&gt;
[SELECTORDERBY] = DOCU _PROD.K _SORT&lt;/p&gt;

&lt;p&gt;Where can I change the sort order for invoice outputs?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6981/invoice-module-invoice-batches-product-alphabetical-should</guid>
<pubDate>Mon, 02 Oct 2023 15:08:26 +0000</pubDate>
</item>
<item>
<title>Customize servicy</title>
<link>https://overflow.efficy.io/?qa=6976/customize-servicy</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Is there a way to customize the folder servicy ?&lt;br&gt;
We want to customize our Efficy extranet including the forgot password page and email template.&lt;br&gt;
I tried to create a custom/customname/servicy folder, but it doesn't work.&lt;/p&gt;

&lt;p&gt;Sébastien&lt;/p&gt;
</description>
<category>Extranet / HelpDesk</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6976/customize-servicy</guid>
<pubDate>Thu, 28 Sep 2023 07:14:42 +0000</pubDate>
</item>
<item>
<title>Generate stats in Excel format</title>
<link>https://overflow.efficy.io/?qa=6973/generate-stats-in-excel-format</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I want to generate some stats (server side) and I want to have an excel format (no csv)&lt;/p&gt;

&lt;p&gt;I know I can use strSaveTextFile to generate file, but how could I generate excel ? &lt;/p&gt;

&lt;p&gt;thanks in advance :) &lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6973/generate-stats-in-excel-format</guid>
<pubDate>Tue, 19 Sep 2023 07:14:33 +0000</pubDate>
</item>
<item>
<title>How works Efficy.autoMergeDuplicate exactly ?</title>
<link>https://overflow.efficy.io/?qa=6970/how-works-efficy-automergeduplicate-exactly</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Can someone explain what exactly does Efficy.autoMergeDuplicate ? &lt;/p&gt;

&lt;p&gt;I tried to merge two records I thought that if a set &lt;code&gt;alwaysKeepFirst = true&lt;/code&gt; the merge will actually keep the record data of first key without merging any data from second key.  But it looks like it only keep the key but the data from key 2 will be merged into key1 anyway.  So which means the key2 data are kind of master data of merge ?  Or does it take the recent data (d_change) as master ? &lt;/p&gt;

&lt;p&gt;What I need is actually,  to have some kind of merge that will keep only the data of key (the key I decide to keep) but will eventually take the links (to entities) of key2 if not exist in key to keep. Is it possible ? &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6970/how-works-efficy-automergeduplicate-exactly</guid>
<pubDate>Mon, 11 Sep 2023 10:16:47 +0000</pubDate>
</item>
<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>Created new Entity, but Swedisch translation is not working</title>
<link>https://overflow.efficy.io/?qa=6962/created-new-entity-but-swedisch-translation-is-not-working</link>
<description>&lt;p&gt;Efficy login in with Swedisch language.&lt;/p&gt;

&lt;p&gt;When I login to: &lt;a rel=&quot;nofollow&quot; href=&quot;https://xxxxxxx.efficytest.cloud&quot;&gt;https://xxxxxxx.efficytest.cloud&lt;/a&gt; i get: &quot;VISITS&quot; as label = NOT OK&lt;br&gt;
When I login localy &lt;a rel=&quot;nofollow&quot; href=&quot;http://efficy120/crm:&quot;&gt;http://efficy120/crm:&lt;/a&gt; I get &quot;BESÖK&quot; as label = OK&lt;/p&gt;

&lt;p&gt;CustomLabels.txt:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;==&amp;gt; Languages:ENDENLFRSV
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;VISITVisitBesuchBezoekVisiterBesök&lt;br&gt;
VISITSVisitsBesucheBezoeken2VisitesBesök&lt;br&gt;
VisiVisitBesuchBezoekVisiterBesöken&lt;br&gt;
VisisVisitsBesucheBezoekenVisitesBesök&lt;/p&gt;

&lt;p&gt;I investigated this together with my TA and we cannot figure out what we ar doing wrong. The tabulation should be fine&lt;/p&gt;

&lt;p&gt;Can someone help me please?&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6962/created-new-entity-but-swedisch-translation-is-not-working</guid>
<pubDate>Thu, 07 Sep 2023 15:25:14 +0000</pubDate>
</item>
<item>
<title>I would to custom an image in imgnew</title>
<link>https://overflow.efficy.io/?qa=6961/i-would-to-custom-an-image-in-imgnew</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I found some images in &lt;code&gt;efficy\imgnew\*.png&lt;/code&gt; and I would to custom them&lt;/p&gt;

&lt;p&gt;I tried to add in my custom folder &lt;code&gt;customs\mycustom\imgnew\*.png&lt;/code&gt; the folder imgnew and add the same name than in the efficy/imgnew (ex : logo32-white.png) but the image isn't changed.&lt;/p&gt;

&lt;p&gt;there is no solution to custom images ? &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6961/i-would-to-custom-an-image-in-imgnew</guid>
<pubDate>Thu, 07 Sep 2023 07:34:49 +0000</pubDate>
</item>
</channel>
</rss>