<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged action</title>
<link>https://overflow.efficy.io/?qa=tag/action</link>
<description>Powered by Question2Answer</description>
<item>
<title>Efficy 11: new action mechanism ... and grid tag #A on Launch Template menu ?</title>
<link>https://overflow.efficy.io/?qa=3183/efficy-new-action-mechanism-and-grid-tag-launch-template-menu</link>
<description>&lt;p&gt;Dear all,&lt;/p&gt;

&lt;p&gt;I did struggle a bit to understand how the new action mechanism was working with the &quot;Launch Template&quot; menu in Efficy Edit Document  window and the new entity picker that has been added to this menu and I wanted to share my finding with all of you.&lt;/p&gt;

&lt;p&gt;First I have to find how the template windows was displayed when we click in the new EntityPicker &quot;FullSearch&quot; Button.&lt;/p&gt;

&lt;p&gt;The important part here is in the CmdTemplate macro in MacroEdit.txt where you can find the following code: &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;%CreateEditButton(actioncode=&quot;CEB_SEL_TMPL&quot;, action=&quot;javascript:SelectTemplates('runTemplate;#EDITHANDLE;$K', TmplFilterHTML)&quot;)%&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This code is very import, because it will be the Javascript code that will be called once the EntityPicker full Search button (macro EntityPickerButtonFullSearch in MacroAjax.txt) is pushed. This button will call a &lt;code&gt;CebPerform('CEB_SEL_TMPL')&lt;/code&gt; in the function “&lt;code&gt;fullSearch&lt;/code&gt;” in the entitypickerCmd.js.&lt;/p&gt;

&lt;p&gt;You can find the “&lt;code&gt;SelectTemplates&lt;/code&gt;” function in efficy\scripts\Efficy.js file, and this function is only opening a new windows with the url pointing to the dialog/Template.htm page and passing the action with the new defined format that you can find in the Release note.&lt;/p&gt;

&lt;p&gt;Now that I understood how the window opened, I search how the action to run the template was done.&lt;/p&gt;

&lt;p&gt;Before in older version of Efficy the Template.htm page was displaying a grid and the action to run the template was setup in the GridColumn.txt “&lt;code&gt;td.PERFORMNAME&lt;/code&gt;”. This grid definition was just using a simple HTML link pointing to the JavaScript function “&lt;code&gt;Perform&lt;/code&gt;” that was in the Template.htm page ... so quite easy to find.&lt;/p&gt;

&lt;p&gt;Now, in Efficy 11, if I am right, there is a new grid tag &lt;strong&gt;&lt;code&gt;&amp;lt;#A&amp;gt;&lt;/code&gt;&lt;/strong&gt;. This grid tag is used to generate the HTML link but by using the data-msg and it also get the action passed to the Template.htm and replace the $ arguments such as $K by the value of the key.&lt;/p&gt;

&lt;p&gt;You can find the action in the CreateEditButton we spoke previously and which was in our case &lt;code&gt;'runTemplate;#EDITHANDLE;$K'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Here is an example of the HTML link generated by the &lt;strong&gt;&lt;code&gt;&amp;lt;#A&amp;gt;&lt;/code&gt;&lt;/strong&gt; tag, as you can see the $K past to in the Action has been replaced automatically by the Template key. &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;a href=&quot;#&quot; data-msg=&quot;action;runTemplate;4;99999028&quot;&amp;gt;Extranet - Set Password (EN)&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The answer I didn't find yet is how efficy.dll knew that &lt;code&gt;$K&lt;/code&gt; should take the K_TEMPLATE because it is not specified in either the &lt;code&gt;RunQuery&lt;/code&gt; or the &lt;code&gt;GetDialogGrid&lt;/code&gt; that we can find in Template.htm page?&lt;/p&gt;

&lt;p&gt;Hope this will help some of you ;)&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3183/efficy-new-action-mechanism-and-grid-tag-launch-template-menu</guid>
<pubDate>Fri, 25 May 2018 13:00:42 +0000</pubDate>
</item>
<item>
<title>Agenda/Tasks : Private vs Confidential, what is the difference ?</title>
<link>https://overflow.efficy.io/?qa=2751/agenda-tasks-private-vs-confidential-what-is-the-difference</link>
<description>&lt;p&gt;I had a question during a customer training but I could not find the answer, what is the difference between making an agenda confidential or private ?&lt;/p&gt;

&lt;p&gt;I could not find the information anywhere in EDN&lt;/p&gt;

&lt;p&gt;The only difference I see is that Private action has a little lock, but both functionnality remove the security of all users except for the current user.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=13484765484398728554&quot; alt=&quot;Private vs Confidential&quot;&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2751/agenda-tasks-private-vs-confidential-what-is-the-difference</guid>
<pubDate>Tue, 21 Nov 2017 08:14:23 +0000</pubDate>
</item>
<item>
<title>Synchronization Exchange Queue ( Validation process)</title>
<link>https://overflow.efficy.io/?qa=313/synchronization-exchange-queue-validation-process</link>
<description>&lt;p&gt;How does the validation process works with the new sync exchange queue ? &lt;/p&gt;

&lt;p&gt;What especially interest me is deletion of appointments. &lt;/p&gt;

&lt;p&gt;Here is the case : &lt;/p&gt;

&lt;p&gt;A user have an appointment in Exchange. Only he is linked to it.&lt;br&gt;
Appointment goes to Efficy. &lt;br&gt;
Workflow is activated for sync exchange. Workflow adds another user to this appointment.&lt;br&gt;
User deletes appointment in Outlook. &lt;/p&gt;

&lt;p&gt;=&amp;gt; Will Synch send appointment back to Outlook ? &lt;br&gt;
What are the boundaries (timestemps/configurations) that determine if appointment will be sent to outlook? d&lt;em&gt;change ? d&lt;/em&gt;create ?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=313/synchronization-exchange-queue-validation-process</guid>
<pubDate>Fri, 27 Mar 2015 13:23:35 +0000</pubDate>
</item>
<item>
<title>query: how to clean doubles after Exchange-Synchro? (action/agenda)</title>
<link>https://overflow.efficy.io/?qa=281/query-how-clean-doubles-after-exchange-synchro-action-agenda</link>
<description>&lt;p&gt;after a Synchro-Exchange I have a lot of actions that are duplicated.&lt;br&gt;
Do you have a query with which we can clean this?&lt;/p&gt;
</description>
<category>Efficy Developers</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=281/query-how-clean-doubles-after-exchange-synchro-action-agenda</guid>
<pubDate>Tue, 17 Mar 2015 11:31:09 +0000</pubDate>
</item>
</channel>
</rss>