<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged efficy-10sp2</title>
<link>https://overflow.efficy.io/?qa=tag/efficy-10sp2</link>
<description>Powered by Question2Answer</description>
<item>
<title>Error Object expected in InsertAttachment method</title>
<link>https://overflow.efficy.io/?qa=5475/error-object-expected-in-insertattachment-method</link>
<description>&lt;pre&gt;&lt;code&gt;var EditHandle = Database.OpenEditContext(ntDocu, K_DOCUMENT)
try {
    var fileKey = Database.InsertAttachment(EditHandle, ftInserted, myFilePath);  
    /* Code goes on after */
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;I got the following error when I am using InsertAttachment method :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Error: Object expected
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I tried to replace ftInserted by the number 1, also tried various format for my filePath ( 'example.pdf', 'c:/mypath/example.pdf'&lt;/p&gt;

&lt;p&gt;I have no clue what the method is expecting at this point..&lt;/p&gt;

&lt;p&gt;Any ideas ?&lt;/p&gt;

&lt;p&gt;Efficy 10 Sp2&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5475/error-object-expected-in-insertattachment-method</guid>
<pubDate>Fri, 05 Jun 2020 16:32:56 +0000</pubDate>
</item>
<item>
<title>Issues with sidebar after chrome update</title>
<link>https://overflow.efficy.io/?qa=4924/issues-with-sidebar-after-chrome-update</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;A client reported problems with efficy since release 77 of chrome (using efficy 10SP2 but will upgrade to 11.3 very soon).&lt;/p&gt;

&lt;p&gt;Custom protocols could be checked to always use a certain program. I beleive this is also the case with efficy? (see screen below, it will be clearer)&lt;/p&gt;

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

&lt;p&gt;The problem in this case is when the user even clicks on &quot;Open Efficy&quot;, nothing happens. Even a reinstall of the sidebar didn't work.&lt;br&gt;
What did seem to work was to use the url to log into efficy after wich the sidebar would open correctly.&lt;/p&gt;

&lt;p&gt;Are there other reports of chrome users experiencing problems with this change? Do we have any fixes or workarounds to offer?&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br&gt;
Ken&lt;/p&gt;
</description>
<category>IT</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4924/issues-with-sidebar-after-chrome-update</guid>
<pubDate>Wed, 16 Oct 2019 13:20:32 +0000</pubDate>
</item>
<item>
<title>Database structure : some info about Files / Mails / Docu</title>
<link>https://overflow.efficy.io/?qa=4746/database-structure-some-info-about-files-mails-docu</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I can not find the usefulness of some fields in the database:&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;EMAIL&lt;/code&gt; : I think that the value is &quot;1&quot; it means that the document is an email imported from Outlook ? So I think there is a line in MAILS too ?&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;KIND&lt;/code&gt; : what does it mean? Can I find the possible value and their meaning somewhere ?&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PATH&lt;/code&gt; and &lt;code&gt;COMMENT&lt;/code&gt; : If I understood the &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/tags#GetAttachmentName&quot;&gt;GetAttachmentName function tag&lt;/a&gt; PATH is the name of the uploaded file and COMMENT is the &quot;name updated by Efficy&quot; ?&lt;/li&gt;
&lt;li&gt;&lt;code&gt;STREAM&lt;/code&gt; : as it's of type &quot;image&quot; it store &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.microsoft.com/fr-fr/sql/t-sql/data-types/ntext-text-and-image-transact-sql?view=sql-server-2017&quot;&gt;binary data of the file&lt;/a&gt; ?&lt;/li&gt;
&lt;li&gt;&lt;code&gt;THUMB&lt;/code&gt; / &lt;code&gt;PICTURE&lt;/code&gt; : I did not understand&lt;/li&gt;
&lt;li&gt;&lt;code&gt;K_ATTACHMENT&lt;/code&gt; / &lt;code&gt;K_ATTACHVERSION&lt;/code&gt; : I don't understand, and there are not in the SYS_FIELDS table&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;K_FOLDER&lt;/code&gt; : &lt;code&gt;LK_MAIL_FOLDER&lt;/code&gt;, not in the form, is it defined directly when importing mail from Outlook to Efficy ?&lt;/li&gt;
&lt;li&gt;&lt;code&gt;FROMOWA&lt;/code&gt; : ?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;P.S : Efficy version 10.2&lt;/p&gt;

&lt;p&gt;Thanks in advance :)&lt;/p&gt;

&lt;p&gt;EDIT :&lt;/p&gt;

&lt;p&gt;I tried to understand how the file extension is displayed on pages/grid/DocuFile.htm but I can not.&lt;br&gt;
The file name and extension are display with&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;span class=&quot;path&quot;&amp;gt;&amp;lt;%GetAttachmentName(&quot;&amp;lt;#F=PATH; jstext=T; nospace=T&amp;gt;&quot;, comment=&quot;&amp;lt;#F=COMMENT; jstext=T; nospace=T&amp;gt;&quot;)%&amp;gt;&amp;lt;/span&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Except if I misunderstand, according to &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/edn/tags#GetAttachmentName&quot;&gt;GetAttachmentName&lt;/a&gt; if the &lt;code&gt;comment&lt;/code&gt; argument is not specified, Efficy will display the &lt;code&gt;PATH&lt;/code&gt; value, right ?&lt;br&gt;
Efficy does not show antything with only  this :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;span class=&quot;path&quot;&amp;gt;&amp;lt;%GetAttachmentName(&quot;&amp;lt;#F=PATH; jstext=T; nospace=T&amp;gt;&quot;)%&amp;gt;&amp;lt;/span&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I tried this because Efficy show 'myFileName.pdf' but &lt;code&gt;COMMENT&lt;/code&gt; contains only 'MyFileName' (without the extension). So I suppose that Efficy get the extension from &lt;code&gt;PATH&lt;/code&gt; ?&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4746/database-structure-some-info-about-files-mails-docu</guid>
<pubDate>Wed, 28 Aug 2019 13:44:33 +0000</pubDate>
</item>
<item>
<title>Merge relation fields Efficy 10SP2</title>
<link>https://overflow.efficy.io/?qa=4666/merge-relation-fields-efficy-10sp2</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;When merging two recrods in Efficy that are linked to same contact or company.&lt;br&gt;
You get the option to select what data you keep from the contact/company link that is the same on both records:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=6270021353341401549&quot; alt=&quot;merge of contact and company link&quot;&gt;&lt;/p&gt;

&lt;p&gt;This seems only available for the links with contacts and companies, can we also activate the same behavior for links with other entities?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4666/merge-relation-fields-efficy-10sp2</guid>
<pubDate>Thu, 08 Aug 2019 15:12:56 +0000</pubDate>
</item>
<item>
<title>Questions about system tables (adding relations, ...)</title>
<link>https://overflow.efficy.io/?qa=4085/questions-about-system-tables-adding-relations</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I need to add &lt;strong&gt;ActiRelations&lt;/strong&gt; in &lt;strong&gt;EditRelationsList.Oppo&lt;/strong&gt; and I know that I have some SQL statements to execute in SQL Server. I'm trying to understand how the system tables work&lt;br&gt;
Can you tell me if I am right or explain to myself:&lt;/p&gt;

&lt;p&gt;SYS&lt;em&gt;TABLES: &lt;em&gt;Contains all existing tables in SQL Server. Efficy Designer uses it when the DB is &quot;upgraded&quot; (create/drop table)&lt;/em&gt;&lt;br&gt;
SYS&lt;/em&gt;FIELDS: &lt;em&gt;contains all the fields of each table (and virtual fields). Efficy Designer uses it when the database is &quot;upgraded&quot;&lt;/em&gt;&lt;br&gt;
SYS&lt;em&gt;RELATIONS: &lt;em&gt;Efficy uses this to join different tables (and specify whether there is a join table)&lt;/em&gt;&lt;br&gt;
SYS&lt;/em&gt;QUERIES: &lt;em&gt;Efficy uses it to generate queries for obtaining data in Consult&lt;/em&gt;&lt;br&gt;
SYS&lt;em&gt;TABLEVIEWS: &lt;em&gt;Efficy uses it to generate queries for obtaining data in Edit&lt;/em&gt;&lt;br&gt;
SYS&lt;/em&gt;ENTITYVIEWS: &lt;em&gt;Contains collections of TABLESVIEWS to know which data to enter in which view&lt;/em&gt;&lt;br&gt;
SYS_RELENTITIES: *I do not understand ??*&lt;/p&gt;

&lt;p&gt;Sorry if I did not speak clearly but it's a little vague for me&lt;/p&gt;

&lt;p&gt;I'm asking because I need to add ** ActiRelations ** to ** EditRelationsList.Oppo **.&lt;br&gt;
I found a sample script that adds the OBJV&lt;em&gt;PROF relationship with SQL statements. I'm trying to create my script from them.&lt;br&gt;
But it contains the following SQL statement:&lt;br&gt;
insert in SYS&lt;/em&gt;ENTITYVIEWS (NAME, ISCUSTOM, TABLEVIEWS) values ('Objv&lt;em&gt;Prof', 1, 'Objv&lt;/em&gt;Prof')&lt;/p&gt;

&lt;p&gt;I looked for the relation Acti-Mail in this one and I can not find any entry Acti&lt;em&gt;Mail or Mail&lt;/em&gt;Acti&lt;/p&gt;

&lt;p&gt;For the moment, my script looks like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;-- add Actions in OppoEdit
Update SYS_ENTITYVIEWS set ISCUSTOM=1, TABLEVIEWS=(SELECT TABLEVIEWS FROM SYS_ENTITYVIEWS WHERE NAME = 'OppoEdit') + ';Oppo_Acti=Acti' where NAME='OppoEdit' 


-- Get Acti data from OppoEdit
insert into  SYS_TABLEVIEWS (NAME, K_TABLE, ISCUSTOM, SELECTFROM, SELECTFIELDS, SELECTJOIN, SELECTORDERBY) 
values ('Oppo_Acti', @K_TABLE, 1, 'ACTI_OPPO ACTI_OPPO, ACTIONS ACTIONS', 'ACTI_OPPO.*, ACTIONS.SUBJECT, ACTIONS.D_BEGIN, ACTIONS.DONE', 'ACTI_OPPO.K_ACTION = ACTIONS.K_ACTION', 'ACTIONS.D_BEGIN DESC, ACTIONS.SUBJECT');
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4085/questions-about-system-tables-adding-relations</guid>
<pubDate>Wed, 10 Apr 2019 13:26:29 +0000</pubDate>
</item>
<item>
<title>Client replication for Efficy v10 sp2 doesn't run...</title>
<link>https://overflow.efficy.io/?qa=3933/client-replication-for-efficy-v10-sp2-doesnt-run</link>
<description>&lt;p&gt;Hi,&lt;br&gt;
we installed a new window surface tablet with Efficy 10 sp2. The runtime is running, but it is impossible to connect the nomad database to the main server with the &quot;Client de Réplication&quot;: we are blocked with this error: &quot;Cannot find definition for Alias 'xxxx'. Ask your Efficy Administrator to add it&quot;...&lt;/p&gt;

&lt;p&gt;Has anyone already implemented the replication client for the v10 sp2?&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=3274352477267984136&quot; alt=&quot;Message d'erreur....&quot;&gt;&lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3933/client-replication-for-efficy-v10-sp2-doesnt-run</guid>
<pubDate>Fri, 08 Feb 2019 14:01:26 +0000</pubDate>
</item>
<item>
<title>Cutomize OppoEdit - GetRelationGrid that use custom entity AND Products</title>
<link>https://overflow.efficy.io/?qa=3845/cutomize-oppoedit-getrelationgrid-custom-entity-products</link>
<description>&lt;p&gt;Hi all!&lt;/p&gt;

&lt;p&gt;EDIT : I tried but it don't works &lt;br&gt;
When you click a button that call that /commit WebRequest, the application is not able to find some PROD_OPPO relations. It works if I remove the filter params in the GetRelationGrid(Prod).&lt;/p&gt;

&lt;p&gt;The problem is that the last call of GetRelationGrid(Prod) filters the Dataset of EditHandle and on commit Efficy can not see the filtered relations.&lt;br&gt;
I tried to unfilter the dataset after (RunScript) but it don't works &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MacroEditCustom.txt :&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;TabContentProds.Oppo {[
    &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 BATCHES&quot;)%&amp;gt;&amp;lt;/h3&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
        &amp;lt;%Macro('CommonProdRelationFields')%&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(entity=&quot;Btch&quot;, template=&quot;pages/grid/BtchProdEditGrid.htm&quot;, count=&quot;-1&quot;)%&amp;gt;
    &amp;lt;/div&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;pages/grid/BtchProdEditGrid.htm :&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;#repeat&amp;gt;
    &amp;lt;div class=&quot;batch&quot;&amp;gt;
        &amp;lt;table class=&quot;batchData&quot;&amp;gt;
            &amp;lt;tbody&amp;gt;
                &amp;lt;tr&amp;gt;
                    &amp;lt;td class=&quot;batchName&quot;&amp;gt;
                        &amp;lt;a href=&quot;javascript:Consult('Btch',&amp;lt;#F=K_BATCH&amp;gt;)&quot; class=&quot;RelationFullName &amp;lt;#I=OPENED;0=Inactive&amp;gt;&quot; title=&quot;&amp;lt;#F=NAME&amp;gt;&quot;&amp;gt;&amp;lt;#F=NAME&amp;gt;&amp;lt;/a&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=K_SORT&amp;gt;= &amp;lt;#F=K_SORT&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=PRICE&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-PRICE&quot; value=&quot;&amp;lt;#F=PRICE;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_CUSTOMER_PRICE&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_CUSTOMER_PRICE&quot; value=&quot;&amp;lt;#F=F_CUSTOMER_PRICE;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot; readonly&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=DISCOUNT&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-DISCOUNT&quot; value=&quot;&amp;lt;#F=DISCOUNT;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td class=&quot;hidden&quot;&amp;gt;
                        &amp;lt;#H=VAT&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-VAT&quot; value=&quot;&amp;lt;#F=VAT;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=TOTAL&amp;gt; &amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-TOTAL&quot; value=&quot;&amp;lt;#F=TOTAL;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot; readonly&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                      &amp;lt;ul class=&quot;small-12 columns button-group&quot;&amp;gt;
                        &amp;lt;li&amp;gt;
                            &amp;lt;button class=&quot;i-add icon narrow &amp;lt;%IfReadOnly(detail='Prod', then='disabled')%&amp;gt;&quot; title=&quot;&amp;lt;%GetLabel('Add Product to Batch')%&amp;gt;&quot; type=&quot;button&quot;
                            data-msg=&quot;addProdBtch;&amp;lt;#F=K_BATCH;nospace=T&amp;gt;&quot;&amp;gt;&amp;lt;/button&amp;gt;
                            &amp;lt;%AddRelationButton(entity='Prod')%&amp;gt;&amp;lt;/li&amp;gt;
                      &amp;lt;/ul&amp;gt;
                    &amp;lt;/td&amp;gt;
                &amp;lt;/tr&amp;gt;
                &amp;lt;tr&amp;gt;
                    &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_RISKS&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_RISKS&quot; value=&quot;&amp;lt;#F=F_RISKS;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_EQUIPMENT&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_EQUIPMENT&quot; value=&quot;&amp;lt;#F=F_EQUIPMENT;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_PARTNERS&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_PARTNERS&quot; value=&quot;&amp;lt;#F=F_PARTNERS;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                    &amp;lt;td&amp;gt;
                        &amp;lt;#H=F_SUBCONTRACTOR&amp;gt;&amp;lt;input name=&quot;DETAIL-BTCH-&amp;lt;#G&amp;gt;-F_SUBCONTRACTOR&quot; value=&quot;&amp;lt;#F=F_SUBCONTRACTOR;nospace=T&amp;gt;&quot; size=&quot;6&quot; onchange=&quot;ComputeAll()&amp;gt;&quot;&amp;gt;
                    &amp;lt;/td&amp;gt;
                &amp;lt;/tr&amp;gt;
            &amp;lt;/tbody&amp;gt;
        &amp;lt;/table&amp;gt;
        &amp;lt;%Delay(1)%&amp;gt;GetRelationGrid(columndefs=&quot;GridEditColumns.txt&quot;, entity=&quot;Prod&quot;, filter='F_BATCH=K_BATCH'
            columns=&quot;FULLNAME,K_RELATION{DISPLAY},K_SORT{DISPLAY},F_BATCH{DISPLAY},PRICE,QUANTITY,F_CUSTOMER_PRICE{TOTAL},DISCOUNT,VAT{HIDDEN},COMMENT,TOTAL,CONSO_RATE{HIDDEN},CONSO_TOTAL{HIDDEN},&amp;lt;%IfReadOnly(else=|SORTDELETE|)%&amp;gt;&quot;)%&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;!-- try to unfilter, but don't not works --&amp;gt;
    &amp;lt;%LoadScript('Special')%&amp;gt;
    &amp;lt;%RunScript('UnfilterDataSet')%&amp;gt;
&amp;lt;/#repeat&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3845/cutomize-oppoedit-getrelationgrid-custom-entity-products</guid>
<pubDate>Wed, 09 Jan 2019 09:13:23 +0000</pubDate>
</item>
<item>
<title>Favorites management</title>
<link>https://overflow.efficy.io/?qa=3821/favorites-management</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have split the PRODUCTS table in two entities and now I have a problem with their favorites :&lt;br&gt;
- Products are records with FAMILY &amp;lt;&amp;gt; 1 (K&lt;em&gt;ENTITY=30)&lt;br&gt;
- Missions are records with FAMILY  =  1 (K&lt;/em&gt;ENTITY=50)&lt;br&gt;
Both have K&lt;em&gt;TABLE=30000 in SYS&lt;/em&gt;ENTITIES&lt;/p&gt;

&lt;p&gt;The favorites grid displays the same records for Products and Missions.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=6425433143983569954&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;With the post of  Kristof Pauwels I know that they are stored in the FAVORITES table.&lt;br&gt;
I suppose that Efficy look the K_TABLE to know the Entity and it's why there are all Products&lt;/p&gt;

&lt;p&gt;What can I customize to apply a filter ? I search but I can't find a Query.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=14747897987707469354&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

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

&lt;p&gt;using Efficy 10.2&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3821/favorites-management</guid>
<pubDate>Mon, 07 Jan 2019 09:05:15 +0000</pubDate>
</item>
<item>
<title>Use Products fields in Docu_Prod gridd of DocuEdit</title>
<link>https://overflow.efficy.io/?qa=3797/use-products-fields-in-docuprod-gridd-of-docuedit</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;In the products grid of DocuEdit I have a grid like&lt;/p&gt;

&lt;p&gt;PRODUCTS.NAME {text} ; DOCU_PROD.PRICE {input} ; QUANTITY {input} ; ...&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First question :&lt;/strong&gt;&lt;br&gt;
Is it possible to display &lt;code&gt;PRODUCTS.F_RISKS&lt;/code&gt; as an input type: number (like &lt;code&gt;PRICE&lt;/code&gt;, &lt;code&gt;TOTAL&lt;/code&gt;, ...) and editable ?&lt;br&gt;
How to indicate to Efficy that this input is on &lt;code&gt;PRODUCTS&lt;/code&gt; and not &lt;code&gt;DOCU_PROD&lt;/code&gt; ?&lt;br&gt;
Answered by  Kristof Pauwels ==&amp;gt; not possible, solution = put these fields in DOCU_PROD&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second question :&lt;/strong&gt;&lt;br&gt;
If you go to the Macro &lt;em&gt;TodayTasks#Acti&lt;/em&gt; in &lt;strong&gt;MacroWidget.txt&lt;/strong&gt;, you can see that the field SUBJECT is displayed as  &quot;NEWLINE2EDIT&quot;&lt;br&gt;
This definition create a second line and display the subject just below the USERS&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=2628265325480676666&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;I want to do the same in the FULLNAME Column :&lt;br&gt;
- First line = FULLNAME like the standard def (name of product, and link to consult&lt;br&gt;
- Second line = number inputs to change 4 DOCU&lt;em&gt;PROD fields : F&lt;/em&gt;RISKS, F&lt;em&gt;EQUIPMENT, F&lt;/em&gt;PARTNERS, F_SUBCONTRACTORS&lt;/p&gt;

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

&lt;p&gt;Can I do that with a column def like &lt;em&gt;NEWLINE2EDIT&lt;/em&gt;, or I have to customize directly the FULLNAME.Prod definition ?&lt;br&gt;
I can't find any rowspan or colspan in the html of &lt;em&gt;TodayTasks#Acti&lt;/em&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3797/use-products-fields-in-docuprod-gridd-of-docuedit</guid>
<pubDate>Sat, 29 Dec 2018 18:33:44 +0000</pubDate>
</item>
<item>
<title>Document and Opportunity model : add property like 'EditEntityGridActi'</title>
<link>https://overflow.efficy.io/?qa=3721/document-opportunity-model-property-editentitygridacti</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Efficy version : 10.2&lt;/p&gt;

&lt;p&gt;In the TabContentProds (Edit window of Documents and Opportunities), I need that the client scripts in MacroEditS do some computations following the value of some fields of PRODUCTS&lt;br&gt;
I mean for example the have to do &lt;strong&gt;2+2 if PRODUCTS.FAMILY==1&lt;/strong&gt; or &lt;strong&gt;2*2 if PRODUCTS.FAMILY != 1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But, &lt;strong&gt;I do not want to&lt;/strong&gt; put the value of PRODUCTS.FAMILY in the html (example) :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;tr class=&quot;mission&quot; data-family=&amp;lt;#F=FAMILY;nospace=T&amp;gt; [...] &amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and use it in MacroEditS like&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$('.mission').each(function() {
  var family = $(this).data('family');
})
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I would prefer to use the Model, is it possible to add &lt;strong&gt;'EditEntityGridProd'&lt;/strong&gt; like &lt;strong&gt;'EditEntityGridActi'&lt;/strong&gt; in &lt;strong&gt;'JsonEditModel.Docu/editEntityGrids'&lt;/strong&gt; ?&lt;/p&gt;

&lt;p&gt;Am I obliged to use &lt;strong&gt;'&amp;lt;%GetRelationGrid([...])%&amp;gt;'&lt;/strong&gt; in the Model ? This function tag is already used to generate the html grid in 'TabContentProds' so can I not generate this part of the model here ?&lt;/p&gt;

&lt;p&gt;Last question : How to access it in the script ?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// 1 because I will place it in the array after EditEntityGridActi
var ProductsData = Model('editEntityGrids[1]')
// or
var ProductsData = Model('editEntityGrids')[1]
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3721/document-opportunity-model-property-editentitygridacti</guid>
<pubDate>Fri, 07 Dec 2018 11:40:49 +0000</pubDate>
</item>
<item>
<title>Use RunQuery in Grid</title>
<link>https://overflow.efficy.io/?qa=3699/use-runquery-in-grid</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I use Efficy 10.2 :&lt;br&gt;
I need to add some columns in the ProjConsult.ProductsGrid&lt;br&gt;
I can calculate each column value for each product in the grid with the sql query Below . I need to add a column for 'PLAN' an other for 'REAL' and an other for 'BENEFIT'&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;select Sum(ProdProd.F_PLAN) as [PLAN], Sum(ProdProd.F_REAL + ProdProd.F_REST) as [REAL]
      ,(Sum(ProdProd.F_PLAN) - Sum(ProdProd.F_REAL + ProdProd.F_REST)) as [BENEFIT]
    from PROD_PROJ ProdProj
    join PROD_PROD ProdProd on ProdProd.K_PRODUCT=ProdProj.F_LOT and ProdProd.K_PRODUCT2=ProdProj.K_PRODUCT
    where ProdProj.K_PROJECT=203 and ProdProj.K_PRODUCT=84
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;As you can see, this query need the K&lt;em&gt;PROJECT (Master entity) and the K&lt;/em&gt;PRODUCT of the current row.&lt;/p&gt;

&lt;p&gt;How can I define a RunQuery with this kind of query ?&lt;br&gt;
Or is there a way to create a virtual field (add V&lt;em&gt;... in SYS&lt;/em&gt;FIELDS) and assign it a stored procedure with 2 parameters ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3699/use-runquery-in-grid</guid>
<pubDate>Wed, 05 Dec 2018 15:01:58 +0000</pubDate>
</item>
<item>
<title>Appy LOOKUPUSERGROUP definition on in edit form and relation form</title>
<link>https://overflow.efficy.io/?qa=3694/appy-lookupusergroup-definition-edit-form-and-relation-form</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I customized products a bit :&lt;br&gt;
PROFILES: new field F&lt;em&gt;MANAGER (display on ProfEdit))&lt;br&gt;
PROD&lt;/em&gt;PROF : new field F_MANAGER (display on ProdProfEdit)&lt;/p&gt;

&lt;p&gt;They will obviously contain a list of users from a RunQuery. I tried to customized them but in both cases the field is display as number input :&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=5215118938223793964&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PROFILES.F_MANAGER&lt;/strong&gt; : the user list depends on a group so I want to reuse the same definition as OPPORTUNITIES.MANAGER on OppoEdit:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;field.LOOKUPUSERGROUP.Prof {[&amp;lt;%Macro(&quot;GroupUsersLookup&quot;, $GROUPUSERCODE$=&quot;PROF&quot;, $FIELDNAME$=&quot;F_MANAGER&quot;)%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;PROD&lt;em&gt;PROF.F&lt;/em&gt;MANAGER&lt;/strong&gt; :&lt;br&gt;
After a few search it seems that relation form use field definition in FormFieldsEdit too (TabContentFields)&lt;br&gt;
Here the user list depends of the user linked to the Profile so I customized the definition:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;field.PROFMANAGER.Prod.Prof, field.PROFMANAGER.Prof.Prod {[
  &amp;lt;%RunQuery(id=&quot;ProdProfManagers&quot;, sql=&quot;select [User].K_USER, [User].FULLNAME from &amp;lt;#TABLE NAME=PROF_USER&amp;gt; PU join &amp;lt;#TABLE NAME=ACC_ACCOUNTS&amp;gt; [User] on PU.K_USER=[User].K_USER and [User].KIND=0 and [User].ISACTIVE=1 where PU.K_PROFILE=:param1&quot;, param1=&quot;%%OnEntity(Prod=`%%GetArgument('detailkey')`, Prof=`%%GetArgument('key')`&quot;)%&amp;gt;
  &amp;lt;select style=&quot;$STYLE$&quot; title=&quot;&quot; id=&quot;$FIELD$&quot; name=&quot;$FIELD$&quot; data-placeholder=&quot;&amp;lt;%GetLabel('Select Value')%&amp;gt;...&quot; &amp;lt;%IfReadOnly(then='disabled')%&amp;gt;&amp;gt;
    &amp;lt;option&amp;gt;&amp;lt;/option&amp;gt;
  &amp;lt;%Delay(1)%&amp;gt;GetDataGrid(query=&quot;ProdProfManagers&quot;, count=-1, TemplateText=|&amp;lt;#repeat&amp;gt;
    &amp;lt;option value='&amp;lt;#F=K_USER&amp;gt;' &amp;lt;#I=K_USER;&amp;lt;%GetField('$FIELD$')%&amp;gt;=selected=&quot;selected&quot;;#ELSE=&amp;gt;
    &amp;lt;%OnArgument(ArgValue=`%%GetField('$FIELD$')`,value='',then=`&amp;lt;#I=K_USER;&amp;lt;%GetUserKey()%&amp;gt;=selected=&quot;selected&quot;;#ELSE=&amp;gt;`%&amp;gt;&amp;gt;&amp;lt;#F=FULLNAME&amp;gt;&amp;lt;/option&amp;gt;&amp;lt;/#repeat&amp;gt;|
  )%&amp;gt;
  &amp;lt;/select&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I use these definition in the form manager in the designer&lt;/p&gt;

&lt;p&gt;I copy/paste &lt;strong&gt;MacroLibrary.txt&lt;/strong&gt;/GroupUsersLookup and change it a bit to create my PROFMANAGER definition&lt;br&gt;
Can anyone help me pls ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3694/appy-lookupusergroup-definition-edit-form-and-relation-form</guid>
<pubDate>Fri, 30 Nov 2018 10:30:43 +0000</pubDate>
</item>
<item>
<title>Announcement: Efficy 10 SP2+ r14841 and Efficy 10 SP1 r14843 with Flexmail Integration v2 are available</title>
<link>https://overflow.efficy.io/?qa=3600/announcement-efficy-r14841-flexmail-integration-available</link>
<description>&lt;p&gt;We've released the following Efficy 10 builds that include the new Flexmail integration v2:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setup Efficy 10 SP2 Plus r14841&lt;/li&gt;
&lt;li&gt;Setup Efficy 10 SP1 r14843&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You'll find detailed information about the Flexmail integration in the document &quot;Flexmail GDPR Integration Manual.pdf&quot;.&lt;/p&gt;

&lt;p&gt;The Efficy 10 SP2 Plus r14841 build also includes the following important security-related improvement:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chronos: Respect security on Categories (CFT-2018-91964).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Robert&lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3600/announcement-efficy-r14841-flexmail-integration-available</guid>
<pubDate>Wed, 17 Oct 2018 13:46:43 +0000</pubDate>
</item>
<item>
<title>How to use filter</title>
<link>https://overflow.efficy.io/?qa=3585/how-to-use-filter</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;With ConsultDetail I get the Documents of an Opportunity, but I want to filter this dataset on quotes : a quote have a REFERENCE that start by 'D'.&lt;/p&gt;

&lt;p&gt;The EDN say that TDataSet.Filter is &quot;The text of the current SQL filter for the dataset.&quot; so I try to filter my dataset with REFERENCE LIKE 'D%' but Efficy throw me this error :&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;ID: WKFL-2142&lt;br&gt;
  Message: Error while executing Script &quot;OppoConvertToProj&quot; at line 52 char 13.&lt;br&gt;
  Message: &quot;L'URI à décoder contient un caractère incorrect&quot;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;After some tests I know that the error is thorwn by the % . I tried to fix it in the &quot;CleanFilter&quot; (replace % by %) but I have the same error.&lt;/p&gt;

&lt;p&gt;Is it possible to filter a dataset with a like ?&lt;/p&gt;

&lt;p&gt;Here is my filter (first recordCount is correct, the second is empty)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// copy links to quote ==&amp;gt; CUSTOM : Create new Document (ORDER)
var OppoDocuDS = Database.ConsultDetail(QueryHandle, OppoContext, OppoKey, ntDocu, true, true, 0);
Logger.Write('OppoDocuDS.recordCount1='+OppoDocuDS.recordCount);
Logger.Write('OppoDocuDS.IsEmpty1='+OppoDocuDS.IsEmpty);

// filter dataset on quote
var Filter = &quot;REFERENCE LIKE 'D%'&quot;;
var CleanFilter = decodeURIComponent(Filter).replace(/=/gi, &quot;=&quot;).replace(/&amp;lt;/gi, &quot;&amp;lt;&quot;).replace(/&amp;gt;/gi, &quot;&amp;gt;&quot;).replace(/&amp;amp;#37;/gi, &quot;%&quot;)
OppoDocuDS.Filtered = false
if (CleanFilter != &quot;&quot;) {
    OppoDocuDS.Filter = CleanFilter
    OppoDocuDS.FilterOptions = 1
    OppoDocuDS.Filtered = true
}

Logger.Write('OppoDocuDS.recordCount2='+OppoDocuDS.recordCount);
Logger.Write('OppoDocuDS.IsEmpty2='+OppoDocuDS.IsEmpty);
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3585/how-to-use-filter</guid>
<pubDate>Tue, 02 Oct 2018 16:03:26 +0000</pubDate>
</item>
<item>
<title>Create a multi value field, on acc_account but filter on a specific group</title>
<link>https://overflow.efficy.io/?qa=3581/create-multi-value-field-accaccount-filter-specific-group</link>
<description>&lt;p&gt;Hello Efficy Team, &lt;/p&gt;

&lt;p&gt;I am looking for the best way to filter a multivalue field on acc_account in a category. For exemple, in a category, the possibly to select only user from the group &quot;sales&quot;.&lt;/p&gt;

&lt;p&gt;We thought of three &quot;simple&quot; solutions :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In client side, with a serverscript, dynamically load the acc_account &lt;/li&gt;
&lt;li&gt;Report the users in an other lookup, with their name and their k_user (I don't like this solution)&lt;/li&gt;
&lt;li&gt;Edit the &quot;sqlrule&quot; of the multivalue field (but we struggle with the semicolon separator)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The solution provided by Kristof in the project guide about the &quot;form in category&quot; might do the job (because we could set a special definition for this field). Am I correct ? &lt;/p&gt;

&lt;p&gt;Have someone another idea ? &lt;/p&gt;

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

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3581/create-multi-value-field-accaccount-filter-specific-group</guid>
<pubDate>Tue, 02 Oct 2018 11:21:50 +0000</pubDate>
</item>
<item>
<title>Rights on categories + chronos</title>
<link>https://overflow.efficy.io/?qa=3565/rights-on-categories-chronos</link>
<description>&lt;p&gt;Dear all, &lt;/p&gt;

&lt;p&gt;A client reported me a problem in Efficy 10SP2+, but I am not sure if it is a bug or a configuration problem : &lt;/p&gt;

&lt;p&gt;Let suppose we have three users : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User A&lt;/li&gt;
&lt;li&gt;User B&lt;/li&gt;
&lt;li&gt;User C&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each user is member of a group : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User A : Everyone + Group 1 + Admin&lt;/li&gt;
&lt;li&gt;User B : Everyone + Group 1&lt;/li&gt;
&lt;li&gt;User C : Everyone + Group 2&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is a category on &quot;contacts&quot; called &quot;Employee&quot;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Everyone should not have access&lt;/li&gt;
&lt;li&gt;Group 1 should read the content&lt;/li&gt;
&lt;li&gt;Group 2 should not see the category and his content (no access then)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If User A or B modify information on a contact : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A and B see the information&lt;/li&gt;
&lt;li&gt;C do not see the information the information in the category (he does not see the category).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So far, everything work as expected.&lt;/p&gt;

&lt;p&gt;BUT : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User A, B &lt;strong&gt;AND&lt;/strong&gt; user C see the change in the chronos, and what's been changed !&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Is that a configuration problem or a bug ? If it is a bug, is that fixed in Efficy 11.1 ? &lt;/p&gt;

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

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

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy Designer (Conficy)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3565/rights-on-categories-chronos</guid>
<pubDate>Tue, 25 Sep 2018 08:46:50 +0000</pubDate>
</item>
<item>
<title>Customize SORTDELETE on DocuEdit</title>
<link>https://overflow.efficy.io/?qa=3559/customize-sortdelete-on-docuedit</link>
<description>&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;I am customizing the products grid on Docu Edit :&lt;br&gt;
DOCU&lt;em&gt;PROD have a 'F&lt;/em&gt;LOT' field that I use to set css classes and field definition in &lt;strong&gt;GridEditColumnsCustom.txt&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the screen below :&lt;br&gt;
- first two rows : &amp;lt; tr &amp;gt; element have the class 'simple' and F&lt;em&gt;LOT is NULL&lt;br&gt;
- the third line (grey) : &amp;lt; tr&amp;gt; element have the class 'lot' and K&lt;/em&gt;PRODUCT==F&lt;em&gt;LOT&lt;br&gt;
- other : &amp;lt; tr &amp;gt; element have the class 'detail' and F&lt;/em&gt;LOT is equal to the K_PRODUCT of the third row&lt;/p&gt;

&lt;p&gt;I want to customize the SORTDELETE definition :&lt;/p&gt;

&lt;p&gt;The delete button of the third line have to delete the 'others' lines. I do that in the workflow. In this example he have to delete 4 relations, but only 2 are deleted.. I think it is because the window is refreshed too quickly, &lt;strong&gt;where can I sleep the client script for 1s to let the WF do his job ?&lt;/strong&gt; (I have already the sleep function in Custom.js)&lt;/p&gt;

&lt;p&gt;Workflow function (called by OnDeleteDetailDocuProd) :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function DeleteBatchDetails(EditHandle, Detail, K_LOT) {
  var docuProdDS = Database.GetDetailDataSet(EditHandle, ntProd);

  // filter which relations have to be deleted
  var Filter = 'F_LOT='+K_LOT+' AND F_LOT&amp;lt;&amp;gt;K_PRODUCT'; // current K_LOT relation will be remove by Efficy standard code
  var CleanFilter = decodeURIComponent(Filter).replace(/&amp;amp;#61;/gi, &quot;=&quot;).replace(/&amp;amp;lt;/gi, &quot;&amp;lt;&quot;).replace(/&amp;amp;gt;/gi, &quot;&amp;gt;&quot;)
  docuProdDS.Filtered = false
  if (CleanFilter != &quot;&quot;) {
    docuProdDS.Filter = CleanFilter
    docuProdDS.FilterOptions = 1
    docuProdDS.Filtered = true
  }

  if(docuProdDS &amp;amp;&amp;amp; !docuProdDS.IsEmpty) {
    Logger.Write('docuProdDS.recordCount='+docuProdDS.recordCount);
    var k_document = Database.GetEditKey(EditHandle);

    docuProdDS.First;
    while(!docuProdDS.EoF) {
      var k_product=docuProdDS.FieldByName('K_PRODUCT').AsFloat;
      var k_relation = docuProdDS.FieldByName('K_RELATION').AsFloat;

      Database.DeleteDetail(EditHandle, ntProd, k_product, k_relation);

      Logger.Write('docuProdDS.EoF='+docuProdDS.EoF);
      Logger.Write('Deleted DOCU_PROD ' + k_document + '-' + k_product + '('+k_relation+')');

      docuProdDS.Next;
    }
  }

  // unfilter dataset
  if (docuProdDS.Filter != &quot;&quot;) {
    docuProdDS.Filter='';
    docuProdDS.FilterOptions=0
    docuProdDS.Filtered=0
  }
}
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3559/customize-sortdelete-on-docuedit</guid>
<pubDate>Mon, 24 Sep 2018 09:48:11 +0000</pubDate>
</item>
<item>
<title>Announcement: Efficy 10 SP2+ new Sidebar for for use with Firefox (r14440)</title>
<link>https://overflow.efficy.io/?qa=3553/announcement-efficy-sp2-new-sidebar-for-with-firefox-r14440</link>
<description>&lt;p&gt;There is a new &quot;Setup Efficy Sidebar and Add-ins 10SP2 Plus r14440&quot; msi package available on the Partner FTP which addresses a Firefox-related certificate issue in the Sidebar.&lt;/p&gt;

&lt;p&gt;Since Firefox 59+ for new installations there was no installation of the Root CA certificate because of a format change in the certificate DB of Firefox. Without certificate Firefox would not communicate correctly with the local web server running in the Sidebar.&lt;/p&gt;

&lt;p&gt;The new Setup takes into account this change of format. If your customers don't use Firefox, the new Setup won't change anything.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br&gt;
Robert&lt;/p&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3553/announcement-efficy-sp2-new-sidebar-for-with-firefox-r14440</guid>
<pubDate>Tue, 18 Sep 2018 09:04:38 +0000</pubDate>
</item>
<item>
<title>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</link>
<description>&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;When I commit Document I have to update product on Opportunity :&lt;br&gt;
- if a Docu&lt;em&gt;Prod is remove I want to remove it from the PROD&lt;/em&gt;OPPO&lt;br&gt;
- if a Docu&lt;em&gt;Prod is update I have to update PROD&lt;/em&gt;OPPO&lt;br&gt;
- if a Docu&lt;em&gt;Prod is added I have to insert it in the PROD&lt;/em&gt;OPPO&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;important notes :&lt;br&gt;
- insert copy DOCU&lt;em&gt;PROD.K&lt;/em&gt;RELATION in PROD&lt;em&gt;OPPO.K&lt;/em&gt;RELATION&lt;br&gt;
- PROD&lt;em&gt;OPPO have a F&lt;/em&gt;K&lt;em&gt;DOCUMENT field which contains the K&lt;/em&gt;DOCUMENT to know which Document linked it&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Unless I'm wrong, in the After or BeforeCommitDocu event, with GetDetailDataSet(EditHandle, ntProd) we are not able to know the removed relation, so, to remove the product on the Opportunity my workflow (example with Oppo as container) get:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Trigger AfterCommitDocu(EditHandle)&lt;/li&gt;
&lt;li&gt;Check the container (ntOppo op ntProj based on the reference of the document)&lt;/li&gt;
&lt;li&gt;Get the container key and open the edit context (containerEdit)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;First I check the products to delete on the Oppo :&lt;br&gt;
 4.1 Execute an SQL Query to get the products of the Oppo&lt;br&gt;
 4.2 Iterate through the result Dataset&lt;br&gt;
 4.3 To check if the product is not in the document I use PositionDetail(EditHanle) (cf workflow below)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Link and update products of the document&lt;/li&gt;
&lt;li&gt;If the container is an Opportunity I update its BUDGET&lt;/li&gt;
&lt;li&gt;Commit the changes of the Oppo&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I have just a problem in the 5th bullet point : PositionDetail always return false and at the and all the PROD_OPPO obtained with the request are deleted.&lt;br&gt;
I think the CommitChanges calls all InsertDetails first, and then DeleteDetail..&lt;/p&gt;

&lt;p&gt;Why PositionDetail is not able to return me true ? I checked with the Logger and and the K&lt;em&gt;PRODUCT and K&lt;/em&gt;RELATION are correct. I can not find example of PositionDetail (edn, standard code, ...)&lt;/p&gt;

&lt;p&gt;P.S : in DeleteProdOnContainer what is the better way to delete the record ? Database.DeleteDetail() or or the TDataSet.delete() method ?&lt;/p&gt;

&lt;p&gt;Workflow :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// called by AfterCommitDocu
function GestionDocuProd(EditHandle, Inserted) {
  var containerHandle=0;
  var Ref = Database.GetFieldValue(EditHandle, 'REFERENCE');

  // update Oppo or Proj ?
  switch(true) {
    case /^D\d+$/.test(Ref) : // DEVIS
      // pas de traitement si Devis final
      if(Database.GetFieldValue(EditHandle, 'F_STATUS') == 5) {
        return;
      }
      containerHandle = ntOppo;
      break;
    case /^IPC/.test(Ref) : // COMMANDE
      containerHandle = ntProj;
      break;
    default:
      return;
      break;
  }

  // key of the container : Devis ==&amp;gt; Opportunity || IPC ==&amp;gt; Project
  var containerKey = Database.GetMainDetail(EditHandle, containerHandle);

  // Erreur si pas de container
  if(containerKey==0) {
    if(containerHandle==ntOppo) {
      throw new Error(&quot;This type of document must be linked to a container (devis = opportunity) / Le document doit être lié a un container (devis = Opportunité&quot;);
    }
    else if(containerHandle==ntProj) {
      throw new Error(&quot;This type of document must be linked to a container (Commande / IPC = Dossier) / Le document doit être lié a un container (Commande / IPC = Dossier&quot;);
    }
  }

  // Document key and container Edit context
  var docuKey = Database.GetEditKey(EditHandle);
  var containerEdit = Database.OpenEditContext(containerHandle, containerKey);

  Database.CopyDetails(containerEdit, EditHandle, [ntCont, ntComp, ntProf], false, false);

  try {
    /* delete product on Oppo/Proj */
    DeleteProdOnContainer(containerEdit, containerKey, EditHandle, docuKey);

    /* Insert &amp;amp; Update product */
    UpdateProdOnContainer(EditHandle, Ref, containerHandle, containerEdit)

    if(containerHandle == ntOppo) {
      Database.CommitChanges(containerEdit, true); // persist link to update BUDGET

      // Get new BUDGET
      var SQLGetNewBudget = &quot;Select Coalesce(Sum(TOTAL),0) as BUDGET from &amp;lt;#TABLE NAME='PROD_OPPO'&amp;gt; where K_OPPORTUNITY=:param1 and F_LOT &amp;lt;&amp;gt; K_PRODUCT&quot;;
      var result = ExecuteQuery(SQLGetNewBudget, containerKey);
      var newBudget = result.FieldByName('BUDGET').AsFloat || 0;

      // Update
      Database.UpdateField(containerEdit, 0, 'BUDGET', newBudget);
    }

    Database.CommitChanges(containerEdit, false);
  }
  finally {
    Database.CloseContext(containerEdit);
  }
}
function DeleteProdOnContainer(ContainerEdit, ContainerKey, DetailEdit, K_DOCUMENT) {
  var SQLGetProducts = &quot;select * from &amp;lt;#TABLE NAME=\&quot;PROD_OPPO\&quot;&amp;gt; where K_OPPORTUNITY=:param1 and F_K_DOCUMENT=:param2&quot;;
  var params = ContainerKey+'\n'+K_DOCUMENT;

  var prodDS = ExecuteQuery(SQLGetProducts, params);

  if(!prodDS.IsEmpty) {
    prodDS.First

    while(!prodDS.EoF) {
      var k_product = prodDS.FieldByName('K_PRODUCT').AsFloat;
      var k_relation = prodDS.FieldByName('K_RELATION').AsFloat;
      var k_lot = prodDS.FieldByName('F_LOT').AsFloat;
      var k_opportunity = prodDS.FieldByName('K_OPPORTUNITY').AsFloat;

      var debugStr = 'RELATION OPPO_PROD ' + k_opportunity+'-'+k_product + '('+k_relation+') from Batch ' + k_lot

      // if current PROD_OPPO/PROD_PROJ don't exists on Document ==&amp;gt; delete on Oppo
      if(!Database.PositionDetail(DetailEdit, ntProd, k_product, k_relation)) {

        // What is better ? delete() or DeleteDetail() ?
        // prodDS.delete();
        //Logger.Write('Delete Oppo-Prod 136-' + k_product + '('+k_relation+')');
        debugStr += ' | DELETE'

        Database.DeleteDetail(ContainerEdit, ntProd, k_product, k_relation);
      }
      Logger.Write(debugStr);
      prodDS.Next;
    }
  }
  else {
    Logger.Write('No product on container');
  }
}
// insert and/or update PROD_OPPO from current DOCU_PROD
function UpdateProdOnContainer(EditHandle, Ref, containerHandle, ContainerEdit) {
  var docuProdDataSet = Database.GetDetailDataSet(EditHandle, ntProd);
  if(!docuProdDataSet.IsEmpty) {
    docuProdDataSet.First;
    // fields to copy
    var FieldList = [&quot;QUANTITY&quot;, &quot;PRICE&quot;, &quot;TOTAL&quot;, &quot;F_LOT&quot;];

    if(containerHandle==ntOppo) { // PROD_OPPO have more field to copy than PROD_PROJ
      FieldList = FieldList.concat([&quot;RATE&quot;, &quot;DISCOUNT&quot;, &quot;VAT&quot;, &quot;CONSO_RATE&quot;, &quot;CONSO_TOTAL&quot;]);
    }

    while(!docuProdDataSet.EoF) {
      var prodKey = docuProdDataSet.FieldByName(&quot;K_PRODUCT&quot;).AsFloat;
      var relKey = docuProdDataSet.FieldByName(&quot;K_RELATION&quot;).AsFloat;
      Database.InsertDetail(ContainerEdit, ntProd, prodKey, relKey, false);

      // copy relation fields value
      for (var i = 0; i &amp;lt; FieldList.length; i++) {
        Database.UpdateDetailField(ContainerEdit, ntProd, 0, relKey, FieldList[i], docuProdDataSet.FieldByName(FieldList[i]).AsFloat);
      }
      Database.UpdateDetailField(ContainerEdit, ntProd, 0, relKey, 'F_K_DOCUMENT', docuProdDataSet.FieldByName('K_DOCUMENT').AsFloat);  // --&amp;gt; which document have linked the product
      Database.UpdateDetailStringField(ContainerEdit, ntProd, 0, relKey, 'F_DOCUREF', Ref);  // --&amp;gt; easy way to get the Document reference in the Opportunity.Products grid
      Database.UpdateDetailStringField(ContainerEdit, ntProd, 0, relKey, 'COMMENT', docuProdDataSet.FieldByName('COMMENT').AsString);

      docuProdDataSet.Next;
    }
  }
  else {
    Logger.Write('No product on document');
  }
}
&lt;/code&gt;&lt;/pre&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</guid>
<pubDate>Mon, 03 Sep 2018 15:25:20 +0000</pubDate>
</item>
<item>
<title>Workflow doesn't work anymore</title>
<link>https://overflow.efficy.io/?qa=3152/workflow-doesnt-work-anymore</link>
<description>&lt;p&gt;Good morning,&lt;/p&gt;

&lt;p&gt;For yesterday, my workflow doesn't work anymore.&lt;br&gt;
The first lines I have are:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function BeforeCommitCont(editHandle, inserted) {
    throw new Error('Error');
    debugger;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And when I save a contact, nothing happens.&lt;br&gt;
There is no error message on Efficy and Visual Studio (which is currently listening to w3wp.exe) does'nt work neither. I also did a Database.disabledWorkflow = false on a serverscript before posting here and nothing changes.&lt;/p&gt;

&lt;p&gt;I did a new project with a clear workflow: same code above works fine.&lt;/p&gt;

&lt;p&gt;Someone can help me, please ?&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3152/workflow-doesnt-work-anymore</guid>
<pubDate>Wed, 16 May 2018 08:08:16 +0000</pubDate>
</item>
<item>
<title>Ipad + documents in efficy 10 SP2+</title>
<link>https://overflow.efficy.io/?qa=3050/ipad-documents-in-efficy-10-sp2</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;My client &lt;strong&gt;really&lt;/strong&gt; love his iPad (he bought 30 ipad for his commercials and technicians).&lt;/p&gt;

&lt;p&gt;He would like to use only his iPad with Efficy. But he can't because he can not modify a proposal document. He know that there is no &quot;side barre version&quot; for iPad. &lt;/p&gt;

&lt;p&gt;Is there a way to edit an efficy document directly with an ipad ? We thought of using &quot;word online&quot;. How can we implement that ? &lt;/p&gt;

&lt;p&gt;I thing the best way is :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Generate a document in efficy. On commitDocu -&amp;gt; send the doc to a Microsoft drive. Get the link of the new document in return&lt;/li&gt;
&lt;li&gt;Add the url of the doc inside a new field in the new efficy document.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Do you have an other solution ? An easier one ? &lt;/p&gt;

&lt;p&gt;Did one of you already implement a functionality like that ?&lt;/p&gt;

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

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3050/ipad-documents-in-efficy-10-sp2</guid>
<pubDate>Fri, 06 Apr 2018 12:13:35 +0000</pubDate>
</item>
<item>
<title>Opening windows with standard custom view selected</title>
<link>https://overflow.efficy.io/?qa=2917/opening-windows-with-standard-custom-view-selected</link>
<description>&lt;p&gt;Has anyone already made a custom to open for example the search window for products from a Opportunity &lt;strong&gt;with a specific custom view selected (always)&lt;/strong&gt;?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2917/opening-windows-with-standard-custom-view-selected</guid>
<pubDate>Thu, 08 Feb 2018 09:15:36 +0000</pubDate>
</item>
<item>
<title>Multivalue custom Options</title>
<link>https://overflow.efficy.io/?qa=2855/multivalue-custom-options</link>
<description>&lt;p&gt;Hi all!&lt;/p&gt;

&lt;p&gt;I had to create a new entity (THEMATICS) and i need to use its values to fill a multivalue.&lt;br&gt;
This multivalue is a field of Documents that allows users to choose some thematics.&lt;br&gt;
To fill it i need a custom field and i found this post :&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.com/?qa=2468/custom-options-in-a-multi-value-field&amp;amp;show=2468#q2468&quot;&gt;https://overflow.efficy.com/?qa=2468/custom-options-in-a-multi-value-field&amp;amp;show=2468#q2468&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;so i implemented my field like this :&lt;br&gt;
&lt;strong&gt;&lt;em&gt;FormFieldsEditCustom.txt&lt;/em&gt;&lt;/strong&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;field.THEMATICS {[
    &amp;lt;%GetEdit('$FIELD$',
    data-ajax-url='dialog?_macro=MultiValue_DOCU_Thematics&amp;amp;_macrofile=MacroAjax&amp;amp;Key=&amp;lt;%RunScript(getMainDetail, detail=Them)%&amp;gt;',
    data-json='{&amp;lt;%GetField(&quot;$FIELD$&quot;, type=&quot;MULTIVALUE&quot;, json=T)%&amp;gt;}')
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;MacroAjaxCustom.txt&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;MultiValue_DOCU_Thematics {[
&amp;lt;%RunQuery(id='getThematicEntries', store=10001, SQL='select Them.K_THEMATIC, Them.NAME from THEMATICS Them order by NAME desc')%&amp;gt;
&amp;lt;%GetDataGrid(query='getThematicEntries', count=-1, norecords='', nolinefeed=T,
    templatetext=|[&amp;lt;#repeat&amp;gt;
            {
                 &quot;id&quot;:&amp;lt;#F=K_THEMATIC;nospace=T&amp;gt;
                ,&quot;text&quot;:&quot;&amp;lt;#F=NAME;jsontext=T;nospace=T&amp;gt;&quot;
            }&amp;lt;#S=;SEPARATOR=,&amp;gt;
        &amp;lt;/#repeat&amp;gt;]|
    )%&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The multivalue field is &quot;works&quot; : when i want to look a Document that have thematics this error is thrown :&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;ID: ENTT-1515&lt;/p&gt;
  
  &lt;p&gt;Message: LookupTableManager&lt;br&gt;
  Cannot fetch Lookup Table Values on table &quot;DOCUMENTS.F_THEMATICS&quot;&lt;/p&gt;
  
  &lt;p&gt;Commentaire:&lt;/p&gt;
  
  &lt;p&gt;Details: Application Server Error&lt;br&gt;
  (ENTT-1513) LookupTableManager&lt;br&gt;
  Cannot fetch Lookup Table Values on table &quot;DOCUMENTS.F&lt;em&gt;THEMATICS&quot;&lt;br&gt;
  (ENTT-1515) LookupTableManager&lt;br&gt;
  FieldName &quot;0&quot; not found in SYS&lt;/em&gt;FIELDS&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Secondly, why a button &quot;Download&quot; is display below ?&lt;br&gt;
All tab (green buttons on the screens) display the same thing. I think it's the buttons of the next tab.. This error only appears when i define the field definition (THEMATICS instead of MULTIVALUE in Edit Document on Conficy)&lt;/p&gt;

&lt;p&gt;Thanks a lot !&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=3700115100989004848&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2855/multivalue-custom-options</guid>
<pubDate>Tue, 26 Dec 2017 11:59:59 +0000</pubDate>
</item>
<item>
<title>Multivalue in Edit context Products tab</title>
<link>https://overflow.efficy.io/?qa=2722/multivalue-in-edit-context-products-tab</link>
<description>&lt;p&gt;Has anyone already added a multivalue to the product tab in edit context ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2722/multivalue-in-edit-context-products-tab</guid>
<pubDate>Tue, 17 Oct 2017 14:52:02 +0000</pubDate>
</item>
<item>
<title>disable vs7debug only for Efficy on a server</title>
<link>https://overflow.efficy.io/?qa=2721/disable-vs7debug-only-for-efficy-on-a-server</link>
<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;The Efficy server is mutualized with a BI (micro strategy) server. for some reason the microstrategy applicative needs the vs7debug engine to run properly...&lt;/p&gt;

&lt;p&gt;as far as I know the only way that I have to make the efficy error engine to work properly is to disable vs7debug by renaming it.&lt;/p&gt;

&lt;p&gt;Do you know a way to disable it through IIS or else only for Efficy use? exceptions to set or anything...&lt;/p&gt;

&lt;p&gt;Best regards.&lt;/p&gt;
</description>
<category>IT</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2721/disable-vs7debug-only-for-efficy-on-a-server</guid>
<pubDate>Tue, 17 Oct 2017 13:17:35 +0000</pubDate>
</item>
<item>
<title>use custom views in a new tab in companies consult for Efficy 10 Sp2+</title>
<link>https://overflow.efficy.io/?qa=2705/use-custom-views-in-new-tab-companies-consult-for-efficy-sp2</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;is it basically possible to use the &quot;custom views&quot; in a new created tab?&lt;/p&gt;

&lt;p&gt;In the company consult, I created a new tab “classification” (only a tab not a new entity) and display several fields from an external table. Now when I want to create a custom view I get an error, here is a screenshot with the tab and also with the error.&lt;/p&gt;

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

&lt;p&gt;I created already a new sys_query but maybe  I did something wrong in this step.&lt;/p&gt;

&lt;p&gt;Following question coming up for me:&lt;br&gt;
-   Is it basically possible to use the custom views in these kind of grid views (it is planned &lt;br&gt;
        to implement it in Efficy 10 SP2 +)&lt;br&gt;
-       if yes, some hints how to do it would be very helpful and much appreciated&lt;/p&gt;

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

&lt;p&gt;Stephan&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2705/use-custom-views-in-new-tab-companies-consult-for-efficy-sp2</guid>
<pubDate>Wed, 27 Sep 2017 07:21:41 +0000</pubDate>
</item>
<item>
<title>Automated Flexmail e-mailsending</title>
<link>https://overflow.efficy.io/?qa=2697/automated-flexmail-e-mailsending</link>
<description>&lt;p&gt;For a customer we want to send e-mails to contacts in an Efficy-campaign automatically using a scheduled task.&lt;/p&gt;

&lt;p&gt;We want to store some properties in a category in the campaign:&lt;br&gt;
 - Automated sending (boolean)&lt;br&gt;
 - Flexmail message (ID)&lt;br&gt;
 - E-mail subject&lt;br&gt;
 - Status after sending&lt;br&gt;
 - Sender's E-mail&lt;br&gt;
 - Sender's E-mail&lt;br&gt;
 - Reply e-mail&lt;/p&gt;

&lt;p&gt;The scheduled task must check the campaigin if there are contacts with an empty status. If so he can start the sending of the contacts and the message properties to Flexmail by bypassing the &quot;Send personlized e-mail&quot; form.&lt;/p&gt;

&lt;p&gt;Is it possible to bypass this form, so we can let Efficy automatically send mails when a contact is added to a campaign ?&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2697/automated-flexmail-e-mailsending</guid>
<pubDate>Fri, 15 Sep 2017 11:02:09 +0000</pubDate>
</item>
<item>
<title>Error closing DataSynchroRemote when used with a commandline</title>
<link>https://overflow.efficy.io/?qa=2663/error-closing-datasynchroremote-when-used-with-commandline</link>
<description>&lt;p&gt;For a customer we built a DataSynchroRemote to import data from an Excel sheet into Efficy. When performing the import within the DataSynchroRemote user interface, the import is completed without any errors.&lt;/p&gt;

&lt;p&gt;When starting the same DataSynchro from a commandline (with the .dat-file as the commandline parameter,) the import is processed correctly, but an error occurs when the application is closed after completing:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;executable        : DataSynchroRemote.exe&lt;br&gt;
exec. date/time   : 2017-03-31 10:40&lt;br&gt;
version           : 10.0.7987.0&lt;br&gt;
compiled with     : Delphi 2009&lt;br&gt;
madExcept version : 3.0n&lt;br&gt;
callstack crc     : $b943c1eb, $eea85a9b, $eea85a9b&lt;br&gt;
exception number  : 1&lt;br&gt;
exception class   : EAccessViolation&lt;br&gt;
exception message : Access violation at address 005636E3 in module 'DataSynchroRemote.exe'. Read of address 0DA868F0.&lt;/em&gt;&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2663/error-closing-datasynchroremote-when-used-with-commandline</guid>
<pubDate>Fri, 25 Aug 2017 10:52:34 +0000</pubDate>
</item>
<item>
<title>MergeTemplate -&gt; Cannot open template!</title>
<link>https://overflow.efficy.io/?qa=2653/mergetemplate-cannot-open-template</link>
<description>&lt;p&gt;Hi Team,&lt;/p&gt;

&lt;p&gt;I'm building an Extranet for a customer and I have to fill in some fields on a document when clicking a link. Until here, it works fine. After this I simply have to merge a template and store the key of this new attachment. This is done in the same edit context as before.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var editDocu    = Database.OpenEditContext(ntDocu, K_DOCUMENT);
var dataDocu    = Database.GetMasterDataSet(editDocu, 0);

dataDocu.Edit;
/** Here some fields are being filled in, this works. **/

var K_NEW_ATTCHM  = Database.MergeTemplate(editDocu, 7, null);
/** 
    Where 7 is the key of the template. The GUEST user 
    has full-control security on the template
**/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;When this code gets executed I get the following error: &lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Cannot open Template! Can't show that item. It may have been deleted or you may not have the proper access rights to view this information.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The template (Key: 7) is an empty html template. The GUEST user has full-control security on the linked elements of the document.&lt;/p&gt;

&lt;p&gt;Is there anything else that has to be done in order to make this work?&lt;/p&gt;

&lt;p&gt;Thanks in advance :-)&lt;/p&gt;

&lt;p&gt;Br,&lt;br&gt;
Maxime&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2653/mergetemplate-cannot-open-template</guid>
<pubDate>Thu, 17 Aug 2017 06:25:57 +0000</pubDate>
</item>
<item>
<title>include in serverscripts with this simple trick</title>
<link>https://overflow.efficy.io/?qa=2589/include-in-serverscripts-with-this-simple-trick</link>
<description>&lt;p&gt;Hi guys, &lt;/p&gt;

&lt;p&gt;sometime in serverscripts you can wish to organize your code over several serverscripts like a tools.js library by example.&lt;/p&gt;

&lt;p&gt;in almost cases you can just do the trick from your serverscripts call like : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%LoadScript(&quot;mylib1.js;mylib2.js;myscriptfile.js&quot;)%&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;same goes for ajax calls.&lt;/p&gt;

&lt;p&gt;this does not correspond to a real include from a file so we can't just use this trick for scheduler.exe.&lt;/p&gt;

&lt;p&gt;I found a way to make an include like call from a serverscript that works in scheduler as well so please enjoy it (even if the solution is a bit obvious I never thought about that before so...)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var root = &quot;C:/inetpub/wwwroot/customs/mycustom/&quot;;
var dependencies = [
    &quot;serverscripts/mylib1.js&quot;,
    &quot;serverscripts/mylib2.js&quot;
];

for (var i=0; i&amp;lt;dependencies.length; i++){
    eval(StrLoadBinaryFile(root + dependencies[i]));
}

function myFunction(){ //-----(called by the scheduler)
    return functionFromMyLib1(); //-----(definition in mylib1.js)
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;since I havn't tested it in a workflow I can only assume that it would do the trick as well.&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=2589/include-in-serverscripts-with-this-simple-trick</guid>
<pubDate>Fri, 07 Jul 2017 08:05:16 +0000</pubDate>
</item>
<item>
<title>Datagrid with the new headers options HOW?</title>
<link>https://overflow.efficy.io/?qa=2525/datagrid-with-the-new-headers-options-how</link>
<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;I would like to create a datagrid in a page that will allow me to use the fancy filters and order columns features as on below : &lt;/p&gt;

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

&lt;p&gt;How can I do that? the getDataGrid macro I use just allow me to force certain parameters as a filter or an order but I would like to make my datagrid as interactive as possible.&lt;/p&gt;

&lt;p&gt;thank you&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2525/datagrid-with-the-new-headers-options-how</guid>
<pubDate>Wed, 07 Jun 2017 09:14:07 +0000</pubDate>
</item>
<item>
<title>Easy default queryviews in Efficy10</title>
<link>https://overflow.efficy.io/?qa=2478/easy-default-queryviews-in-efficy10</link>
<description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;in most projects the customers needs some queryviews to be by &quot;default&quot;.&lt;br&gt;
so there is a solution I ve done to help them having control about it : &lt;/p&gt;

&lt;p&gt;in the workflow add the code : &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function AfterLogon(){
    initUserOptions();
}

function initUserOptions(){
    //Database.Log(&quot;Ok then&quot;);

    var 
        qh = 0,
        tc = Database.OpenTemporaryContext(),
        sql = &quot;&quot;;

    sql += &quot;select &quot;;
    sql += &quot;    V.K_QUERYVIEW, &quot;;
    sql += &quot;    (select E.NAME from admin.SYS_ENTITIES E where E.K_ENTITY = V.K_MASTER) as MASTER_NAME, &quot;;
    sql += &quot;    (select E.NAME from admin.SYS_ENTITIES E where E.K_ENTITY = V.K_DETAIL) as DETAIL_NAME, &quot;;
    sql += &quot;    (case V.K_DETAIL when -1 then 'Search' else 'Consult' end) as CONTEXT &quot;; 
    sql += &quot;from admin.QUERYVIEWS V &quot;;
    sql += &quot;where V.NAME = 'default' &quot;;

    var ds = Database.ExecuteSystemSQLQuery(qh, tc, sql, &quot;&quot;, true, false, 1);
    ds.First();

    while (!ds.EoF){
        var 
            context = ds.FieldByName(&quot;CONTEXT&quot;).AsString,
            master = ds.FieldByName(&quot;MASTER_NAME&quot;).AsString,
            detail = ds.FieldByName(&quot;DETAIL_NAME&quot;).AsString,
            key = ds.FieldByName(&quot;K_QUERYVIEW&quot;).AsString;

        var section = context + master + &quot;_&quot;;
        section += (context == &quot;Consult&quot;)? detail + &quot;_&quot;: &quot;&quot;;
        section += &quot;QueryView&quot;;

        Database.WriteString(&quot;Efficy&quot;, section, key);

        ds.Next();
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The only thing you have to do after that is create a queryview where you want (it works for consult and search context, feel free to make it evolve if you need)&lt;/p&gt;

&lt;p&gt;your query view has to be named : &quot;Default&quot; and be careful that your queryview is linked to everyone.&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=2478/easy-default-queryviews-in-efficy10</guid>
<pubDate>Wed, 10 May 2017 14:16:53 +0000</pubDate>
</item>
<item>
<title>Custom options in a multi-value field</title>
<link>https://overflow.efficy.io/?qa=2468/custom-options-in-a-multi-value-field</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I would like to customize a multi-value field with data fetched from a custom query.&lt;/p&gt;

&lt;p&gt;The multi-value is linked to the companies table and when I run my query and I try to populate the field, the custom declaration is ignored.&lt;/p&gt;

&lt;p&gt;My example:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;field.F_CONCURRENTEN.Oppo{[ 
&amp;lt;%RunQuery(id=&quot;Competitors&quot;, SQL=&quot;select comp.K_COMPANY, comp.NAME from COMPANIES comp
    inner join COMP_COMP cc on comp.K_COMPANY = cc.K_COMPANY2
    where cc.RELATION in (35) and cc.K_COMPANY=:p1&quot;, param1=&quot;%%RunScript(getMainDetail, detail=Comp)&quot;)%&amp;gt;

&amp;lt;select multiple name=&quot;$FIELD$&quot; id=&quot;$FIELD$&quot;&amp;gt;
    &amp;lt;option&amp;gt;&amp;lt;/option&amp;gt;
    &amp;lt;%GetDataGrid(query=&quot;Competitors&quot;, templateText=|&amp;lt;#repeat&amp;gt;
        &amp;lt;option value=&quot;&amp;lt;#F=K_COMPANY&amp;gt;&quot; &amp;lt;%OnField($FIELD$, value=&quot;&amp;lt;#F=K_COMPANY&amp;gt;&quot;, then=&quot;SELECTED&quot;)%&amp;gt;&amp;gt;&amp;lt;#F=NAME&amp;gt;&amp;lt;/option&amp;gt;
    &amp;lt;/#repeat&amp;gt;|)%&amp;gt;
&amp;lt;/select&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The result I get is a list of &lt;/p&gt;

&lt;p&gt;Any suggesions?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2468/custom-options-in-a-multi-value-field</guid>
<pubDate>Fri, 05 May 2017 08:55:23 +0000</pubDate>
</item>
<item>
<title>Format of numbers in grid doesn't seem to work</title>
<link>https://overflow.efficy.io/?qa=2451/format-of-numbers-in-grid-doesnt-seem-to-work</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I'm working on a development to show information from an external database as extra tabs on the Company consult. In this grid I've got some fields that are currency.&lt;br&gt;
For instance I use the following definition for a field:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;td.EUROSLY {[&amp;lt;td class=&quot;text-end&quot;&amp;gt;&amp;lt;#F=$FIELD$;FORMAT=,0.00&amp;gt; &amp;amp;euro;&amp;lt;/td&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This shows up as follows in the grid:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=5189160227954042965&quot; alt=&quot;Numbers in grid doesn't show as format as the sumfields do.&quot;&gt;&lt;/p&gt;

&lt;p&gt;Is this a known issue?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2451/format-of-numbers-in-grid-doesnt-seem-to-work</guid>
<pubDate>Fri, 21 Apr 2017 19:08:19 +0000</pubDate>
</item>
<item>
<title>On premise customer Flexmail test campaign</title>
<link>https://overflow.efficy.io/?qa=2428/on-premise-customer-flexmail-test-campaign</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;There is an issue for On premise Efficy 10 SP2 customers when a test campaign with Flexmail is used… Workflow send a mail to ALL users linked to publication.&lt;/p&gt;

&lt;p&gt;This is solved in Efficy SP2 + and a patch is available &lt;a rel=&quot;nofollow&quot; href=&quot;https://ivm.efficy.com/efficy.dll/dialog?page=remote/DialogOperation&amp;amp;action=View%28%27Docu%27,191553%29&amp;amp;close=T&quot;&gt;here&lt;/a&gt;:&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2428/on-premise-customer-flexmail-test-campaign</guid>
<pubDate>Wed, 12 Apr 2017 14:59:40 +0000</pubDate>
</item>
<item>
<title>Refreshing an edit window which is still open</title>
<link>https://overflow.efficy.io/?qa=2326/refreshing-an-edit-window-which-is-still-open</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;for some customization I've developed a page which overrules the AddRelation functionality. This customization is adding a Product to an Opportunity instead of doing this with AddRelation. To be able to do this I've developed a page on which a Product can be selected and when selected I add it to the Opportunity. The problem that I have now is that I'm unable to refresh the original edit page. I've tried to do this with the function OpenExistingEdit, but this opens a new edit window instead of refreshing the original edit page.&lt;br&gt;
On the developed page to select a Product I've got the windowname and URL of the original edit window. But with everything I've tried I'm unable to refresh the original edit window.&lt;br&gt;
Has someone an idea on how I can manage to refresh the original edit window?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2326/refreshing-an-edit-window-which-is-still-open</guid>
<pubDate>Wed, 01 Mar 2017 09:08:30 +0000</pubDate>
</item>
<item>
<title>Customizing treeview in Efficy 10SP2</title>
<link>https://overflow.efficy.io/?qa=2278/customizing-treeview-in-efficy-10sp2</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;For a customer I´m trying to customize the treeview for Companies in Efficy 10SP2. The linked products for each company should be visible as a subfolder with products in it. Is there an example that I can follow or use or does someone have some experience with it? I´ve tried to add the products via AfterLoaded but it get´s overwritten in an event jstree.ready. I also tried it via SQL but I didn´t get it to work.&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=2278/customizing-treeview-in-efficy-10sp2</guid>
<pubDate>Fri, 10 Feb 2017 12:40:39 +0000</pubDate>
</item>
<item>
<title>DialogHeader has disapear on Efficy 10th SP2</title>
<link>https://overflow.efficy.io/?qa=2215/dialogheader-has-disapear-on-efficy-10th-sp2</link>
<description>&lt;p&gt;From: Pierre Le Cocquen &lt;br&gt;
Sent: lundi 16 janvier 2017 16:06&lt;br&gt;
To: Pierre-Philippe Fouret &lt;a rel=&quot;nofollow&quot; href=&quot;denied:&amp;#109;&amp;#x61;&amp;#105;&amp;#x6c;&amp;#116;&amp;#x6f;&amp;#58;&amp;#x70;&amp;#102;&amp;#x6f;&amp;#64;&amp;#x65;&amp;#102;&amp;#x66;&amp;#105;&amp;#x63;&amp;#121;&amp;#x2e;&amp;#99;&amp;#x6f;m&quot;&gt;&amp;#x70;&amp;#102;&amp;#x6f;&amp;#64;&amp;#x65;&amp;#102;&amp;#x66;&amp;#105;&amp;#x63;&amp;#121;&amp;#x2e;&amp;#99;&amp;#x6f;m&lt;/a&gt;&lt;br&gt;
Cc: Vincent Hanuse &lt;a rel=&quot;nofollow&quot; href=&quot;denied:&amp;#109;&amp;#x61;&amp;#105;&amp;#x6c;&amp;#116;&amp;#x6f;&amp;#58;&amp;#x76;&amp;#104;&amp;#x61;&amp;#64;&amp;#x65;&amp;#102;&amp;#x66;&amp;#105;&amp;#x63;&amp;#121;&amp;#x2e;&amp;#99;&amp;#x6f;&amp;#109;&quot;&gt;&amp;#x76;&amp;#104;&amp;#x61;&amp;#64;&amp;#x65;&amp;#102;&amp;#x66;&amp;#105;&amp;#x63;&amp;#121;&amp;#x2e;&amp;#99;&amp;#x6f;&amp;#109;&lt;/a&gt;; Stéphane Roncin &lt;a rel=&quot;nofollow&quot; href=&quot;denied:&amp;#x6d;&amp;#97;&amp;#105;&amp;#x6c;&amp;#116;&amp;#111;&amp;#x3a;&amp;#x73;&amp;#114;&amp;#x6f;&amp;#x40;&amp;#101;&amp;#102;&amp;#x66;&amp;#105;&amp;#99;&amp;#x79;&amp;#x2e;&amp;#99;&amp;#x6f;&amp;#x6d;&quot;&gt;&amp;#x73;&amp;#114;&amp;#x6f;&amp;#x40;&amp;#101;&amp;#102;&amp;#x66;&amp;#105;&amp;#99;&amp;#x79;&amp;#x2e;&amp;#99;&amp;#x6f;&amp;#x6d;&lt;/a&gt;&lt;br&gt;
Subject: Bug SP2&lt;/p&gt;

&lt;p&gt;Salut Pierre-Philippe.&lt;/p&gt;

&lt;p&gt;Lors d’un upgrade 10 =&amp;gt; 10 SP2, je suis tombé sur le problème suivant :&lt;/p&gt;

&lt;p&gt;Dans le fichier standard MacroDialog.txt, la macro DialogHeader a disparu.&lt;/p&gt;

&lt;p&gt;Workaround : dans MacroDialogCustom.txt, insérer la définition suivante :&lt;/p&gt;

&lt;p&gt;DialogHeader {[&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;           &amp;lt;%UseStyleSheet()%&amp;gt;

           &amp;lt;%UseScript('js/config/require.config.js', fixedpath=T, data-custombase='%%GetCustomBase()')%&amp;gt;

           &amp;lt;%Evaluate(&quot;%%Macro('RequireConfigCustom')&quot;)%&amp;gt;

           &amp;lt;%UseScript('../lib/js/vendor/require.js', fixedpath=T)%&amp;gt;

           &amp;lt;%UseScript(&quot;scripts/Mootools.js&quot;, fixedline=T)%&amp;gt;

           &amp;lt;%UseScript(&quot;scripts/Mooclasses.js&quot;, fixedline=T)%&amp;gt;

           &amp;lt;%UseScript(&quot;scripts/Base.js&quot;, fixedline=T)%&amp;gt;

           &amp;lt;%UseScript(&quot;scripts/Efficy.js&quot;, fixedline=T)%&amp;gt;

           &amp;lt;%UseScript(&quot;scripts/Desktop.js&quot;, fixedline=T)%&amp;gt;

           &amp;lt;%UseScript(&quot;scripts/Translate.js&quot;, fixedline=T)%&amp;gt;

           &amp;lt;%UseScript(&quot;custom/Custom.js&quot;, fixedline=T)%&amp;gt;

           &amp;lt;script type=&quot;text/javascript&quot;&amp;gt;

                          window.addEvent('load', function() { PageTips = InitTips('*[title]') });

           &amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;]}&lt;/p&gt;

&lt;p&gt;Remarque : le corps de cette macro est celui de la macro présente en Efficy 10, les lignes en vert sont nécessaires pour ajouter le module require.js, utilisé dans certains fichiers standard (Base.js notamment).&lt;/p&gt;

&lt;p&gt;Peux-tu STP en toucher un mot à la R&amp;amp;D et me dire notifier le document dans lequel tu compiles ce genre d’info ?&lt;/p&gt;

&lt;p&gt;Bien à toi,&lt;/p&gt;

&lt;p&gt;Pierre.&lt;/p&gt;

&lt;p&gt;P.S. : je n’ai rien trouvé sur le sujet dans les Release Notes SP2.&lt;/p&gt;
</description>
<category>Efficy 10 SP2</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2215/dialogheader-has-disapear-on-efficy-10th-sp2</guid>
<pubDate>Mon, 23 Jan 2017 10:18:01 +0000</pubDate>
</item>
<item>
<title>Delphi Server Scripts not supported anymore since Efficy10SP1</title>
<link>https://overflow.efficy.io/?qa=2198/delphi-server-scripts-supported-anymore-since-efficy10sp1</link>
<description>&lt;p&gt;Server scripts and also scheduled scripts and datasynchro scripts?&lt;/p&gt;
</description>
<category>Efficy 10 SP2</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2198/delphi-server-scripts-supported-anymore-since-efficy10sp1</guid>
<pubDate>Mon, 16 Jan 2017 16:09:39 +0000</pubDate>
</item>
<item>
<title>Registry entries for the Efficy File Helper</title>
<link>https://overflow.efficy.io/?qa=2147/registry-entries-for-the-efficy-file-helper</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I want to know what the registry entries are for the Efficy File Helper. This is handy for the ones that are using Citrix/Terminal Server so that they can add this to the registry. If this is done then the users can open documents/mails normally, now most of the time they have problems with this.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen Floor&lt;/p&gt;
</description>
<category>IT</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2147/registry-entries-for-the-efficy-file-helper</guid>
<pubDate>Fri, 30 Dec 2016 08:04:55 +0000</pubDate>
</item>
<item>
<title>Master-Detail on a Category doesn't work for the Detail field in Efficy 10 SP2</title>
<link>https://overflow.efficy.io/?qa=2050/master-detail-category-doesnt-work-for-detail-field-efficy</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I'm doing a conversion of a customer to Efficy 10SP2 and this customer uses a Master-Detail in a Category. I'm able to fill in the Master-field, but when I try to fill in the Detail-field I get the following error:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=14416775958443057872&quot; alt=&quot;Error when clicking on the Detail-field&quot;&gt;&lt;/p&gt;

&lt;p&gt;Is this a known issue?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen Floor&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2050/master-detail-category-doesnt-work-for-detail-field-efficy</guid>
<pubDate>Mon, 28 Nov 2016 16:13:13 +0000</pubDate>
</item>
</channel>
</rss>