<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions and answers in Efficy Developers</title>
<link>https://overflow.efficy.io/?qa=qa/developers</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: Delete a custom entity</title>
<link>https://overflow.efficy.io/?qa=4326/delete-a-custom-entity&amp;show=7219#a7219</link>
<description>&lt;p&gt;For Whom it may concern, The Oracle version of What Kristof presented:&lt;br&gt;
First, drop the views and tables related to the entity. With the SQL below, you can generate the drop statements&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DECLARE
    v_K_ENTITY   NUMBER;
    v_NAME       NVARCHAR2(32);
    v_TABLENAME  NVARCHAR2(24);
BEGIN
    v_K_ENTITY := 51;

    SELECT NAME
    INTO v_NAME
    FROM SYS_ENTITIES
    WHERE K_ENTITY = v_K_ENTITY;

    -- Drop view statements
   FOR r IN (
       SELECT 'drop view R_' || NAME AS stmt
       FROM SYS_TABLES
       WHERE ROUND(K_TABLE, -3)/1000 = v_K_ENTITY
           OR SUBSTR(TO_CHAR(K_TABLE), -3) = '0' || v_K_ENTITY
    ) LOOP
        DBMS_OUTPUT.PUT_LINE(r.stmt);
    END LOOP;

    -- Drop table statements
    FOR r IN (
        SELECT 'drop table ' || NAME AS stmt
        FROM SYS_TABLES
        WHERE ROUND(K_TABLE, -3)/1000 = v_K_ENTITY
           OR SUBSTR(TO_CHAR(K_TABLE), -3) = '0' || v_K_ENTITY
    ) LOOP
         DBMS_OUTPUT.PUT_LINE(r.stmt);
    END LOOP;
END;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now proceed with the system tables cleanup. Note that the order of execution is important.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DECLARE
     v_K_ENTITY   NUMBER := 50;
     v_NAME       NVARCHAR2(32);
BEGIN

    -- Get entity name
    SELECT NAME
    INTO v_NAME
    FROM SYS_ENTITIES
    WHERE K_ENTITY = v_K_ENTITY;

    ---------------------------------------------------
    -- Ordered deletes (DO NOT REORDER)
    ---------------------------------------------------

    DELETE FROM SYS_REFERENCES
    WHERE K_TABLE = v_K_ENTITY * 1000;

    DELETE FROM SYS_QUERIES
    WHERE K_MASTER = v_K_ENTITY
       OR K_DETAIL = v_K_ENTITY;

    DELETE FROM SYS_RELATIONS
    WHERE K_TABLE1 = v_K_ENTITY * 1000
       OR K_TABLE2 = v_K_ENTITY * 1000;

    DELETE FROM SYS_RELENTITIES
    WHERE ROUND(K_TABLE, -3)/1000 = v_K_ENTITY
       OR SUBSTR(TO_CHAR(K_TABLE), -3) = '0' || v_K_ENTITY;

    DELETE FROM SYS_FIELDS
    WHERE K_TABLE IN (
        SELECT K_TABLE
            FROM SYS_TABLES
            WHERE ROUND(K_TABLE, -3)/1000 = v_K_ENTITY
    );

    DELETE FROM SYS_TABLES
    WHERE ROUND(K_TABLE, -3)/1000 = v_K_ENTITY
       OR SUBSTR(TO_CHAR(K_TABLE), -3) = '0' || v_K_ENTITY;

    DELETE FROM SYS_SECTFIELDS
    WHERE K_SECTION IN (
        SELECT K_SECTION
        FROM SYS_SECTIONS
        WHERE K_FORM IN (
            SELECT K_FORM
            FROM SYS_FORMS
            WHERE K_TABLE = v_K_ENTITY * 1000
        )
    );

    DELETE FROM SYS_SECTIONS
    WHERE K_FORM IN (
        SELECT K_FORM
        FROM SYS_FORMS
        WHERE K_TABLE = v_K_ENTITY * 1000
    );

    DELETE FROM SYS_FORMS
    WHERE K_TABLE = v_K_ENTITY * 1000;

    DELETE FROM SYS_ENTITIES
    WHERE K_ENTITY = v_K_ENTITY;

    DELETE FROM SYS_TABLEVIEWS
    WHERE ROUND(K_TABLE, -3)/1000 = v_K_ENTITY
       OR SUBSTR(TO_CHAR(K_TABLE), -3) = '0' || v_K_ENTITY;

    DELETE FROM SYS_ENTITYVIEWS
    WHERE NAME LIKE '%' || v_NAME || '%';

    ---------------------------------------------------
    -- Update with nested REPLACE
    ---------------------------------------------------

    UPDATE SYS_ENTITYVIEWS
    SET TABLEVIEWS =
        REPLACE(
            REPLACE(
                TABLEVIEWS,
                ';' || SUBSTR(NAME,1,4) || '_' || v_NAME || '=' || v_NAME,
                ''
            ),
            ';' || v_NAME || '_' || SUBSTR(NAME,1,4) || '=' || v_NAME,
            ''
        )
    WHERE TABLEVIEWS LIKE '%;' || SUBSTR(NAME,1,4) || '_' || v_NAME || '=' ||     v_NAME || '%'
   OR TABLEVIEWS LIKE '%;' || v_NAME || '_' || SUBSTR(NAME,1,4) || '=' || v_NAME || '%';

COMMIT;

END;
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4326/delete-a-custom-entity&amp;show=7219#a7219</guid>
<pubDate>Thu, 12 Feb 2026 14:41:50 +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>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>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>Answered: Syntax for function OnAddLinkOppoPubl(Key, DetailKey)</title>
<link>https://overflow.efficy.io/?qa=7172/syntax-for-function-onaddlinkoppopubl-key-detailkey&amp;show=7175#a7175</link>
<description>&lt;p&gt;Hello Dimitri,&lt;/p&gt;

&lt;p&gt;If you are linking the Publication from Opportunity you will enter into OnAddLinkOppoPubl(Key, DetailKey). &lt;br&gt;
In this case the Key parameter is a key of the Opportunity.&lt;br&gt;
You will need to openEditContext of the opportunity and update the field.&lt;br&gt;
ex.: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var editOppo= Efficy.openEditContext(ntOppo, Key);
try {
  Efficy.updateField(editOppo, 0, &quot;STATUS&quot;, STATUSVAL);
  Efficy.commitChanges(editOppo, false);
} finally {
  Efficy.closeContext(editOppo);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If you want to avoid the workflow events of Opportunity be triggered during the status update don't forget to include disableWorkflow property.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var editOppo= Efficy.openEditContext(ntOppo, Key);
Efficy.disableWorkflow = true;
try {
  Efficy.updateField(editOppo, 0, &quot;STATUS&quot;, STATUSVAL);
  Efficy.commitChanges(editOppo, false);
} finally {
  Efficy.disableWorkflow = false;
  Efficy.closeContext(editOppo);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Implement the logic in bidirectional if needed: OnAddLinkPublOppo(Key, DetailKey), where Opportunity key will be then DetailKey.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br&gt;
Hamid&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7172/syntax-for-function-onaddlinkoppopubl-key-detailkey&amp;show=7175#a7175</guid>
<pubDate>Wed, 14 May 2025 10:09:19 +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>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>Answered: 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&amp;show=7165#a7165</link>
<description>&lt;p&gt;Hi Stefan&lt;/p&gt;

&lt;p&gt;Efficy does not expose a workflow event that fires when entity records are consulted or queried. When existing entity records are edited, the event &lt;strong&gt;OnEditingXxxx&lt;/strong&gt; can be implemented to update a field value of the dataset before it gets displayed. This is where you could decrypt it.&lt;/p&gt;

&lt;p&gt;I'm not sure it helps you?&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&amp;show=7165#a7165</guid>
<pubDate>Mon, 24 Feb 2025 09:26:10 +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>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: 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&amp;show=7116#a7116</link>
<description>&lt;p&gt;When working with setUserSecurity in ServerJs, it's best to execute it in a block where Efficy.disableSecurity === true.&lt;/p&gt;

&lt;p&gt;It's because the current user has for instance &lt;strong&gt;no Delete table rights&lt;/strong&gt;, but gives group Everyone or &lt;strong&gt;other users &quot;Full Control&quot;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This protection prevents users giving user security &quot;Full&quot; on a record and override Table rights for themselves or others. In a script context, this is often exactly what you want to do.&lt;/p&gt;

&lt;p&gt;Thank you to Kristof for his help.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7115/efficy-setusersecurity-assign-security-level-default-right&amp;show=7116#a7116</guid>
<pubDate>Thu, 26 Sep 2024 15:46:36 +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: Datasynchro cuts string after 510 characters</title>
<link>https://overflow.efficy.io/?qa=4128/datasynchro-cuts-string-after-510-characters&amp;show=7089#a7089</link>
<description>&lt;p&gt;For those who are interested and still encountering the issue here is why and how to solve it. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why it happens ?&lt;/strong&gt; &lt;br&gt;
If you going through the setup of ODBC Excel drive you can see the &quot;Options&amp;gt;&amp;gt;&quot; button. If you click on it a &quot;Driver&quot; options shows up with &quot;Rows to Scan&quot; to 8. What happens is that Excel reads only the first 8 rows and based on them decides how log is the cell. If your first 8 rows has a longest cell with 100 characters for the column then it will consider the max length as 100 characters. &lt;br&gt;
Unfortunate if you try to change the &quot;Rows To Scan&quot; the ODBC doesn't save it and throws a warning/error &quot;Invalid rows to scan&quot;.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=4118514166174025667&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to solve it ?&lt;/strong&gt; &lt;br&gt;
Several suggestions were found on internet. &lt;/p&gt;

&lt;p&gt;1.The one that worked for me was to change the registry key. Open registry editor and search for &lt;code&gt;TypeGuessRows&lt;/code&gt;. &lt;br&gt;
On my machine it was in : &lt;code&gt;\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Microsoft\Office\16.0\Access Connectivity Engine\Engines\Excel&lt;/code&gt;.&lt;br&gt;
On one of the clients on-premise machine it was in : &lt;code&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Access Connectivity Engine\Engines\Excel\&lt;/code&gt; .&lt;br&gt;
You shold just change the following elements: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TypeGuessRows to 0&lt;/li&gt;
&lt;li&gt;ImportMixedTypes to Text (this one already was on text)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2.There is an another solution, to place the row with the longest cell string on top of the list (in the first 8 rows of Excel). I didn't tried it yet, but sound logical if the ODBC reads only the first 8 rows by default =&amp;gt; to confirm&lt;/p&gt;

&lt;p&gt;The most details and solutions have been found in this &lt;a rel=&quot;nofollow&quot; href=&quot;https://stackoverflow.com/a/3806372&quot;&gt;stackoverflow thread&lt;/a&gt;. &lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4128/datasynchro-cuts-string-after-510-characters&amp;show=7089#a7089</guid>
<pubDate>Mon, 12 Aug 2024 05:24:30 +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>Answered: Where are the &quot;Follow&quot; notification details stored?</title>
<link>https://overflow.efficy.io/?qa=7075/where-are-the-follow-notification-details-stored&amp;show=7076#a7076</link>
<description>&lt;p&gt;Hi Hamid&lt;/p&gt;

&lt;p&gt;They are stored in the &lt;code&gt;Xxxx_User&lt;/code&gt; table, e.g. &lt;code&gt;COMP_USER&lt;/code&gt;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;select NOTIFY from COMP_USER where K_COMPANY=:p1
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The value is a power of 2 sum. So, when all 4 are checked, notify will be 15.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Modified (1)&lt;/li&gt;
&lt;li&gt;Deleted (2)&lt;/li&gt;
&lt;li&gt;Link Added (4)&lt;/li&gt;
&lt;li&gt;Link modified (8)&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7075/where-are-the-follow-notification-details-stored&amp;show=7076#a7076</guid>
<pubDate>Mon, 22 Jul 2024 14:52:37 +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: 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&amp;show=7035#a7035</link>
<description>&lt;p&gt;I found the solution, thank you to Hamid.&lt;br&gt;
We need to install the &quot;&lt;strong&gt;Win64OpenSSL&lt;em&gt;Light-1&lt;/em&gt;0_2n.exe&lt;/strong&gt;&quot; which is a dependency of Efficy Entreprise ... and that I forgot to install on my new laptop ... oups&lt;/p&gt;

&lt;p&gt;This dependency can be found on the Efficy FTP Partner.&lt;/p&gt;
</description>
<category>Efficy Installation/Settings</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7032/configuration-dispatch-starttls-raise-error-configuration&amp;show=7035#a7035</guid>
<pubDate>Fri, 26 Jan 2024 19:26:20 +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: 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&amp;show=7013#a7013</link>
<description>&lt;p&gt;Please contact Cloud for this Oracle table space error.&lt;br&gt;
I removed the customer name from the post.&lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7012/01653-unable-extend-adminolvea-actions-tablespace-effolvea&amp;show=7013#a7013</guid>
<pubDate>Wed, 20 Dec 2023 15:52:04 +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: Last version of Efficy.Net.dll</title>
<link>https://overflow.efficy.io/?qa=6999/last-version-of-efficy-net-dll&amp;show=7003#a7003</link>
<description>&lt;p&gt;Hi, it is possible for the Efficy Team to update the online documentation  ?     &lt;br&gt;
At &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/projectguides/soap_integrations_documentation#soap-url&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/projectguides/soap_integrations_documentation#soap-url&quot;&gt;https://help.efficy.io/edn/projectguides/soap_integrations_documentation#soap-url&lt;/a&gt;&lt;br&gt;
nor &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/rpcfunctions&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/rpcfunctions&quot;&gt;https://help.efficy.io/edn/rpcfunctions&lt;/a&gt;&lt;br&gt;
there is no mention of this argument :-( ...&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&amp;show=7003#a7003</guid>
<pubDate>Thu, 30 Nov 2023 10:28:51 +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>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>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: Customize servicy</title>
<link>https://overflow.efficy.io/?qa=6976/customize-servicy&amp;show=6977#a6977</link>
<description>&lt;p&gt;Yes it is possible, please check this post: &lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=3523/is-servicy-css-in-custom-possible&amp;amp;show=3523#q3523&quot;&gt;https://overflow.efficy.io/?qa=3523/is-servicy-css-in-custom-possible&amp;amp;show=3523#q3523&lt;/a&gt;&lt;/p&gt;
</description>
<category>Extranet / HelpDesk</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6976/customize-servicy&amp;show=6977#a6977</guid>
<pubDate>Thu, 28 Sep 2023 08:21:47 +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>Answered: 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&amp;show=6966#a6966</link>
<description>&lt;p&gt;Fixed&lt;/p&gt;

&lt;p&gt;Business-data-providers was set in dealer base, &lt;br&gt;
CustomLabels from that custom took over your the regular customlabels.&lt;/p&gt;

&lt;p&gt;Deactivated of the dealer base, is for now a workarround.&lt;/p&gt;

&lt;p&gt;Next time I could check, the dealerbase label conflicts first.&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&amp;show=6966#a6966</guid>
<pubDate>Fri, 08 Sep 2023 15:15:46 +0000</pubDate>
</item>
</channel>
</rss>