<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged massupdate</title>
<link>https://overflow.efficy.io/?qa=tag/massupdate</link>
<description>Powered by Question2Answer</description>
<item>
<title>Mass update in result Query?</title>
<link>https://overflow.efficy.io/?qa=6234/mass-update-in-result-query</link>
<description>&lt;p&gt;Is it possible to implement the &quot;mass update&quot; functionality in the result of a query?  (Efficy 11.2)&lt;br&gt;
If yes, has someone an example ?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6234/mass-update-in-result-query</guid>
<pubDate>Tue, 20 Jul 2021 12:37:24 +0000</pubDate>
</item>
<item>
<title>mass delete based on query results</title>
<link>https://overflow.efficy.io/?qa=1940/mass-delete-based-on-query-results</link>
<description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;In efficy you can do mass-updates but I'm looking for the way to do a mass-delete based on a query. Does anyone know how/where this can be done?&lt;br&gt;
e.g. I would like to delete all deceased contacts at once ;-)&lt;/p&gt;

&lt;p&gt;Regards&lt;br&gt;
Kathleen&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1940/mass-delete-based-on-query-results</guid>
<pubDate>Thu, 13 Oct 2016 08:41:45 +0000</pubDate>
</item>
<item>
<title>Mass update options</title>
<link>https://overflow.efficy.io/?qa=1129/mass-update-options</link>
<description>&lt;p&gt;When adding users through mass update, there are 4 options.&lt;br&gt;
add : adds the link to the chosen user&lt;br&gt;
add &amp;amp; remove: adds the link with the chosen user and deletes the other user links&lt;br&gt;
add &amp;amp; deactivate: adds the link with the chosen user and deactivates, but doesn't erase the link with the other users &lt;/p&gt;

&lt;p&gt;and add &amp;amp; update. I've tested to see what this does, but it's not clear, can anyone clear this up for me?&lt;/p&gt;

&lt;p&gt;Kr,&lt;br&gt;
Gert&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1129/mass-update-options</guid>
<pubDate>Wed, 06 Jan 2016 15:05:52 +0000</pubDate>
</item>
<item>
<title>Mass update in queries</title>
<link>https://overflow.efficy.io/?qa=968/mass-update-in-queries</link>
<description>&lt;p&gt;Is it possible to do a mass update in queries. Or a workaround to update a field for a list of records.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br&gt;
Can D.&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=968/mass-update-in-queries</guid>
<pubDate>Fri, 27 Nov 2015 14:16:09 +0000</pubDate>
</item>
<item>
<title>Mass Update - Being able to change the Owner</title>
<link>https://overflow.efficy.io/?qa=553/mass-update-being-able-to-change-the-owner</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;A partner need to be able to change the owner of multiple records with the Mass Update (not available by default).&lt;/p&gt;

&lt;p&gt;Here is what I'm about to send him :&lt;/p&gt;

&lt;p&gt;In MacroGridtoolsCustom.txt :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;MUShowFieldList {[
&amp;lt;select id=&quot;muFieldName&quot; name=&quot;FieldName&quot; class=&quot;tiny&quot;&amp;gt;
    &amp;lt;%Delay(1)%&amp;gt;SelectUpdateField(&amp;lt;%Onargument(&quot;Detail&quot;, then=|Entity=&quot;&amp;lt;%GetArgument('Entity')%&amp;gt;&quot;|, else=|Entity=&quot;&amp;lt;%GetArgument('Detail')%&amp;gt;&quot;, Detail=&quot;&amp;lt;%GetArgument('Entity')%&amp;gt;&quot;|)%&amp;gt;)%&amp;gt;
    &amp;lt;optgroup label=&quot;CUSTOM&quot;&amp;gt;
    &amp;lt;option id='customOwner' value=&quot;K_USER&quot; data-table=&quot;&amp;lt;%Delay(1)%&amp;gt;OnArgument(ArgValue='&amp;lt;%Onargument(&quot;Detail&quot;, then=|&amp;lt;%GetArgument('Entity')%&amp;gt;|, else=|&amp;lt;%GetArgument('Detail')%&amp;gt;|)%&amp;gt;', condition='case', Cont='CONTACTS', Comp='COMPANIES', Publ='PUBLICATIONS', Acti='ACTIONS', Task='ACTIONS', Proj='PROJECTS', Docu='DOCUMENTS', Mail='MAILS', Case='CASES',  Oppo='OPPORTUNITIES', Prof='PROFILES', Quer='QUERYVIEWS', Repo='REPORTS', Prod='PRODUCTS', Objv='OBJECTIVES' else='EntiteNonPrevue')%&amp;gt;&quot;&amp;gt;Owner&amp;lt;/option&amp;gt;
&amp;lt;/select&amp;gt;

&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
    // Add users allowed to change Owners in the Array
    var allowedUsers = Array(1,2,3);

    if (allowedUsers.indexOf(&amp;lt;%GetUserKey%&amp;gt;) == -1){
        $('#customOwner').remove();
    }
&amp;lt;/script&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This works, but I'm obliged here to manage the access rights in JavaScript, which I dislike (even if the update is managed by efficy, so unauthorized users that will eventually see the fields won't be able to update the records if they don't have the rights in Efficy).&lt;/p&gt;

&lt;p&gt;How to do it in the Macros? Am I obliged to override js/misc/massupdate.js to verify the owner, and eventually change the call if the owner is authorized? like :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;dialog?_macrofile=MacroGridTools.txt&amp;amp;_macro=MUShowFieldList&amp;amp;entity={entity}&amp;amp;authorized=True
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So after that I can do an OnArgument on MacroGridtoolsCustom.txt ? Is there a way to manage access rights in Macros (like OnUserKey or something)? Or can I send a parameters to the macro MUShowFieldList using an other method?&lt;/p&gt;

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

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=553/mass-update-being-able-to-change-the-owner</guid>
<pubDate>Fri, 24 Jul 2015 11:31:33 +0000</pubDate>
</item>
</channel>
</rss>