<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions and answers in Efficy/ Client side</title>
<link>https://overflow.efficy.io/?qa=qa/developers/customizing-efficy/efficy-client-side</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: How works Efficy.autoMergeDuplicate exactly ?</title>
<link>https://overflow.efficy.io/?qa=6970/how-works-efficy-automergeduplicate-exactly&amp;show=7221#a7221</link>
<description>&lt;p&gt;Hello,&lt;br&gt;
Is there someone to answer ? I have the same problem ...&lt;br&gt;
Thanks&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6970/how-works-efficy-automergeduplicate-exactly&amp;show=7221#a7221</guid>
<pubDate>Thu, 26 Feb 2026 11:07:15 +0000</pubDate>
</item>
<item>
<title>Answered: How to overwrite/customize ckeditor.config.js properly ?</title>
<link>https://overflow.efficy.io/?qa=7207/how-to-overwrite-customize-ckeditor-config-js-properly&amp;show=7208#a7208</link>
<description>&lt;p&gt;Hello Hamid, &lt;/p&gt;

&lt;p&gt;I think this is the only way of doing so, because this is the way it has been implemented in standard. &lt;/p&gt;

&lt;p&gt;I mean in standard in the following files it is calling &lt;code&gt;Model('filebaseFolder')&lt;/code&gt; so we are forced to override the &lt;code&gt;initCkEditor&lt;/code&gt; function for the following files : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;efficy\js\editentitygrid\main.js  &lt;/li&gt;
&lt;li&gt;efficy\js\views\editView.js&lt;/li&gt;
&lt;li&gt;efficy\pages\modal\setWidgetCaption.htm&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7207/how-to-overwrite-customize-ckeditor-config-js-properly&amp;show=7208#a7208</guid>
<pubDate>Tue, 02 Dec 2025 10:50:55 +0000</pubDate>
</item>
<item>
<title>Answered: Placeholders must be setted to be interpreted ?</title>
<link>https://overflow.efficy.io/?qa=7198/placeholders-must-be-setted-to-be-interpreted&amp;show=7199#a7199</link>
<description>&lt;p&gt;Dear fauremax,&lt;/p&gt;

&lt;p&gt;In standard file &lt;strong&gt;MacroConsult.txt&lt;/strong&gt; cf macro &lt;strong&gt;DetailButton&lt;/strong&gt;&lt;br&gt;
there is an exemple of how to do such dev with the &lt;code&gt;$icon$&lt;/code&gt; macro parameter.&lt;/p&gt;

&lt;p&gt;1- the parameter is optional so in the definition of the macro &lt;strong&gt;EntityRelationsTemplate&lt;/strong&gt; I would add the &lt;code&gt;$label$&lt;/code&gt; like this : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;EntityRelationsTemplate$caption;label
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;2- in this macro I will call the &lt;code&gt;$label$&lt;/code&gt; macro parameter like this&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%If('$label$', then=|&amp;lt;%(GetLabel('$label$', context=TAG)%&amp;gt;|)%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You will need to try this to be sure it works&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&amp;show=7199#a7199</guid>
<pubDate>Wed, 22 Oct 2025 19:23:18 +0000</pubDate>
</item>
<item>
<title>Answered: How to deactivate OpenUrl.log log file ?</title>
<link>https://overflow.efficy.io/?qa=7196/how-to-deactivate-openurl-log-log-file&amp;show=7197#a7197</link>
<description>&lt;p&gt;As stated in the Overflow post you shared, the setting &quot;&lt;strong&gt;logOpenUrlRequests&lt;/strong&gt;&quot; is configured at the &lt;strong&gt;server level&lt;/strong&gt;, not at the &lt;strong&gt;database level&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Therefore, if you need to modify it, you must locate the &quot;&lt;strong&gt;serversettings.json&lt;/strong&gt;&quot; file on the server where Efficy is installed and make the change there.&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&amp;show=7197#a7197</guid>
<pubDate>Mon, 20 Oct 2025 07:48:57 +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>Answered: 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&amp;show=7186#a7186</link>
<description>&lt;p&gt;We had a number of similar issues with multivalue fields on relation tables.&lt;br&gt;
Seems to be a bug on Efficy core side.&lt;/p&gt;

&lt;p&gt;The workaround that worked for us was to add dummy multivalue fields with the same definitions on every involved entity tables. &lt;br&gt;
In your case should be &lt;code&gt;DIINS.F_DD_GOS&lt;/code&gt; and &lt;code&gt;DEMA.F_DD_GOS&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Probably Efficy team have a better suggestion.&lt;/p&gt;

&lt;p&gt;Cheers&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&amp;show=7186#a7186</guid>
<pubDate>Thu, 10 Jul 2025 13:42:14 +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>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>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>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>Answered: 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&amp;show=7140#a7140</link>
<description>&lt;p&gt;I think the colors are now set from the field &lt;code&gt;ACTIONS.KIND&lt;/code&gt; field and the colors are managed in the lookup &lt;code&gt;LK_ACTI_KIND&lt;/code&gt;.&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&amp;show=7140#a7140</guid>
<pubDate>Mon, 04 Nov 2024 10:57:25 +0000</pubDate>
</item>
<item>
<title>Answered: Macro definition rules</title>
<link>https://overflow.efficy.io/?qa=7129/macro-definition-rules&amp;show=7130#a7130</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;This means that the macro arguments $nodisable$ and $groupusercode$ can be empty&lt;br&gt;
When the macro is parsed by the application server (com+), in the HTML result code you will not have the text '$nodisable$' or '$groupusercode$' if those argument are empty, you will have '' and ''&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7129/macro-definition-rules&amp;show=7130#a7130</guid>
<pubDate>Wed, 23 Oct 2024 06:56:36 +0000</pubDate>
</item>
<item>
<title>Answered: Consult DEFAULT tab</title>
<link>https://overflow.efficy.io/?qa=7117/consult-default-tab&amp;show=7118#a7118</link>
<description>&lt;p&gt;The only possible option is to override the default entity after the user is log into efficy, via a workflow. &lt;/p&gt;

&lt;p&gt;Something like this &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function AfterLogon() {
var readString = Efficy.readString('Efficy', 'LastProjDETAIL', 'Comp');
Efficy.writeString('Efficy', 'LastProjDETAIL', readString);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;thank you to Ludovic for the tips ;)&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7117/consult-default-tab&amp;show=7118#a7118</guid>
<pubDate>Fri, 27 Sep 2024 15:25:41 +0000</pubDate>
</item>
<item>
<title>Answered: Setting default widget list per user group</title>
<link>https://overflow.efficy.io/?qa=7102/setting-default-widget-list-per-user-group&amp;show=7114#a7114</link>
<description>&lt;p&gt;Hi Chris,&lt;/p&gt;

&lt;p&gt;Check this document :  &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/dev/crft_11_combineddisplayownershiplevels&quot;&gt;https://help.efficy.io/edn/dev/crft_11_combineddisplayownershiplevels&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You have to play with dashboards.&lt;/p&gt;

&lt;p&gt;Kr,&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&amp;show=7114#a7114</guid>
<pubDate>Thu, 26 Sep 2024 13:01:25 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=7097#a7097</link>
<description>&lt;p&gt;Hello Hamid,&lt;/p&gt;

&lt;p&gt;the CallEfficyProtocol is used to call sidebar function through the URL of the sidebar embedded webserver (for instance &lt;a rel=&quot;nofollow&quot; href=&quot;https://efficy12)&quot;&gt;https://efficy12)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In standard efficy, I can see that the following verbs exist, but I did not find the complete list and those verbs are fixed in the Sidebar code: &lt;br&gt;
- createmail&lt;br&gt;
- setmailinfo&lt;br&gt;
- searchloaded&lt;br&gt;
- createprofile&lt;br&gt;
- createInvitation&lt;br&gt;
- exportdocs&lt;br&gt;
- dial&lt;/p&gt;

&lt;p&gt;You can find them easily in efficy code if you search the &lt;strong&gt;CallEfficyProtocol&lt;/strong&gt; function&lt;/p&gt;

&lt;p&gt;Hope this will help&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7087/when-use-callefficyprotocol-what-possible-protocol-actions&amp;show=7097#a7097</guid>
<pubDate>Mon, 26 Aug 2024 09:20:26 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=7092#a7092</link>
<description>&lt;p&gt;Don't you get an error message when you commit on a readonly (locked) edit handle? Having this exception equals to knowing it's locked.&lt;/p&gt;

&lt;p&gt;The lack of support in the remote API and the fact that it was never added in next releases means that the added value of having it is low. I never experienced it as a missing feature, to be honest.&lt;/p&gt;

&lt;p&gt;What data are you updating that is locked by end users at the same moment?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;(EDIT)&lt;/strong&gt;&lt;br&gt;
Here is another approach I would follow: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Load the source data (Xlsx or CSV) into a mirror table in the database. This already facllitates joins with existing data and quality checks.&lt;/li&gt;
&lt;li&gt;Select unique documents, aggregating the file paths into a char separated string that you parse in ServerJs. Your script will only edit the document once!&lt;/li&gt;
&lt;/ol&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&amp;show=7092#a7092</guid>
<pubDate>Mon, 19 Aug 2024 14:01:57 +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>Answered: When is OpenUrl.log generated ?</title>
<link>https://overflow.efficy.io/?qa=7085/when-is-openurl-log-generated&amp;show=7086#a7086</link>
<description>&lt;p&gt;Hello Hamid,&lt;/p&gt;

&lt;p&gt;There are 2 cases when this logs is written :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;when the setting logOpenUrlRequests is set to 1 in the serversettings.json&lt;/li&gt;
&lt;li&gt;in the datasynchro remote , if you check the option in the config.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Alex.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7085/when-is-openurl-log-generated&amp;show=7086#a7086</guid>
<pubDate>Wed, 07 Aug 2024 08:59:13 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=7078#a7078</link>
<description>&lt;p&gt;So it looks like the Efficy Mail dispatch sends emails with all receivers in the TO list? Still I don't understand why an auto reply rule would use that as recipients and not the sender (from address). It's hard to believe this is a true story, honestly.&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&amp;show=7078#a7078</guid>
<pubDate>Tue, 23 Jul 2024 08:04:43 +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>Answered: 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&amp;show=7067#a7067</link>
<description>&lt;p&gt;I found out that the Prod&lt;em&gt;Prod2 relation is only necessary when you have a double relation. For instance in when you create a Comp&lt;/em&gt;Comp relation, you will have 2 records in the DB in order to specify which companies is the &quot;Head Office&quot; company and which company is the &quot;Subsidiary&quot; company.&lt;/p&gt;

&lt;p&gt;On entityies that don't need this double relation, you don't need to create the entity_entity2 tableview&lt;/p&gt;

&lt;p&gt;So by removing the &lt;code&gt;ENOP_ENOP2&lt;/code&gt; &lt;code&gt;sys_tableviews&lt;/code&gt;, it worked :)&lt;/p&gt;

&lt;p&gt;Thank you to kristof for his help.&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&amp;show=7067#a7067</guid>
<pubDate>Thu, 23 May 2024 17:59:26 +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>Answered: 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&amp;show=7027#a7027</link>
<description>&lt;p&gt;Just this reply to be sure you checked the obvious conditions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The field &lt;code&gt;F_COMMENT&lt;/code&gt; has &lt;code&gt;SYS_FIELDS.TRANSLATE&lt;/code&gt;=1&lt;/li&gt;
&lt;li&gt;The field &lt;code&gt;F_COMMENT&lt;/code&gt; has &lt;code&gt;DataType=A&lt;/code&gt;, so its not a memo&lt;/li&gt;
&lt;li&gt;You have records in the &lt;code&gt;TRANSLATIONS&lt;/code&gt; table mapped to the corresponding &lt;code&gt;K_TABLE&lt;/code&gt; + &lt;code&gt;K_FIELD&lt;/code&gt;..&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Else, I have no idea.&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&amp;show=7027#a7027</guid>
<pubDate>Tue, 16 Jan 2024 12:13: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>Answered: change colour of the icons in map search</title>
<link>https://overflow.efficy.io/?qa=7016/change-colour-of-the-icons-in-map-search&amp;show=7019#a7019</link>
<description>&lt;p&gt;Hi Stephan, the integration code is located in &lt;code&gt;efficy\pages\search\SearchMap.htm&lt;/code&gt; and &lt;code&gt;efficy\pages\search\SearchResultMap.htm&lt;/code&gt;. It's there that you'll see the parsing of macro SearchResultMapMarkers that will be used to generate the icons/markers on Google maps.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Markers = [&amp;lt;%Macro(&quot;SearchResultMapMarkers&quot;)%&amp;gt;] 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This macro generates the Markers object, containing the entity name. This can be 'Comp', but also be customized to another marker syle, e.g. &quot;comp_green&quot;. Check the Serverscript function GetGMapMarkers that returns the markers layout.&lt;/p&gt;

&lt;p&gt;It's old code, but quite well designed.&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&amp;show=7019#a7019</guid>
<pubDate>Mon, 08 Jan 2024 16:52:06 +0000</pubDate>
</item>
<item>
<title>Answered: Show iframe widget with parameters in URL</title>
<link>https://overflow.efficy.io/?qa=7017/show-iframe-widget-with-parameters-in-url&amp;show=7018#a7018</link>
<description>&lt;p&gt;There are two possibilities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Serverside: create the iframe tag in a Macro and include the &lt;code&gt;&amp;lt;%GetKey()%&amp;gt;&lt;/code&gt; macro tag.&lt;/li&gt;
&lt;li&gt;ClientSide: :&lt;br&gt;
&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;Using plain JS &lt;code&gt;new URLSearchParams(window.location.search).get(&quot;key&quot;)&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Using the Efficy global object Model and do this &lt;code&gt;Model(&quot;key&quot;)&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I don't find a tag to include the key directly in the &quot;iframe url&quot; field.&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&amp;show=7018#a7018</guid>
<pubDate>Mon, 08 Jan 2024 16:10:38 +0000</pubDate>
</item>
<item>
<title>Answered: Quotation builder sheet shows only one line?</title>
<link>https://overflow.efficy.io/?qa=6995/quotation-builder-sheet-shows-only-one-line&amp;show=7004#a7004</link>
<description>&lt;p&gt;Replacing the new lines (\n) &lt;code&gt;&amp;lt;/w:t&amp;gt;&amp;lt;/w:r&amp;gt;&amp;lt;w:r&amp;gt;&amp;lt;w:br/&amp;gt;&amp;lt;w:t&amp;gt;&lt;/code&gt; works&lt;/p&gt;

&lt;p&gt;The problem occurs because of different Linebreak handling in generateProposal [$GetFragments()]&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&amp;show=7004#a7004</guid>
<pubDate>Thu, 30 Nov 2023 13:33:03 +0000</pubDate>
</item>
<item>
<title>Answered: 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&amp;show=6985#a6985</link>
<description>&lt;p&gt;Small extention:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;declare 
@lookupTable nvarchar(max) = 'LK_CONT_LANGUAGE',
@lookupTableKeyField nvarchar(max) = 'K_CONT_LANGUAGE',
@labelField nvarchar(max) = 'LANGUAGE',
@script nvarchar(max);

set @script = 
'select 1 as [k_sort], ''' + @lookupTable +': {'' as object UNION 
select 2, concat(upper(replace(' + @labelField + ', '' '', ''_'')),'': '', ' + @lookupTableKeyField + ','','') 
from ' + @lookupTable + 
' where disabled = 0 UNION select 3, ''}''';
-- print @script;
exec sp_executesql @script;
&lt;/code&gt;&lt;/pre&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&amp;show=6985#a6985</guid>
<pubDate>Wed, 04 Oct 2023 09:54:58 +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>Answered: I would to custom an image in imgnew</title>
<link>https://overflow.efficy.io/?qa=6961/i-would-to-custom-an-image-in-imgnew&amp;show=6963#a6963</link>
<description>&lt;p&gt;You should recompile SCSS from your &lt;code&gt;mycustom&lt;/code&gt; folder and be sure to put the imgnew folder in &lt;code&gt;customs\mycustom\efficy\imgnew&lt;/code&gt; for Efficy 12.0&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&amp;show=6963#a6963</guid>
<pubDate>Fri, 08 Sep 2023 09:03:02 +0000</pubDate>
</item>
<item>
<title>Answered: How to customize the files in the admin folder of the wwwroot of Efficy, in order to change the support email?</title>
<link>https://overflow.efficy.io/?qa=6943/customize-files-folder-wwwroot-efficy-change-support-email&amp;show=6944#a6944</link>
<description>&lt;p&gt;it seems those files are not customizable.&lt;/p&gt;

&lt;p&gt;if your client is onPremise, you can override the files directly on the web servers.&lt;/p&gt;

&lt;p&gt;TIPS : think to keep track of those files in the custom folder of your customer, in order to reinstall them each time a new Efficy version is installed.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6943/customize-files-folder-wwwroot-efficy-change-support-email&amp;show=6944#a6944</guid>
<pubDate>Wed, 26 Jul 2023 13:55:48 +0000</pubDate>
</item>
<item>
<title>Answered: Efficy 2012: Send screenshot</title>
<link>https://overflow.efficy.io/?qa=969/efficy-2012-send-screenshot&amp;show=6942#a6942</link>
<description>&lt;p&gt;In Efficy 2021, the files for managing this email are : &lt;/p&gt;

&lt;p&gt;admin/Error.htm&lt;br&gt;
admin/ErrorAjax.htm&lt;br&gt;
admin/ErrorServicy.htm&lt;br&gt;
admin/error/text_html.txt&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=969/efficy-2012-send-screenshot&amp;show=6942#a6942</guid>
<pubDate>Wed, 26 Jul 2023 07:35:01 +0000</pubDate>
</item>
<item>
<title>Answered: Can we add a not standard translation for a lookup value ?</title>
<link>https://overflow.efficy.io/?qa=6939/can-we-add-a-not-standard-translation-for-a-lookup-value&amp;show=6940#a6940</link>
<description>&lt;p&gt;Go in Designer to a field that is using your lookup table. The dropdown will be pointing to the default text column, e.g. &lt;code&gt;F_VALUE&lt;/code&gt;. Add manually a new column &lt;code&gt;F_VALUE_IT&lt;/code&gt; (identical length) and switch the select back to &lt;code&gt;F_VALUE&lt;/code&gt; after the page refreshes. Do an apply structure.&lt;/p&gt;

&lt;p&gt;Go now to your lookup and you should be able to add the Italian values.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6939/can-we-add-a-not-standard-translation-for-a-lookup-value&amp;show=6940#a6940</guid>
<pubDate>Tue, 18 Jul 2023 11:51:30 +0000</pubDate>
</item>
<item>
<title>Answered: Does anyone knows how to access the DOCU_DOCU relation inside a Template?</title>
<link>https://overflow.efficy.io/?qa=6928/does-anyone-knows-access-docudocu-relation-inside-template&amp;show=6929#a6929</link>
<description>&lt;p&gt;It seems that the DOCU_DOCU relation is not working in templates.&lt;/p&gt;

&lt;p&gt;In order to make it work you need to create a Dummy entity &lt;code&gt;DummyDocu&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Here are the steps to do that:&lt;/p&gt;

&lt;p&gt;1- In &lt;code&gt;SYS_ENTITYVIEW&lt;/code&gt; &lt;strong&gt;DocuEdit&lt;/strong&gt; you add the &lt;code&gt;DummyDocu_Docu=DummyDocu&lt;/code&gt; as tableview&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Docu;Docu_User=User;File=File;.....;DummyDocu_Docu=DummyDocu&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;2- Then you have to define the entity named &lt;code&gt;DummyDocu&lt;/code&gt; that uses consult views DocuConsult en DocuEdit&lt;/p&gt;

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

&lt;p&gt;3- Then also the &lt;code&gt;SYS_TABLEVIEW&lt;/code&gt; tableview &lt;code&gt;DummyDocu_Docu&lt;/code&gt;&lt;/p&gt;

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

&lt;p&gt;4- Finally in the template you can get the table&lt;/p&gt;

&lt;p&gt;&lt;code&gt;[$GetTable('DummyDocu')] .... [/$]&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Thank you @Kristof Pawels for this tip&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6928/does-anyone-knows-access-docudocu-relation-inside-template&amp;show=6929#a6929</guid>
<pubDate>Wed, 14 Jun 2023 21:24:54 +0000</pubDate>
</item>
<item>
<title>Answered: Display HTML in custom page using GetDataGrid()</title>
<link>https://overflow.efficy.io/?qa=6891/display-html-in-custom-page-using-getdatagrid&amp;show=6892#a6892</link>
<description>&lt;p&gt;Hello Sébastien,&lt;/p&gt;

&lt;p&gt;As you are getting the results per row, by using the context=HTML, it will automatically behave as the browser does. It will add to your first row the close tag of &lt;code&gt;&amp;lt;/table&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I am not sure if it is the right solution but you could use &lt;code&gt;&amp;lt;script&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt; to concatenate the result of query into a variable and then push the variable into the element you need.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;script&amp;gt;
let html = '';
&amp;lt;%Delay(1)%&amp;gt;GetDataGrid(query=&quot;GetLog&quot;, count=-1, noheader=true, TemplateText=|&amp;lt;#repeat&amp;gt;html+=&quot;&amp;lt;#F=TEXT;context=JS&amp;gt;&quot;&amp;lt;/#repeat&amp;gt;|)%&amp;gt;
document.querySelector('YOURSELECTOR').innerHTML = html;
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Set the script at the end of the page before closing &lt;code&gt;&amp;lt;/body&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6891/display-html-in-custom-page-using-getdatagrid&amp;show=6892#a6892</guid>
<pubDate>Wed, 26 Apr 2023 17:17:12 +0000</pubDate>
</item>
<item>
<title>Answered: SOAP Connection with executesqlquery including sum and having statement does not work</title>
<link>https://overflow.efficy.io/?qa=6864/soap-connection-executesqlquery-including-having-statement&amp;show=6865#a6865</link>
<description>&lt;p&gt;I found the mistake :&lt;/p&gt;

&lt;p&gt;COALESCE(SUM(F&lt;em&gt;CA&lt;/em&gt;TOTAL&lt;em&gt;N&lt;/em&gt;1), 0) as 'CA_N - 1',&lt;/p&gt;

&lt;p&gt;the alias 'CA&lt;em&gt;N - 1' is not working in SOAP, as soon as I replace it by 'CA&lt;/em&gt;N _1', everything is OK !&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6864/soap-connection-executesqlquery-including-having-statement&amp;show=6865#a6865</guid>
<pubDate>Sat, 08 Apr 2023 09:34:41 +0000</pubDate>
</item>
<item>
<title>Answered: Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')</title>
<link>https://overflow.efficy.io/?qa=6841/uncaught-typeerror-properties-undefined-reading-tolowercase&amp;show=6851#a6851</link>
<description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;In a Dialog context, there is usually no validation required. At least not in standard Efficy. In Efficy 2021, regional settings such as the dateSeparator are now user based instead of server based. So the isValidDate function in Validate.js has been updated to use a property of the Model and not the global variable from before.&lt;/p&gt;

&lt;p&gt;You have the error because it's a custom page. Fix it by adding a custom Model to your page (use macro JsonDialogModelCustom) so that the standard isValideDate can use it.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6841/uncaught-typeerror-properties-undefined-reading-tolowercase&amp;show=6851#a6851</guid>
<pubDate>Thu, 30 Mar 2023 06:05:46 +0000</pubDate>
</item>
<item>
<title>Answered: LaunchAction is not working at all</title>
<link>https://overflow.efficy.io/?qa=6843/launchaction-is-not-working-at-all&amp;show=6846#a6846</link>
<description>&lt;p&gt;Find out the issue.&lt;/p&gt;

&lt;p&gt;In Efficy 12, the macro LaunchAction is also depecrated.&lt;br&gt;
I had to override misc/action.js and declare my action in this file to make it works, also with using the mask {PERFORM} in the GetDataGrid macro for the field NAME.&lt;/p&gt;

&lt;p&gt;And finally modify the Perform function :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function Perform(Result, Label) {
requirejs(['misc/action', 'url'], function(Action, Url) {
Action.launch(Url.getArgument('action'));
});
}
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6843/launchaction-is-not-working-at-all&amp;show=6846#a6846</guid>
<pubDate>Thu, 23 Mar 2023 08:03:13 +0000</pubDate>
</item>
<item>
<title>Answered: Convert number to letter multilingual to display in Template</title>
<link>https://overflow.efficy.io/?qa=6831/convert-number-to-letter-multilingual-to-display-template&amp;show=6837#a6837</link>
<description>&lt;p&gt;Hello Stéphane,&lt;br&gt;
If it's the project that I think it is then I've tried to convert the GitHub library to be used in Efficy Entreprise. I've committed it into svn.&lt;br&gt;
Current languages supported are EN and FR for Efficy Entreprise (2021). But there are more languages that can be used. We just have to make them compatible. &lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://svn.efficy.com/svn/Projects/a_library_for_projects/numbers2words&quot;&gt;https://svn.efficy.com/svn/Projects/a_library_for_projects/numbers2words&lt;/a&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6831/convert-number-to-letter-multilingual-to-display-template&amp;show=6837#a6837</guid>
<pubDate>Mon, 13 Mar 2023 16:25:22 +0000</pubDate>
</item>
<item>
<title>Answered: How to make a group be selected instead of a manager in an opportunity</title>
<link>https://overflow.efficy.io/?qa=6813/how-to-make-group-be-selected-instead-of-manager-opportunity&amp;show=6819#a6819</link>
<description>&lt;p&gt;You probably need a custom to do that, I think you will need to override 2 macros :&lt;br&gt;
1- in MacroLibrary.txt there the macro named &lt;code&gt;GroupUsersLookup$nodisable;groupusercode&lt;/code&gt;, you will need to review the query in it.&lt;br&gt;
2- in FormFieldEdit.txt, you will also need to review the macros: &lt;br&gt;
 - &lt;code&gt;field.LOOKUPUSERGROUP.Oppo&lt;/code&gt;&lt;br&gt;
 - &lt;code&gt;field.LOOKUPUSERGROUP.Case&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But is it enough? may be you will also need to link the chosen group to the opportunity records via a workflow to make the opportunity appearing in the opportunity list.&lt;/p&gt;

&lt;p&gt;And there may be also impacts in the KanBan view and the Standard Sales widgets.&lt;/p&gt;

&lt;p&gt;That may be riske to implement this change&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6813/how-to-make-group-be-selected-instead-of-manager-opportunity&amp;show=6819#a6819</guid>
<pubDate>Fri, 17 Feb 2023 15:00:31 +0000</pubDate>
</item>
<item>
<title>Answered: Get regional settings in serverJS</title>
<link>https://overflow.efficy.io/?qa=6816/get-regional-settings-in-serverjs&amp;show=6817#a6817</link>
<description>&lt;p&gt;You can know the Server setting for the decimal point and the thousand separator with the following serverside script:  &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var decimalChar = decimalSeparator();
Efficy.log(&quot;Server decimalPoint: (&quot; + decimalChar + &quot;)&quot;);

var thousandChar = thousandSeparator();
Efficy.log(&quot;Server thousandSeparator: (&quot; + thousandChar + &quot;)&quot;);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Normally, you don't need to have this information for a user serverside because all numerical value must be passed for database format. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In front end,&lt;/strong&gt; you are using the following 2 standards functions to manage the decimal points : &lt;br&gt;
- function &lt;strong&gt;GetScriptNumeric&lt;/strong&gt;(Value) : reading an input text boxe and convert it to javascript numeric string, that you can be parse in javascript with ParseFloat in order to do calculations&lt;br&gt;
- function &lt;strong&gt;GetDatabaseNumeric&lt;/strong&gt;(Value) : writting in an input text boxe the javacript numeric to database numerical value waiting by Efficy Backend (normally following the user setting &quot;decimalSeparator&quot; in the user option.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In the backend,&lt;/strong&gt; we are using the dateset object to get the numerical value: ie: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dataset.fieldByName(&quot;BUDGET&quot;).asFloat
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This is always returning a JavaScript numerical value, so no need to have the decimalPoint information in Serverside Scripts.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6816/get-regional-settings-in-serverjs&amp;show=6817#a6817</guid>
<pubDate>Fri, 17 Feb 2023 14:48:35 +0000</pubDate>
</item>
<item>
<title>Answered: How get the key into a step in float value rather than navchar when using &lt;#=@ data.key #&gt;</title>
<link>https://overflow.efficy.io/?qa=6806/into-step-float-value-rather-than-navchar-when-using-data-key&amp;show=6807#a6807</link>
<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;You have to pass it as a parameter to the &lt;strong&gt;microtemplate&lt;/strong&gt; function.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;microTemplate(templateNodeEdit, { srcProjKey: Model('key'),   nodeId: nodeId || '', W: mtWorkload})
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then &lt;code&gt;srcProjKey&lt;/code&gt; can be used as &lt;code&gt;&amp;lt;#=@ srcProjKey #&amp;gt;&lt;/code&gt;. (this not an Efficy tag btw)&lt;/p&gt;

&lt;p&gt;Or you can add the parameter to the URL of the request which retrieves the macro.&lt;br&gt;
(use with Efficy tags)&lt;/p&gt;

&lt;p&gt;The &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6806/into-step-float-value-rather-than-navchar-when-using-data-key&amp;show=6807#a6807</guid>
<pubDate>Wed, 08 Feb 2023 14:42:48 +0000</pubDate>
</item>
<item>
<title>How to extract blob data from a Maximizer Database to an Effciy database</title>
<link>https://overflow.efficy.io/?qa=6764/extract-blob-data-from-maximizer-database-effciy-database</link>
<description>&lt;p&gt;Hello,&lt;br&gt;
I need to import all the documents from a Maximizer SQL Database to an Efficy Database.&lt;br&gt;
Is it possible ?&lt;br&gt;
If yes how ?&lt;br&gt;
Thank you&lt;br&gt;
Dimitri&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6764/extract-blob-data-from-maximizer-database-effciy-database</guid>
<pubDate>Sun, 20 Nov 2022 21:32:39 +0000</pubDate>
</item>
<item>
<title>In the workflow, is is possible to interact when generating a .pdf file from a .docx file ?</title>
<link>https://overflow.efficy.io/?qa=6760/workflow-possible-interact-generating-file-from-docx-file</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

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

&lt;p&gt;The customer wants to display a picture of a product (PICTURE field) in the offer templates.&lt;/p&gt;

&lt;p&gt;Is it possible?&lt;br&gt;
If yes, what is the necessary configuration?&lt;br&gt;
I have tested locally with a template for contacts but the template file is corrupted at its creation.&lt;/p&gt;

&lt;p&gt;Sincerely&lt;br&gt;
Quentin PRIGENT&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6758/display-of-product-photo-photo-field-in-the-offer-templates</guid>
<pubDate>Thu, 10 Nov 2022 17:11:52 +0000</pubDate>
</item>
<item>
<title>Answered: How to activate Ajax call on select2 attached to a &lt;select&gt; element ?</title>
<link>https://overflow.efficy.io/?qa=6741/how-to-activate-ajax-call-on-select2-attached-select-element&amp;show=6742#a6742</link>
<description>&lt;p&gt;I have done a test with the Select2 version 4.1.0 and this is working.&lt;br&gt;
So may be R&amp;amp;D need to update the Select2 library version ?&lt;/p&gt;

&lt;p&gt;Here is the test I did : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;select id=&quot;test&quot; data-ajax-url=&quot;dialog?_macro=JsonContactValueList&amp;amp;_macrofile=MacroAjax&quot;&amp;gt;&amp;lt;/select&amp;gt;

&amp;lt;script&amp;gt;
window.addEventListener(&quot;DOMContentLoaded&quot;, (event) =&amp;gt; {
$('select[data-ajax-url]').select2({
allowClear:    true,
closeOnSelect: false,
ajax:          {
dataType:    'json',
cache:       false,
delay: 1500,
//quietMillis: 2500, //Efficy version 3.5.2
data:        function (params) { return params &amp;amp;&amp;amp; params.term ? {search: params.term} : {}; }, //New Version 4.1
//results:     function (data) { return {results: data}; } //Efficy version 3.5.2
processResults: function (data, params) { return {results: data}; } //New Version 4.1
}
});
});
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6741/how-to-activate-ajax-call-on-select2-attached-select-element&amp;show=6742#a6742</guid>
<pubDate>Wed, 02 Nov 2022 09:17:21 +0000</pubDate>
</item>
</channel>
</rss>