<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions and answers in How to</title>
<link>https://overflow.efficy.io/?qa=qa/category-users/how-to</link>
<description>Powered by Question2Answer</description>
<item>
<title>SMS récurrent / recurring sms</title>
<link>https://overflow.efficy.io/?qa=7052/sms-recurrent-recurring-sms</link>
<description>&lt;p&gt;Bonjour,&lt;br&gt;
Je souhaite paramétrer l'envoi d'une campagne SMS récurrente sur la Version 2021.&lt;br&gt;
Je comprends que dans NetBusiness, l'écran de création d'un SMS récurrent fonctionne comme l'envoi d'emailing récurrent mais comment est déclenché l'envoi ?&lt;br&gt;
Pour les emails il y a une tâche planifiée mais pas pour les sms.&lt;br&gt;
Je ne vois rien dans l'aide en ligne, seuls les emailings récurrents sont présentés mais pas les sms. Pourtant la fonctionnalité &quot;type = envoi récurrent&quot; est bien proposé dans Edeal pour les sms. C'est très confusant pour les utilisateurs.&lt;br&gt;
Merci&lt;/p&gt;

&lt;p&gt;Hello,&lt;br&gt;
I would like to configure the sending of a recurring SMS campaign on Version 2021.&lt;br&gt;
I understand that in NetBusiness, the screen for creating a recurring SMS works like sending a recurring email, but how is the sending triggered?&lt;br&gt;
For emails there is a scheduled task but not for SMS.&lt;br&gt;
I don't see anything in the online help, only recurring emails are presented but not text messages. However, the “type = recurring sending” functionality is indeed offered in Edeal for SMS. This is very confusing for users.&lt;br&gt;
Thanks&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7052/sms-recurrent-recurring-sms</guid>
<pubDate>Thu, 21 Mar 2024 09:19:17 +0000</pubDate>
</item>
<item>
<title>Answered: How can I insert (picture or signature) into a Word template by using runscripts into a contact array</title>
<link>https://overflow.efficy.io/?qa=6947/insert-picture-signature-template-runscripts-contact-array&amp;show=6948#a6948</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;It's not possible.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=4582/insert-picture-field-in-word-template&amp;amp;show=4606#a4606&quot;&gt;https://overflow.efficy.io/?qa=4582/insert-picture-field-in-word-template&amp;amp;show=4606#a4606&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Kr,&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6947/insert-picture-signature-template-runscripts-contact-array&amp;show=6948#a6948</guid>
<pubDate>Wed, 09 Aug 2023 12:22:12 +0000</pubDate>
</item>
<item>
<title>Answered: Extranet  invoicing</title>
<link>https://overflow.efficy.io/?qa=6810/extranet-invoicing&amp;show=6820#a6820</link>
<description>&lt;p&gt;I don't think so, I think the customer can only see the timesheets on projects.&lt;br&gt;
But may ask this question to Audrey Levin directly&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6810/extranet-invoicing&amp;show=6820#a6820</guid>
<pubDate>Fri, 17 Feb 2023 15:04:59 +0000</pubDate>
</item>
<item>
<title>Answered: &quot;New Outlook&quot; and Efficy macOs Sidebar compatibility issue</title>
<link>https://overflow.efficy.io/?qa=5838/new-outlook-and-efficy-macos-sidebar-compatibility-issue&amp;show=6783#a6783</link>
<description>&lt;p&gt;Almost 2 years later, still no AppleScript on Microsoft's side? &lt;br&gt;
New Outlook looks nicer though.&lt;/p&gt;

&lt;p&gt;Planned for March 2023. &lt;br&gt;
See: &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.microsoft.com/en-in/microsoft-365/roadmap?filters=&amp;amp;searchterms=apple%2Cscript&quot;&gt;https://www.microsoft.com/en-in/microsoft-365/roadmap?filters=&amp;amp;searchterms=apple%2Cscript&lt;/a&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5838/new-outlook-and-efficy-macos-sidebar-compatibility-issue&amp;show=6783#a6783</guid>
<pubDate>Tue, 27 Dec 2022 12:17:22 +0000</pubDate>
</item>
<item>
<title>how install wsl linux extension to Install Elastic Search for Efficy on a 2019 server</title>
<link>https://overflow.efficy.io/?qa=6775/install-linux-extension-install-elastic-search-efficy-server</link>
<description>&lt;p&gt;Hello&lt;br&gt;
I want to configure the Elastic Search functionality Into my on premise serveur 2019.&lt;br&gt;
I found this tutorial but it's only for windows 10 not for server version.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/projectguides/install-es-wsl&quot;&gt;https://help.efficy.io/edn/projectguides/install-es-wsl&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I guess you have done it on your own servers for cloud customers. So I think you have a step by step tutorial to install the linux feature.&lt;/p&gt;

&lt;p&gt;Thank's &lt;br&gt;
Laurent Tuffraud&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6775/install-linux-extension-install-elastic-search-efficy-server</guid>
<pubDate>Tue, 06 Dec 2022 17:03:33 +0000</pubDate>
</item>
<item>
<title>Answered: how open a soap session by using api token rather than efficy:logon xml tag ?</title>
<link>https://overflow.efficy.io/?qa=6765/how-open-soap-session-using-api-token-rather-than-efficy-logon&amp;show=6774#a6774</link>
<description>&lt;p&gt;Here the solution I found and was working for me.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So the previous version was like that :&lt;/strong&gt; &lt;/p&gt;

&lt;pre&gt;&lt;code&gt; &amp;lt;SOAP-ENV:Envelope xmlns:efficy=&quot;http://www.efficy.com&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope&quot;&amp;gt; 
&amp;lt;SOAP-ENV:Body&amp;gt; 
&amp;lt;efficy:logon database=&quot;XXXXX&quot; user=&quot;ZZZZ&quot; password=&quot;AAAAAAA&quot; /&amp;gt; 
   &amp;lt;efficy:api&amp;gt; 
             &amp;lt;datacontainer operation=&quot;query&quot; master=&quot;-1&quot; param1=&quot;EEEE&quot;  detail=&quot;10&quot; /&amp;gt; &amp;lt;/efficy:api&amp;gt; 
    &amp;lt;efficy:logoff/&amp;gt; 
    &amp;lt;/SOAP-ENV:Body&amp;gt; 
&amp;lt;/SOAP-ENV:Envelope&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;The new version :&lt;/strong&gt;&lt;br&gt;
With the Efficy token you can use the same except that you change all the efficy:logon tag by this only tag&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; &amp;lt;SOAP-ENV:Envelope xmlns:efficy=&quot;http://www.efficy.com&quot; xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope&quot;&amp;gt; 
&amp;lt;SOAP-ENV:Body&amp;gt; 
   &amp;lt;efficy:api&amp;gt; 
             &amp;lt;currentuserfullname/&amp;gt;
             &amp;lt;datacontainer operation=&quot;query&quot; master=&quot;-1&quot; param1=&quot;EEEE&quot;  detail=&quot;10&quot; /&amp;gt; 
   &amp;lt;/efficy:api&amp;gt; 
    &amp;lt;/SOAP-ENV:Body&amp;gt; 
&amp;lt;/SOAP-ENV:Envelope&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But it's not enough&lt;br&gt;
You must send in the header the informations about the token&lt;br&gt;
So you have to add the following informations&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;X-Efficy-ApiKey&lt;/em&gt;&lt;/strong&gt; with the token you declare into the designer. &lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/admin/dsgn_createapikeys&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/admin/dsgn_createapikeys&quot;&gt;https://help.efficy.io/edn/admin/dsgn_createapikeys&lt;/a&gt;&lt;br&gt;
this optional option &lt;strong&gt;&lt;em&gt;X-Efficy-Customer&lt;/em&gt;&lt;/strong&gt; if your URL is not dedicated to a single customer profile&lt;br&gt;
and &lt;strong&gt;&lt;em&gt;X-Efficy-Logoff&lt;/em&gt;&lt;/strong&gt; with the option = &lt;strong&gt;true&lt;/strong&gt; to have the same behavior of the xml tag &lt;code&gt;&amp;lt;efficy:logoff/&amp;gt;&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Laurent Tuffraud&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6765/how-open-soap-session-using-api-token-rather-than-efficy-logon&amp;show=6774#a6774</guid>
<pubDate>Tue, 06 Dec 2022 08:07:53 +0000</pubDate>
</item>
<item>
<title>Answered: how to fill the data into the LK with EditInitialized into the workflow for the mobile Application ?</title>
<link>https://overflow.efficy.io/?qa=6363/into-with-editinitialized-into-workflow-mobile-application&amp;show=6373#a6373</link>
<description>&lt;p&gt;Hello Laurent,&lt;/p&gt;

&lt;p&gt;The Mobile app uses edit context the exact same way that the &quot;web&quot; app does.&lt;/p&gt;

&lt;p&gt;Therefore, you can add your custom logic in the &lt;code&gt;EditInitializedComp&lt;/code&gt; method:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function EditInitializedComp(editHandle, inserted) {
    // Triggered on Comp creation
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: for lookup values, you may want to also update the displayed value:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function EditInitializedComp(editHandle, inserted) {
    if (!inserted) return;
    var dsComp = Efficy.getMasterDataSet(editHandle, 0);
    dsComp.edit();
    dsComp.fieldByName(&quot;R_LEGALKIND&quot;).asString = Efficy.getLookupValueFromKey(Efficy.entityCatalog.tableIDFromName(&quot;COMPANIES&quot;), &quot;LEGALKIND&quot;, 4); 
    dsComp.fieldByName(&quot;LEGALKIND&quot;).asFloat= 4;  
}
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6363/into-with-editinitialized-into-workflow-mobile-application&amp;show=6373#a6373</guid>
<pubDate>Mon, 29 Nov 2021 09:09:11 +0000</pubDate>
</item>
<item>
<title>Answered: Is there a way to resynchronize into Efficy a campaign which has launched directly from Flexmail?</title>
<link>https://overflow.efficy.io/?qa=6367/resynchronize-efficy-campaign-launched-directly-flexmail&amp;show=6370#a6370</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I think you can do this by creating the publication in Efficy, with the same NAME than the Flexmail Campaign. And then activate the category &quot;PUBL$EMAILING&quot; and fill in the following fields with DB&lt;em&gt;Editor (Efficy tool to access the Database records) because this category is hidden and cannot be managed from Efficy interface:&lt;br&gt;
- PUBL$EMAILING.K&lt;/em&gt;FLEXMAIL = [Key of the Flexmail Account you can find this to Efficy Designer Flexmail configuration window]&lt;br&gt;
- PUBL$EMAILING.CAMPAIGN_ID = [the Flexmail key of the campaign that has been created from Flexmail]&lt;/p&gt;

&lt;p&gt;If this is working, you can probably create a new functionality to ask the Flexmail Campaign ID and update the hidden fields in PUBL$EMAILING via a ServerScript.&lt;/p&gt;

&lt;p&gt;Then the campaign can be synchronized to get the campaign result.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6367/resynchronize-efficy-campaign-launched-directly-flexmail&amp;show=6370#a6370</guid>
<pubDate>Fri, 26 Nov 2021 10:35:50 +0000</pubDate>
</item>
<item>
<title>Answered: How customize relations fields to show + icon on mobile APP</title>
<link>https://overflow.efficy.io/?qa=6343/how-customize-relations-fields-to-show-icon-on-mobile-app&amp;show=6344#a6344</link>
<description>&lt;p&gt;To display your custom field just think you must first adapt your sys_queries.&lt;br&gt;
so in the Linked SQLTEXT in DBEDITOR you must adding the fields you want to display in the relation grid.&lt;/p&gt;

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

&lt;p&gt;Then it working as asked.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=11652826376447053101&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;For the problem of the icon displayed into the application.&lt;br&gt;
You must use the name of the icon id used into the creation entity in designer.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;div&amp;gt;&amp;lt;input type=&quot;radio&quot; name=&quot;ENTITY_ICON&quot; value=&quot;\e908&quot; id=&quot;coin-euro&quot;&amp;gt;&amp;lt;label for=&quot;coin-euro&quot; class=&quot;i-coin-euro&quot;&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

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

&lt;p&gt;Then you must use the ID into you JSON&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&quot;entities&quot;:{
      &quot;Amou&quot;:{
         &quot;active&quot;:false,
         &quot;icon&quot;:&quot;coin-euro&quot;
      }
   }
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and et voilà !!!&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=2797053777741704772&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6343/how-customize-relations-fields-to-show-icon-on-mobile-app&amp;show=6344#a6344</guid>
<pubDate>Wed, 03 Nov 2021 16:40:49 +0000</pubDate>
</item>
<item>
<title>Answered: Unable to see page without Full Access Rights</title>
<link>https://overflow.efficy.io/?qa=6240/unable-to-see-page-without-full-access-rights&amp;show=6242#a6242</link>
<description>&lt;p&gt;Hi Luc,&lt;/p&gt;

&lt;p&gt;I added Administrator to the Everyone group. (UAT)&lt;br&gt;
But I couldn't reproduce your issue.&lt;/p&gt;

&lt;p&gt;In the console, you have also have some errors for one widget.&lt;/p&gt;

&lt;p&gt;You can contact me if the problem persists.&lt;/p&gt;

&lt;p&gt;Kr,&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6240/unable-to-see-page-without-full-access-rights&amp;show=6242#a6242</guid>
<pubDate>Mon, 02 Aug 2021 08:28:46 +0000</pubDate>
</item>
<item>
<title>Answered: My ranking and Global ranking: How is it calculated?</title>
<link>https://overflow.efficy.io/?qa=6231/my-ranking-and-global-ranking-how-is-it-calculated&amp;show=6232#a6232</link>
<description>&lt;p&gt;Dear Erwin,&lt;/p&gt;

&lt;p&gt;It seems that it counts the number of Actions, Documents, Mails.&lt;/p&gt;

&lt;p&gt;For My Ranking, it counts the links to those entities that have been created by your user.&lt;br&gt;
For Global Ranking, it counts the links to those entities created by any user.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6231/my-ranking-and-global-ranking-how-is-it-calculated&amp;show=6232#a6232</guid>
<pubDate>Tue, 20 Jul 2021 07:04:36 +0000</pubDate>
</item>
<item>
<title>Answered: Extranet - Notification per email for the customers ?</title>
<link>https://overflow.efficy.io/?qa=6214/extranet-notification-per-email-for-the-customers&amp;show=6220#a6220</link>
<description>&lt;p&gt;As user, you cannot verify this. Only the server administrator could inspect the log files of the service and verify if - within a certain timeframe - an e-mail was sent.&lt;/p&gt;

&lt;p&gt;There are so many reasons why an e-mail notification could not be received:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The person who is managing the incident in Efficy, did not use the case &quot;Inform Customer&quot; command&lt;/li&gt;
&lt;li&gt;The contact is not linked to the Action or has no e-mail&lt;/li&gt;
&lt;li&gt;E-mail ended up in SPAM&lt;/li&gt;
&lt;/ol&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6214/extranet-notification-per-email-for-the-customers&amp;show=6220#a6220</guid>
<pubDate>Thu, 08 Jul 2021 12:58:46 +0000</pubDate>
</item>
<item>
<title>Answered: How does work Efficy.impersonateUser(impersonateAccount, forceUserRole)</title>
<link>https://overflow.efficy.io/?qa=6160/efficy-impersonateuser-impersonateaccount-forceuserrole&amp;show=6167#a6167</link>
<description>&lt;p&gt;The owner is defined in the field K_USER of your record, you can simply update it.&lt;br&gt;
forceUserRole can be used to set the default securities of a given role (group) when creating records.&lt;br&gt;
impersonateAccount makes use another user as the user logged in. It is used by services like exchange synchros. &lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6160/efficy-impersonateuser-impersonateaccount-forceuserrole&amp;show=6167#a6167</guid>
<pubDate>Tue, 15 Jun 2021 06:59:17 +0000</pubDate>
</item>
<item>
<title>Answered: COntacts synced to Flexmail depends on language</title>
<link>https://overflow.efficy.io/?qa=5905/contacts-synced-to-flexmail-depends-on-language&amp;show=5928#a5928</link>
<description>&lt;p&gt;Hi Dave,&lt;/p&gt;

&lt;p&gt;I suppose that a new customer is prompted by Flexmail to select the desired languages when creating the account and if they want to add new languages latter, they currently have to contact Flexmail to add them in the account. I don’t think that Flexmail added the interface to add new languages but they are planning to do it.&lt;/p&gt;

&lt;p&gt;Yes if the language is added in the Flexmail account, the synchro will synchronize the contacts. The synchro attempts to synchronize them at every run until the language is added in Flexmail.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;/p&gt;

&lt;p&gt;Alain Pegurri&lt;br&gt;
R&amp;amp;D Senior Developer&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5905/contacts-synced-to-flexmail-depends-on-language&amp;show=5928#a5928</guid>
<pubDate>Mon, 01 Mar 2021 10:07:47 +0000</pubDate>
</item>
<item>
<title>Answered: Where can I find the standard agenda colors for different languages in Efficy 11.3</title>
<link>https://overflow.efficy.io/?qa=5788/where-find-standard-agenda-colors-different-languages-efficy&amp;show=5791#a5791</link>
<description>&lt;p&gt;Hi Jan&lt;/p&gt;

&lt;p&gt;The mapping between the &lt;code&gt;MODE&lt;/code&gt; and &lt;code&gt;NATURE&lt;/code&gt; values with the CSS class happens client-side in JS file &lt;code&gt;efficy\js\agenda\render.js&lt;/code&gt;, in the start method.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;this._appointmentColors = mode: {
'appo-mode-meetingIn': 'meeting in;rdv au bureau;afspraak in;cita en la oficina;meeting (innen);ミーティング中;zebranie w biurze;içerde toplantı',
'appo-mode-meetingOut': 'meeting out;rdv extérieur;afspraak uit;cita fuera de la oficina;meeting (außen);ミーティング終了;zebranie poza biurem;dişarda toplantı',
'appo-mode-holidays': 'holidays;congé;verlof;vacaciones;urlaub;休暇;wolne;tatil'
},
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5788/where-find-standard-agenda-colors-different-languages-efficy&amp;show=5791#a5791</guid>
<pubDate>Thu, 07 Jan 2021 08:41:59 +0000</pubDate>
</item>
<item>
<title>Answered: Selection view - native SQL - call query from SQL</title>
<link>https://overflow.efficy.io/?qa=5702/selection-view-native-sql-call-query-from-sql&amp;show=5704#a5704</link>
<description>&lt;p&gt;Hi Patrice,&lt;/p&gt;

&lt;p&gt;I don't think it is possible&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5702/selection-view-native-sql-call-query-from-sql&amp;show=5704#a5704</guid>
<pubDate>Wed, 02 Dec 2020 14:19:22 +0000</pubDate>
</item>
<item>
<title>Answered: Efficy Drive - Is there a alternative solution for Mac?</title>
<link>https://overflow.efficy.io/?qa=5681/efficy-drive-is-there-a-alternative-solution-for-mac&amp;show=5694#a5694</link>
<description>&lt;p&gt;AFAIK there is no project to make the equivalent feature for MacOS, because the efficy drive became a bit obsolete due to the enhancement of the file management in Efficy, which does something similar.&lt;/p&gt;

&lt;p&gt;See &quot;Making local use of (large) files&quot; in CRM features 11:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/admin/crft_11_largefilessupport&quot;&gt;https://help.efficy.io/edn/admin/crft_11_largefilessupport&lt;/a&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5681/efficy-drive-is-there-a-alternative-solution-for-mac&amp;show=5694#a5694</guid>
<pubDate>Tue, 24 Nov 2020 09:44:57 +0000</pubDate>
</item>
<item>
<title>Answered: How To Sync Googla Agenda with Efficy ?</title>
<link>https://overflow.efficy.io/?qa=5651/how-to-sync-googla-agenda-with-efficy&amp;show=5663#a5663</link>
<description>&lt;p&gt;hello &lt;br&gt;
maybe you can check on this URL&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/admin/scpr_googlesync&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/admin/scpr_googlesync&quot;&gt;https://help.efficy.io/edn/admin/scpr_googlesync&lt;/a&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5651/how-to-sync-googla-agenda-with-efficy&amp;show=5663#a5663</guid>
<pubDate>Tue, 27 Oct 2020 11:21:02 +0000</pubDate>
</item>
<item>
<title>How to add Documents, tasks, products, opportunities, cases, mails to a Step like if it was into Stage.</title>
<link>https://overflow.efficy.io/?qa=5660/documents-tasks-products-opportunities-cases-mails-stage</link>
<description>&lt;p&gt;I need to link documents, tasks, products, opportunities, cases, mails to a Step like if it was into a Stage.&lt;br&gt;
I added a new tab products on stages and it work sot the method to attach tables is ok, but no one of the tab is working when I call a step. I saw that some of WkldEditDetailTabHeaders and WkldEditDetailTabContents was filter by &amp;lt;# if (!isStep) { #&amp;gt; or &amp;lt;# if (isStep) { #&amp;gt;&lt;/p&gt;

&lt;p&gt;So in my custom I changed some stuff to make it appear and I created a variant of the addLink button to have &lt;br&gt;
&lt;strong&gt;data-msg=&quot;addLink;WrkStep;&amp;lt;#=@ data.key #&amp;gt;;$detail$&quot;&lt;/strong&gt; or &lt;strong&gt;data-msg=&quot;addLink;WrkStag;&amp;lt;#=@ data.key #&amp;gt;;$detail$&quot;&lt;/strong&gt; both (WrkStep and WrkStag) are existing into the sys_tableviews. &lt;br&gt;
Why it has no effect on addLink for steps while it work's on step. I call only a basic addLink.&lt;/p&gt;

&lt;p&gt;Into MacroWorkloadCustom I changed the standard like this.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For main entity commnands :&lt;/strong&gt; &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;WkldEditDetailTabHeaders {[WkldTabHeaderFields;WkldTabHeaderMemo;WkldTabHeaderActi;WkldTabHeaderCase;WkldTabHeaderDocu;WkldTabHeaderMail;WkldTabHeaderOppo;WkldTabHeaderProd]}
WkldEditDetailTabContents {[WkldTabContentFields;WkldTabContentMemo;WkldTabContentActi;WkldTabContentCase;WkldTabContentDocu;WkldTabContentMail;WkldTabContentOppo;WkldTabContentProd]}
WkldDetailGridColumns..Prod {[MENU2,NAME]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;For workload MicroTemplate :&lt;/strong&gt; &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;WkldTabHeaderActi   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-acti&quot; class=&quot;i-Acti&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderCase   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-case&quot; class=&quot;i-Case&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderDocu   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-docu&quot; class=&quot;i-Docu&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderMail   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-mail&quot; class=&quot;i-Mail&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderOppo   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-oppo&quot; class=&quot;i-Oppo&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderProd   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-prod&quot; class=&quot;i-Prod&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}

WkldTabContentActi {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-acti&quot; data-entity=&quot;Acti&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Acti', $addlabel$='Add Link to Action')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-acti&quot; data-entity=&quot;Acti&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Acti', $addlabel$='Add Link to Action')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentCase {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-case&quot; data-entity=&quot;Case&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Case', $addlabel$='Add Link to Incident')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-case&quot; data-entity=&quot;Case&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Case', $addlabel$='Add Link to Incident')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentDocu {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-docu&quot; data-entity=&quot;Docu&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Docu', $addlabel$='Add Link to Document')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-docu&quot; data-entity=&quot;Docu&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Docu', $addlabel$='Add Link to Document')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentMail {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-mail&quot; data-entity=&quot;Mail&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Mail', $addlabel$='Add Link to Mail')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-mail&quot; data-entity=&quot;Mail&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Mail', $addlabel$='Add Link to Mail')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentOppo {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-oppo&quot; data-entity=&quot;Oppo&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Oppo', $addlabel$='Add Link to Opportunity')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-oppo&quot; data-entity=&quot;Oppo&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Oppo', $addlabel$='Add Link to Opportunity')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentProd {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-prod&quot; data-entity=&quot;Prod&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Prod', $addlabel$='Add Link to Product')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-prod&quot; data-entity=&quot;Prod&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Prod', $addlabel$='Add Link to Product')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentDetailStep {[
&amp;lt;div class=&quot;row&quot;&amp;gt;
&amp;lt;div class=&quot;small-2 medium-1 columns&quot;&amp;gt;
&amp;lt;button type=&quot;button&quot; class=&quot;icon i-add&quot; title=&quot;&amp;lt;%GetLabel('$addlabel$', context=ATTR)%&amp;gt;&quot; data-msg=&quot;addLink;WrkStep;&amp;lt;#=@ data.key #&amp;gt;;$detail$&quot;&amp;gt;&amp;lt;/button&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class=&quot;small-12 medium-11 columns&quot;&amp;gt;
&amp;lt;h3 class=&quot;section-title&quot;&amp;gt;&amp;lt;%GetLabel('$detail$s', context=TEXT)%&amp;gt;&amp;lt;/h3&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class=&quot;row&quot;&amp;gt;
&amp;lt;div class=&quot;small-12 columns wkld-detail-grid&quot;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So I remove the if clause into the header and contents to remove the restriction on steps. And I added a macro called depending on if it's step or not. If yes the addling is done on WrkStep or if not on WrkStag.&lt;br&gt;
I have missed something to finish the job.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5660/documents-tasks-products-opportunities-cases-mails-stage</guid>
<pubDate>Fri, 23 Oct 2020 09:32:36 +0000</pubDate>
</item>
<item>
<title>Answered: How to set customer parameter in SOAP request?</title>
<link>https://overflow.efficy.io/?qa=5603/how-to-set-customer-parameter-in-soap-request&amp;show=5605#a5605</link>
<description>&lt;p&gt;Hi Stefan&lt;/p&gt;

&lt;p&gt;If the url is not uniquely mapped with a customer profile, Efficy will throw this &quot;The host is allowed in more than one customer profile...&quot; exception.&lt;/p&gt;

&lt;p&gt;Either you make sure the host is uniquely mapped (preferred) or you have to pass the customer argument in the SOAP url.&lt;/p&gt;

&lt;p&gt;E.g. &lt;code&gt;https://myhostname/crm/SOAP?customer=xxxxx&lt;/code&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5603/how-to-set-customer-parameter-in-soap-request&amp;show=5605#a5605</guid>
<pubDate>Mon, 28 Sep 2020 09:05:15 +0000</pubDate>
</item>
<item>
<title>Answered: Email Template using multiple tables</title>
<link>https://overflow.efficy.io/?qa=5374/email-template-using-multiple-tables&amp;show=5586#a5586</link>
<description>&lt;p&gt;This will not be possible to use the onField, since your field is on the relation table.&lt;br&gt;
The best is to create a Template Script to find the company/contact linked to your case that has the needed role and call it in your template to retrieve the result.&lt;/p&gt;

&lt;p&gt;Here is a guide that can help you with it : &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.io/edn/dev/svjs_runscripttemplate&quot;&gt;RunScript Template&lt;/a&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5374/email-template-using-multiple-tables&amp;show=5586#a5586</guid>
<pubDate>Tue, 15 Sep 2020 08:19:40 +0000</pubDate>
</item>
<item>
<title>How to upgrade sidebar after migration (Efficy 11)</title>
<link>https://overflow.efficy.io/?qa=5554/how-to-upgrade-sidebar-after-migration-efficy-11</link>
<description>&lt;ol&gt;
&lt;li&gt;Log manually in your Efficy ( example.efficy.com)&lt;/li&gt;
&lt;li&gt;Enter your login and access to your home page of Efficy&lt;/li&gt;
&lt;li&gt;go to the right top and select &quot; Sidebar and Add Ins &quot;&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=15745653818928017966&quot; alt=&quot;enter image description here&quot;&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download your new Sidebar and run it.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=1932074900571729184&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The installation software gonna remove the old version and install the new one. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After the installation you can run the app  from your desktop.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In case of error check if your profile is selected, right click on you sidebar &amp;gt; Profile&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;in case of that you don't have a profile. &amp;gt; Open again the windows &quot; Sidebar and Addins&quot; and select the option &amp;gt; Configure the Efficy Sidebar&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A little windows gonna open and ask for your EFFICY PASSWORD &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;The profile name is not your username (so you can give any name that you want.) Efficy detect automatically your username.&lt;/li&gt;
&lt;/ol&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5554/how-to-upgrade-sidebar-after-migration-efficy-11</guid>
<pubDate>Fri, 28 Aug 2020 08:24:34 +0000</pubDate>
</item>
<item>
<title>Answered: Cannot save document via Mac (file size not showing)- MacOs Catalina</title>
<link>https://overflow.efficy.io/?qa=5548/cannot-save-document-via-mac-file-size-showing-macos-catalina&amp;show=5549#a5549</link>
<description>&lt;p&gt;The solution are the next steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go the &quot;Systeme Preference&quot;&lt;/li&gt;
&lt;li&gt;choose &quot; Security &amp;amp; Privacy&quot;&lt;/li&gt;
&lt;li&gt;Select &quot; Privacy&quot;&lt;/li&gt;
&lt;li&gt;Choose &quot; Full Disk access&quot; on the left list.&lt;/li&gt;
&lt;li&gt;Click on the lock for make changes&lt;/li&gt;
&lt;li&gt;Check Efficy sidebar on the list.&lt;/li&gt;
&lt;/ol&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5548/cannot-save-document-via-mac-file-size-showing-macos-catalina&amp;show=5549#a5549</guid>
<pubDate>Wed, 19 Aug 2020 07:25:23 +0000</pubDate>
</item>
<item>
<title>Answered: Timesheet record deletion</title>
<link>https://overflow.efficy.io/?qa=5322/timesheet-record-deletion&amp;show=5326#a5326</link>
<description>&lt;p&gt;In Efficy 11.3, there are two ways to delete a timesheet entry:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Set the time on zero&lt;/li&gt;
&lt;li&gt;Edit the timesheet and click the delete button&lt;/li&gt;
&lt;/ol&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5322/timesheet-record-deletion&amp;show=5326#a5326</guid>
<pubDate>Tue, 25 Feb 2020 14:12:34 +0000</pubDate>
</item>
<item>
<title>Answered: Steps of a timesheet</title>
<link>https://overflow.efficy.io/?qa=5323/steps-of-a-timesheet&amp;show=5325#a5325</link>
<description>&lt;p&gt;You have to enable the Project Management feature on a Project entity. Then you can create stages, deliverables and steps in the roadmap of your project.&lt;/p&gt;

&lt;p&gt;When you allocated users to your project, the steps will appear in the timesheet automatically so they can be quickly completed by users.&lt;/p&gt;

&lt;p&gt;We highly recommend to read the instructions:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/admin/crft_11_pm_roadmap&quot;&gt;https://help.efficy.com/edn/admin/crft_11_pm_roadmap&lt;/a&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5323/steps-of-a-timesheet&amp;show=5325#a5325</guid>
<pubDate>Tue, 25 Feb 2020 14:10:58 +0000</pubDate>
</item>
<item>
<title>Answered: How to use a group as K_ACCOUNT into a dashboard 11.3 version</title>
<link>https://overflow.efficy.io/?qa=5290/how-to-use-a-group-as-kaccount-into-a-dashboard-11-3-version&amp;show=5317#a5317</link>
<description>&lt;p&gt;Hi Laurent, &lt;/p&gt;

&lt;p&gt;please consider this. set 2 widgets A and B to the main dashboard global&lt;/p&gt;

&lt;p&gt;set security of widget A to group GA and security of widget B to group GB.&lt;/p&gt;

&lt;p&gt;Now when a user of Group GA login the dashboard will only display widget A&lt;br&gt;
same for user of Group GB with widget B.&lt;/p&gt;

&lt;p&gt;so with One dashboard you have two different possible display regarding groups of the users.&lt;/p&gt;

&lt;p&gt;I hope that can help you.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5290/how-to-use-a-group-as-kaccount-into-a-dashboard-11-3-version&amp;show=5317#a5317</guid>
<pubDate>Wed, 19 Feb 2020 16:32:12 +0000</pubDate>
</item>
<item>
<title>Answered: What is the key value for SYNCHRO_RELATION_CONTACT in constant.js for flexmail.</title>
<link>https://overflow.efficy.io/?qa=5262/what-the-value-synchrorelationcontact-constant-flexmail&amp;show=5280#a5280</link>
<description>&lt;p&gt;Hi Laurent,&lt;/p&gt;

&lt;p&gt;I don't know if this will help, but if R&amp;amp;D can give a more detail description of the SYNCHRO table it will help a lot :)&lt;/p&gt;

&lt;p&gt;What I don't understand is how we can store RELATIONS for instance CONT_COMP relation into the SYNCHRO Table&lt;/p&gt;

&lt;p&gt;But, here is what I have and understand : &lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=6742375078805746967&quot; alt=&quot;SYNCHRO_TABLE_DESCRIPTION&quot;&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5262/what-the-value-synchrorelationcontact-constant-flexmail&amp;show=5280#a5280</guid>
<pubDate>Thu, 30 Jan 2020 19:24:28 +0000</pubDate>
</item>
<item>
<title>Answered: IE configuration for self-signed certificate(HTTPS)</title>
<link>https://overflow.efficy.io/?qa=5199/ie-configuration-for-self-signed-certificate-https&amp;show=5202#a5202</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I still don't understand why using a self sign certificate.&lt;/p&gt;

&lt;p&gt;Today, you can have a valid ssl certificate for free on &lt;a rel=&quot;nofollow&quot; href=&quot;https://letsencrypt.org/&quot;&gt;https://letsencrypt.org/&lt;/a&gt; or for a single adress, prices start at 12€ per year.&lt;/p&gt;

&lt;p&gt;Regarding the time spend on debugging this and decreasing the browser security.. it cost much more than 12 €..&lt;/p&gt;

&lt;p&gt;Alex.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5199/ie-configuration-for-self-signed-certificate-https&amp;show=5202#a5202</guid>
<pubDate>Wed, 15 Jan 2020 18:05:35 +0000</pubDate>
</item>
<item>
<title>Answered: Timesheet notification icon</title>
<link>https://overflow.efficy.io/?qa=4567/timesheet-notification-icon&amp;show=4836#a4836</link>
<description>&lt;p&gt;This is defined in MacroBadges.txt.&lt;br&gt;
It's there because it's a standard feature, that produce a badge if timesheet is not filled for the previous week.&lt;br&gt;
This can be removed in Custom in a MacroBadgesCustom.txt.&lt;br&gt;
KR,&lt;br&gt;
Yann&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4567/timesheet-notification-icon&amp;show=4836#a4836</guid>
<pubDate>Mon, 30 Sep 2019 08:56:01 +0000</pubDate>
</item>
<item>
<title>Answered: Gamification Metric - Quizz</title>
<link>https://overflow.efficy.io/?qa=4823/gamification-metric-quizz&amp;show=4827#a4827</link>
<description>&lt;p&gt;Hi Yann&lt;/p&gt;

&lt;p&gt;Thanks for both answers.&lt;/p&gt;

&lt;p&gt;You're saying:&lt;br&gt;
&quot;Quizz standard metrics : quizz completion and quizz score&quot;&lt;/p&gt;

&lt;p&gt;I can't find where to choose the calculation method (designer or Efficy). Can we set the calculation method or is the default &quot;Completion&quot;&lt;/p&gt;

&lt;p&gt;SQL&lt;br&gt;
I have amended the code as follow:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    SELECT COUNT(*)

FROM &amp;lt;#table name=OPPORTUNITIES&amp;gt; O

WHERE O.STATUS  = 9

AND EXISTS (SELECT K_USER FROM &amp;lt;#table name=OPPO_USER&amp;gt; OU WHERE O.K_OPPORTUNITY = OU.K_OPPORTUNITY AND K_USER=&amp;lt;#gamplayerid&amp;gt; and isactive='1') 

AND O.D_DISCUSS &amp;gt;= TO_DATE('&amp;lt;#gamchalbegin&amp;gt;', 'yyyy/mm/dd hh24:mi:ss') 



AND O.F_BILL_ENTITY=1

[Options]

NativeSql=1
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and I have set the aggreg value to &quot;Last value&quot;.&lt;br&gt;
Is that correct?&lt;/p&gt;

&lt;p&gt;It looks like no calculation is run on the Efficy side. Does any parameter need to be set on the server to trigger calculation automatically ? (we're on cloud)&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4823/gamification-metric-quizz&amp;show=4827#a4827</guid>
<pubDate>Wed, 25 Sep 2019 09:33:54 +0000</pubDate>
</item>
<item>
<title>Answered: Gamification Design</title>
<link>https://overflow.efficy.io/?qa=4822/gamification-design&amp;show=4824#a4824</link>
<description>&lt;p&gt;Hi Patrice,&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Is it possible to change the design of the map ? Does Efficy propose (off the package) other graphics ?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Efficy is shipped with three graphical &quot;universes&quot; or packs : Inca, Jungle, and Polar.&lt;br&gt;
The last one is the one enabled by default.&lt;br&gt;
Initially it was intended to bind these graphical universes to the concept of Narrative, but this has not been done yet.&lt;br&gt;
Changing the map is feasible by changing several files that refer to the map, which are png files of the maps (located in the web files, under efficy\imgnew\game&amp;#41;, of the map path, but also a macro that provide coordinates for the path and the dimensions (macros ProgressSteps and ProgressSize in MacroWidgets). To ease the generation of the ProgressSteps coordinates, we can provide a little javascript/html tool page to make this calculation easy once the path is designed (ask R&amp;amp;D for further information for that matter).&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;If within a challenge, a new quizz starts, how can we alert the players ?&lt;br&gt;
  Do they have to enter in the game dashboard everyday to check if a new quizz is to be answered.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I suppose you can do that in custom, we don't provide this mechanism yet. So yes for now they have to enter the game dashboard to be aware of that.&lt;/p&gt;

&lt;p&gt;KR,&lt;br&gt;
Yann&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4822/gamification-design&amp;show=4824#a4824</guid>
<pubDate>Wed, 25 Sep 2019 08:36:09 +0000</pubDate>
</item>
<item>
<title>Answered: Undo the confidential state for a company</title>
<link>https://overflow.efficy.io/?qa=4814/undo-the-confidential-state-for-a-company&amp;show=4815#a4815</link>
<description>&lt;p&gt;The concept of private only exists for appointments, not for other entities. It was first introduced in Efficy 10. Record confidentiallity is a feature available on all entities and since the first release.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Making a record private will give active linked users &quot;Full permission&quot; and inactive linked users &quot;Readonly permission&quot;. &lt;/li&gt;
&lt;li&gt;Making a record public again, restores the default security defined by the role of the current user&lt;/li&gt;
&lt;li&gt;Making a record confidential, only gives the current user &quot;Full permission&quot;. There is no interface button or API method to undo.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;in many ways, private is smarter (from prespective of the user) compared to confidential. &lt;/p&gt;

&lt;p&gt;To answer your question, the undo of confidential requires to open the security dialog and set the desired security for groups. With custom, this can be automated.&lt;/p&gt;

&lt;p&gt;I'll make a suggestion to improve this behavior in Efficy&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4814/undo-the-confidential-state-for-a-company&amp;show=4815#a4815</guid>
<pubDate>Tue, 17 Sep 2019 11:46:42 +0000</pubDate>
</item>
<item>
<title>Fragments error(solution)</title>
<link>https://overflow.efficy.io/?qa=4709/fragments-error-solution</link>
<description>&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=18444636086832228680&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Procedure to follow in order not to reproduce the error message above:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create Template (.docx type Quotation)&lt;br&gt;
The tempate needs to have a GetTable with an empty table like this : &lt;br&gt;
[$GetTable(PROD)]&lt;br&gt;
[/$]&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create/Add Fragments &lt;br&gt;
Ex: Product, Title, Total&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create Opportunity (fill in required fields)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Link Template and Apply (from Oppo)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add your Fragments &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Generate Quotation&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;link of the case with the template test and additional documentation:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://submariners.efficy.com/crm/view/Case/104767&quot;&gt;CFT-2019-102239&lt;/a&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4709/fragments-error-solution</guid>
<pubDate>Wed, 14 Aug 2019 08:26:53 +0000</pubDate>
</item>
<item>
<title>Answered: Settings for AutoMailUploader with Exchange on-prem</title>
<link>https://overflow.efficy.io/?qa=4632/settings-for-automailuploader-with-exchange-on-prem&amp;show=4633#a4633</link>
<description>&lt;p&gt;Hello Alan,&lt;/p&gt;

&lt;p&gt;Your exchange server is using SSL ? If yes, the server on which the service is running has to have OpenSSL installed (or equivalent).&lt;br&gt;
If not, the SSL protocol won't be able to be reached and you get an error.&lt;/p&gt;

&lt;p&gt;You can also try without SSL encryption.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Sébastien&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4632/settings-for-automailuploader-with-exchange-on-prem&amp;show=4633#a4633</guid>
<pubDate>Thu, 01 Aug 2019 06:49:14 +0000</pubDate>
</item>
<item>
<title>Answered: how using the maintenance mode with version 11.2 and +</title>
<link>https://overflow.efficy.io/?qa=4571/how-using-the-maintenance-mode-with-version-11-2-and&amp;show=4575#a4575</link>
<description>&lt;p&gt;We deprecated this feature, it wasn't really operational nor maintained anymore.&lt;/p&gt;

&lt;p&gt;We'll remove the Save and Load State buttons from this page (they should no longer be present).&lt;/p&gt;

&lt;p&gt;I'm surprised somebody asks a question about this feature, I really thought nobody was using this :).&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4571/how-using-the-maintenance-mode-with-version-11-2-and&amp;show=4575#a4575</guid>
<pubDate>Wed, 17 Jul 2019 15:34:34 +0000</pubDate>
</item>
<item>
<title>Answered: How to use ImportUserPasswords</title>
<link>https://overflow.efficy.io/?qa=4484/how-to-use-importuserpasswords&amp;show=4488#a4488</link>
<description>&lt;p&gt;Hi Rob,&lt;/p&gt;

&lt;p&gt;(Edit original answer)&lt;/p&gt;

&lt;p&gt;You can set the passwords using the Efficy utility &lt;strong&gt;ImportUserPasswords.exe&lt;/strong&gt;. Create a simple text file containing the usercode and the initial password and use the Utility for updating the &lt;code&gt;ACC_AUTH&lt;/code&gt; table.&lt;/p&gt;

&lt;p&gt;The file format is as followed:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ABC=secretpasswordABC
BCD=secretpasswordBCD
CFR=secretpasswordCFR
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4484/how-to-use-importuserpasswords&amp;show=4488#a4488</guid>
<pubDate>Mon, 24 Jun 2019 13:41:07 +0000</pubDate>
</item>
<item>
<title>Answered: Report of actions/visit to Word</title>
<link>https://overflow.efficy.io/?qa=4177/report-of-actions-visit-to-word&amp;show=4231#a4231</link>
<description>&lt;p&gt;Hi Patrice&lt;/p&gt;

&lt;p&gt;What about a simple query that lists all visits from a certain period? You can also select the fields you want, the sorting order. You can even export the result to Excel if you would like additional capabilities. This is the simplest way to achieve your goal in Efficy and doesn't require development.&lt;/p&gt;

&lt;p&gt;Qlik is made for charts and diving into data, seeing relations etc. Not for simple listings like these.&lt;/p&gt;

&lt;p&gt;Controlling a document merge with .dot and csv files with VBA code just for the sake of generating a report seems rather complex and insecure, especially in the context of a web application and cloud based software. Office will do everything to block code executions.&lt;/p&gt;

&lt;p&gt;So, start with a query :-)&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4177/report-of-actions-visit-to-word&amp;show=4231#a4231</guid>
<pubDate>Fri, 10 May 2019 14:01:56 +0000</pubDate>
</item>
<item>
<title>Answered: Datasynchro Export to CSV</title>
<link>https://overflow.efficy.io/?qa=4142/datasynchro-export-to-csv&amp;show=4151#a4151</link>
<description>&lt;p&gt;Hello&lt;/p&gt;

&lt;p&gt;You can build a CSV file in memory in using a DataSynchro script. This is explained on this &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/projectguides/serverjs#datasynchro_efficystartjob_and_efficyendjob&quot;&gt;Project guide&lt;/a&gt;, see topic 9.1.&lt;/p&gt;

&lt;p&gt;Here is also a minimalistic version of the export script you can add to export from a query the K_CONTACT and NAME of a contact.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var ExportList,
Folder = &quot;C:\\temp\\&quot;;

function EfficyExportRecord(SourceDataSet, DestDataStore) {
  ExportList.Add(SourceDataSet(&quot;K_CONTACT&quot;) + &quot;\t&quot; + SourceDataSet(&quot;NAME&quot;)); 
  return false;
}

function EfficyStartJob(SourceRecordCount) {
  Efficy.log(&quot;Job has started, count: &quot; + SourceRecordCount);
  ExportList = TStringList.Create;
}
function EfficyEndJob(SourceRecordCount) {
  Efficy.log(&quot;Job has finished&quot;);
  var file = Folder + 'MyExport.csv';
  ExportList.SaveToFile(file);
  ExportList.Free;
  Efficy.log(&quot;Saved to file &quot; + file);
}
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4142/datasynchro-export-to-csv&amp;show=4151#a4151</guid>
<pubDate>Wed, 24 Apr 2019 12:23:01 +0000</pubDate>
</item>
<item>
<title>Answered: Steps for Customers to create the correct API which can be used</title>
<link>https://overflow.efficy.io/?qa=4072/steps-for-customers-to-create-the-correct-api-which-can-used&amp;show=4073#a4073</link>
<description>&lt;p&gt;What about this?&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.com/?qa=3926/google-maps-google-places-api-which-costs-for-which-feature&quot;&gt;https://overflow.efficy.com/?qa=3926/google-maps-google-places-api-which-costs-for-which-feature&lt;/a&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4072/steps-for-customers-to-create-the-correct-api-which-can-used&amp;show=4073#a4073</guid>
<pubDate>Thu, 28 Mar 2019 09:27:37 +0000</pubDate>
</item>
<item>
<title>Answered: install Gmail integration with Efficy 11.2 and latest sidebar version (11.2.16945)</title>
<link>https://overflow.efficy.io/?qa=4070/install-gmail-integration-efficy-latest-sidebar-version-16945&amp;show=4071#a4071</link>
<description>&lt;p&gt;Hi Stephan,&lt;/p&gt;

&lt;p&gt;The old Gmail integration is not longer available in Efficy 11.2&lt;br&gt;
The new Gmail Add-on will soon be available in the G-Suite Marketplace of Google and compatible with Efficy 11.2 (we are still waiting the approval of Google)&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;/p&gt;

&lt;p&gt;Alain&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4070/install-gmail-integration-efficy-latest-sidebar-version-16945&amp;show=4071#a4071</guid>
<pubDate>Wed, 27 Mar 2019 13:43:22 +0000</pubDate>
</item>
<item>
<title>Answered: Efficy 11 - Saving mail to efficy only works for administrators in Mac environment</title>
<link>https://overflow.efficy.io/?qa=4050/efficy-saving-mail-efficy-works-administrators-environment&amp;show=4056#a4056</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;In the designer, can you check the right of the group on the tables (&quot;Rechten op de tabellen&quot; in your screenshot)?&lt;br&gt;
The sidebar requires to have access to the Mail entity (at least Show, Add and Modify).&lt;/p&gt;

&lt;p&gt;Kind Regards&lt;/p&gt;

&lt;p&gt;Alain&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4050/efficy-saving-mail-efficy-works-administrators-environment&amp;show=4056#a4056</guid>
<pubDate>Fri, 22 Mar 2019 15:18:26 +0000</pubDate>
</item>
<item>
<title>Answered: No customer allowed on this host</title>
<link>https://overflow.efficy.io/?qa=3984/no-customer-allowed-on-this-host&amp;show=3988#a3988</link>
<description>&lt;p&gt;In fact the configuration exemple is wrong. &lt;br&gt;
the result it's not &lt;strong&gt;&quot;www.efficy.com&quot;,&quot;127.0.0.1&quot;&lt;/strong&gt; but only &lt;strong&gt;www.efficy.com ; 127.0.0.1&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;For each url it's a new line.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=2315075004041321526&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3984/no-customer-allowed-on-this-host&amp;show=3988#a3988</guid>
<pubDate>Wed, 27 Feb 2019 08:10:28 +0000</pubDate>
</item>
<item>
<title>Answered: Why the chronos in custom entities record only the last record, not all records changed</title>
<link>https://overflow.efficy.io/?qa=3942/chronos-custom-entities-record-only-record-records-changed&amp;show=3943#a3943</link>
<description>&lt;p&gt;Hi Laurent&lt;/p&gt;

&lt;p&gt;The history dialog  groups changes together if they occurred closely in time (within 5 min), typically correcting input mistakes. In your test case, these changes happened too close to each other.&lt;/p&gt;

&lt;p&gt;I assume that when Efficy will make the previous view back available, you will still see all changes.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3942/chronos-custom-entities-record-only-record-records-changed&amp;show=3943#a3943</guid>
<pubDate>Mon, 11 Feb 2019 13:46:23 +0000</pubDate>
</item>
<item>
<title>Answered: Crystal report : output word format</title>
<link>https://overflow.efficy.io/?qa=3801/crystal-report-output-word-format&amp;show=3832#a3832</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;You will find the info there : &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/admin/rpts_export2browser&quot;&gt;https://help.efficy.com/edn/admin/rpts_export2browser&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Alex.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3801/crystal-report-output-word-format&amp;show=3832#a3832</guid>
<pubDate>Tue, 08 Jan 2019 13:27:44 +0000</pubDate>
</item>
<item>
<title>Answered: Favorites management</title>
<link>https://overflow.efficy.io/?qa=3821/favorites-management&amp;show=3823#a3823</link>
<description>&lt;p&gt;If you need to isolate the data even up to the level of favorites, then it looks like you made the wrong decision to use PRODUCTS as a multipurpose entity. Inserting a separated entity for missions would have been more appropriate.&lt;/p&gt;

&lt;p&gt;The &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/tags#GetFavoriteGrid&quot;&gt;&amp;lt;%GetFavoriteGrid()%&amp;gt;&lt;/a&gt; doesn't support custom filtering&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3821/favorites-management&amp;show=3823#a3823</guid>
<pubDate>Mon, 07 Jan 2019 15:15:02 +0000</pubDate>
</item>
<item>
<title>Answered: Document and Opportunity model : add property like 'EditEntityGridActi'</title>
<link>https://overflow.efficy.io/?qa=3721/document-opportunity-model-property-editentitygridacti&amp;show=3739#a3739</link>
<description>&lt;p&gt;Dear m.chalavon,&lt;/p&gt;

&lt;p&gt;I don't understand why you don't want to use the family field in the tr ?&lt;br&gt;
What do you tried to attend ?&lt;/p&gt;

&lt;p&gt;For my point of view, I will have done the customization this way:&lt;/p&gt;

&lt;p&gt;In order to be able to access the PRODUCTS.FAMILY from the GetRelationGrid you will need to add it in the SYS_TABLEVIEWS name = '&lt;strong&gt;Docu_Prod&lt;/strong&gt;', column &quot;SELECTFIELDS&quot; and don't forget to set the columns ISCUSTOM to '1' and to apply the DB structure from Efficy Desginer.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DOCU_PROD.*, PRODUCTS.NAME, PRODUCTS.FAMILY, PRODUCTS.OPENED
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Once you have done that you will be able to acces the field FAMILY directly in the GetRelationGrid. And so you can override the Macro &quot;TabContentProds &quot; by adding the column &quot;FAMILY&quot;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;TabContentProds.Docu {[
    &amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-prod&quot;&amp;gt;
        &amp;lt;div class=&quot;row&quot;&amp;gt;
            &amp;lt;div class=&quot;small-12 medium-1 columns&quot;&amp;gt;
                &amp;lt;button type=&quot;button&quot; class=&quot;icon i-add &amp;lt;%IfReadOnly(detail='Prod', then='disabled')%&amp;gt;&quot; title=&quot;&amp;lt;%GetLabel('Add Link to Product')%&amp;gt;&quot; data-msg=&quot;addProduct&quot;&amp;gt;&amp;lt;/button&amp;gt;
                &amp;lt;%AddRelationButton(entity='Prod')%&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div class=&quot;small-12 medium-11 columns&quot;&amp;gt;
                &amp;lt;h3 class=&quot;section-title&quot;&amp;gt;&amp;lt;%GetLabel(&quot;Linked products&quot;)%&amp;gt;&amp;lt;/h3&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;%OnMultiCurrency(0=, else=|&amp;lt;div id=&quot;currcyError&quot;&amp;gt;&amp;lt;span class=&quot;error&quot;&amp;gt;&amp;lt;%GetLabel(&quot;Warning: The currency must be set before adding products&quot;)%&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;|)%&amp;gt;
        &amp;lt;%Delay(1)%&amp;gt;GetRelationGrid(columndefs=&quot;GridEditColumns.txt&quot;, entity=&quot;Prod&quot;,
            columns=&quot;FULLNAME,QUANTITY,PRICE,DISCOUNT,COMMENT,VAT,TOTAL,CONSO_RATE{HIDDEN},CONSO_TOTAL{HIDDEN},FAMILY,&amp;lt;%IfReadOnly(else=|SORTDELETE|)%&amp;gt;&quot;)%&amp;gt;
    &amp;lt;/div&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In order not do display the value, you will have to add the following code in GridEditColumnsCustom.txt :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;th.FAMILY.Prod {[#EMPTY#]}
td.FAMILY.Prod {[&amp;lt;input id=&quot;DETAIL-PROD-&amp;lt;#G&amp;gt;-$FIELD$&quot; value=&quot;&amp;lt;#F=$FIELD$;nospace=T&amp;gt;&quot; type=&quot;hidden&quot;&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now in your MacroEditSCustom.txt you can override the standard macro &quot;JsScriptsTRW.Docu&quot;, in order to do your calculation (cf comment //Custom where I changed information from standard functions)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function ComputeTotal(K_Product) {
    var
        Mode = Model('multicurrencyMode'),
        MForm = document.forms[0],
        Prefix = &quot;DETAIL-PROD-&quot; + K_Product,
        Qtity = GetScriptNumeric(MForm[Prefix + &quot;-QUANTITY&quot;].value),
        Price = GetScriptNumeric(MForm[Prefix + &quot;-PRICE&quot;].value),
        Family = GetScriptNumeric($('#' + Prefix + '-FAMILY').val()), //&amp;lt;&amp;lt; Custom
        Discount = GetScriptNumeric(MForm[Prefix + &quot;-DISCOUNT&quot;].value),
        Total = (Family == '1') ? Math.round( (Qtity+Qtity) * Price * (100 - Discount)) / 100 : Math.round(Qtity * Qtity * Price * (100 - Discount)) / 100, //&amp;lt;&amp;lt; Custom not sure it is the right calculation you want
        ConsoRate = GetScriptNumeric(MForm[Prefix + &quot;-CONSO_RATE&quot;].value);
    MForm[Prefix + &quot;-TOTAL&quot;].value = GetDatabaseNumeric(Total);
    MForm[Prefix + &quot;-CONSO_TOTAL&quot;].value = GetDatabaseNumeric(Total * ConsoRate);
    ComputeAll();
}

        function ComputeAll() {
        var MForm = document.forms[0]
        var IsInvoice = false
        if (MForm[&quot;CATEGORY-DOCU$INVOICING-TOTAL_NO_VAT&quot;]) IsInvoice = true

        var Total = 0
        var TotalVAT = 0
        var TotalNoVAT = 0
        var ConsoRate = 0
        var ConsoTotal = 0
        var ConsoTotalVAT = 0
        var ConsoTotalNoVAT = 0

        if (IsInvoice) {
            for (var i = 0; i &amp;lt; MForm.elements.length; i++) {
                var ProdInfo = MForm.elements[i].name
                if ((ProdInfo) &amp;amp;&amp;amp; (ProdInfo.indexOf(&quot;DETAIL-PROD-&quot;) == 0) &amp;amp;&amp;amp; (ProdInfo.indexOf(&quot;-TOTAL&quot;) &amp;gt; 0)) {
                    var Prefix = ProdInfo.substring(0, ProdInfo.lastIndexOf(&quot;-TOTAL&quot;))
                    var Qtity    = GetScriptNumeric(MForm[Prefix + &quot;-QUANTITY&quot;].value)
                    var Price    = GetScriptNumeric(MForm[Prefix + &quot;-PRICE&quot;].value)
                    var Discount = GetScriptNumeric(MForm[Prefix + &quot;-DISCOUNT&quot;].value)
                    var VAT      = GetScriptNumeric(MForm[Prefix + &quot;-VAT&quot;].value)
                    var ConsoRate = GetScriptNumeric(MForm[Prefix + &quot;-CONSO_RATE&quot;].value)

                    var Family = GetScriptNumeric($('#' + Prefix + '-FAMILY').val()) //&amp;lt;&amp;lt; Custom

                    var AmountNoVAT = (Family == '1') ? Math.round( (Qtity + Qtity) * Price * (100 - Discount)) / 100 : Math.round(Qtity * Qtity * Price * (100 - Discount)) / 100; //&amp;lt;&amp;lt; Custom not sure it is the right calculation you want
                    var AmountVAT = Math.round(AmountNoVAT * VAT) / 100;
                    TotalNoVAT += AmountNoVAT
                    TotalVAT += AmountVAT
                    Total += AmountNoVAT + AmountVAT
                    ConsoTotalNoVAT += AmountNoVAT * ConsoRate;
                    ConsoTotalVAT += AmountVAT * ConsoRate;
                    ConsoTotal += (AmountNoVAT + AmountVAT) * ConsoRate;
                }
            }

            var PrePaid = GetScriptNumeric(MForm[&quot;CATEGORY-DOCU$INVOICING-PRE_PAID&quot;].value)
            var Expenses = GetScriptNumeric(MForm[&quot;CATEGORY-DOCU$INVOICING-EXPENSES&quot;].value)
            var ConsoExpenses = Expenses * ConsoRate;

            MForm[&quot;CATEGORY-DOCU$INVOICING-TOTAL_NO_VAT&quot;].value = GetDatabaseNumeric(FormatCurrency(TotalNoVAT))
            MForm[&quot;CATEGORY-DOCU$INVOICING-TOTAL_VAT&quot;].value = GetDatabaseNumeric(FormatCurrency(TotalVAT))
            MForm[&quot;CATEGORY-DOCU$INVOICING-TOTAL_WITH_VAT&quot;].value = GetDatabaseNumeric(FormatCurrency(Total - Expenses))
            MForm[&quot;CATEGORY-DOCU$INVOICING-TOTAL_TO_PAY&quot;].value = GetDatabaseNumeric(FormatCurrency(Total - PrePaid - Expenses))

            MForm[&quot;CATEGORY-DOCU$INVOICING-CONSO_TOTAL_NO_VAT&quot;].value = GetDatabaseNumeric(FormatCurrency(ConsoTotalNoVAT))
            MForm[&quot;CATEGORY-DOCU$INVOICING-CONSO_TOTAL_VAT&quot;].value = GetDatabaseNumeric(FormatCurrency(ConsoTotalVAT))
            MForm[&quot;CATEGORY-DOCU$INVOICING-CONSO_TOTAL_WITH_VAT&quot;].value = GetDatabaseNumeric(FormatCurrency(ConsoTotal - ConsoExpenses))
        }
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Best Regards,&lt;br&gt;
Stéphane Roncin&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3721/document-opportunity-model-property-editentitygridacti&amp;show=3739#a3739</guid>
<pubDate>Tue, 11 Dec 2018 14:23:18 +0000</pubDate>
</item>
<item>
<title>Answered: Argmuents/Variables in custom function template</title>
<link>https://overflow.efficy.io/?qa=3586/argmuents-variables-in-custom-function-template&amp;show=3587#a3587</link>
<description>&lt;p&gt;You don't have to pass it as an argument to the &lt;code&gt;[$RunScript()]&lt;/code&gt; tag.&lt;br&gt;
Instead, take the comp argument direclty from the request URL.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var k_Company = StrToFloatDef(Request.argument(&quot;comp&quot;), 0);
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3586/argmuents-variables-in-custom-function-template&amp;show=3587#a3587</guid>
<pubDate>Thu, 04 Oct 2018 07:21:05 +0000</pubDate>
</item>
<item>
<title>Answered: How to know if a PROD_OPPO relation exists based on DOCU_PROD</title>
<link>https://overflow.efficy.io/?qa=3499/how-to-know-if-prodoppo-relation-exists-based-on-docuprod&amp;show=3508#a3508</link>
<description>&lt;p&gt;PositionDetail should work, I can see no obvious flaw in your code.&lt;/p&gt;

&lt;p&gt;Are you testing on an opportunity (devis)? The code initially selects either the main Project or the main Opportunity. &lt;br&gt;
In what follows (DeleteProdOnContainer) only the &quot;Opportunity&quot; case is handled.&lt;/p&gt;

&lt;p&gt;DeleteDetail() is the recommended method instead of Dataset.delete (but both methods will work).&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3499/how-to-know-if-prodoppo-relation-exists-based-on-docuprod&amp;show=3508#a3508</guid>
<pubDate>Wed, 05 Sep 2018 08:53:52 +0000</pubDate>
</item>
<item>
<title>Answered: Use MS SQL &quot;CASE&quot; in SYS_TABLEVIEWS</title>
<link>https://overflow.efficy.io/?qa=3469/use-ms-sql-case-in-systableviews&amp;show=3474#a3474</link>
<description>&lt;p&gt;In the &lt;code&gt;OnInsertDetailDocuProd&lt;/code&gt; workflow event, loop through the detail dataset of Product and manipulate &lt;code&gt;K_SORT&lt;/code&gt; in such a way that the products will be sorted according to your desired logic. To speed up, instead of consulting &lt;code&gt;PRODUCTS&lt;/code&gt; each time to know the family, you could insert the FAMILY value as well in the Docu_Prod table. If the column in &lt;code&gt;DOCU_PROD&lt;/code&gt; has the same name as in &lt;code&gt;PRODUCTS&lt;/code&gt;, I believe it's automatically filled when inserted into the document.&lt;/p&gt;

&lt;p&gt;The interface will sort automatically based on the sorting value.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3469/use-ms-sql-case-in-systableviews&amp;show=3474#a3474</guid>
<pubDate>Mon, 20 Aug 2018 15:30:51 +0000</pubDate>
</item>
<item>
<title>Answered: custom.js / AddRelation - &quot;half commit&quot;</title>
<link>https://overflow.efficy.io/?qa=3465/custom-js-addrelation-half-commit&amp;show=3467#a3467</link>
<description>&lt;p&gt;Hi there.&lt;/p&gt;

&lt;p&gt;I believe you can achieve everything you want purely with DB workflow, nothing is required client side. Just attach code to the event &lt;code&gt;OnInsertDetailDocuProd&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DB Workflow script:&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var C = {
    LK_PROD_FAMILY: {
        BATCH: 1
    }
}

function OnInsertDetailDocuProd(editDocuProd, detail, detailkey) {
    insertBatchChildren(editDocuProd, detail, detailkey)
}

function insertBatchChildren(editDocuProd, detail, k_Product) {
    try {
        var consProd = Efficy.openConsultContext(ntProd),
            dsProd = Efficy.consult(consProd, k_Product, false),
            family = dsProd.fieldByName(&quot;FAMILY&quot;).asInteger;

        if (family != C.LK_PROD_FAMILY.BATCH) return;

        var queryHandle,
            dsProdProd = Efficy.consultDetail(queryHandle, consProd, k_Product, ntProd, false, true, 0)
            dsProdProd.first;
        while (!dsProdProd.eof) {
            Efficy.insertDetail(editDocuProd, ntProd, k_Product, -1, false);
            Efficy.updateDetail(editDocuProd, ntProd, 0, -1, &quot;NAME&quot;, dsProdProd.fieldByName(&quot;NAME&quot;).asString);
            Efficy.updateDetail(editDocuProd, ntProd, 0, -1, &quot;COMMENT&quot;, &quot;Batch key is &quot; + k_Product);
            dsProdProd.next;
        }
    } finally {
        Efficy.closeContext(consProd);
    }   
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;When inserting a Car product (family=Batch), the child car brand products are also inserted (three in my example). The &lt;code&gt;NAME&lt;/code&gt; field in the tableview &lt;code&gt;DocuProd&lt;/code&gt; is set using &lt;code&gt;updateDetail&lt;/code&gt; to avoid the empty name when the page reloads. In the &lt;code&gt;COMMENT&lt;/code&gt; field, we store the key of the Cars product. You can replace that with &lt;code&gt;F_LOT&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Regards&lt;br&gt;
Kristof&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=17917264040578582063&quot; alt=&quot;Products tree&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=718371940411049982&quot; alt=&quot;Document edit&quot;&gt;&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3465/custom-js-addrelation-half-commit&amp;show=3467#a3467</guid>
<pubDate>Tue, 14 Aug 2018 07:10:24 +0000</pubDate>
</item>
</channel>
</rss>