<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Alan,<div class="">I need to get the ids selected from the user when they click “select all” instead of selecting the items one by one. I need to know this in case they had filtered by some parameters and even if they didn’t . I know that when you filter in the url there is set the “search_params” key which is usually in this form:</div><div class="">[[[dbcolumn, operator, value]]] </div><div class=""><br class=""></div><div class="">There is also the view name key which is the id in vtiger_customview</div><div class=""><br class=""></div><div class="">So My question is how do I mimic the tiger core functionality to present data when searched for some value in some columns?</div><div class=""><br class=""></div><div class="">Secondly I noticed that apart from the URL keys, vtiger stores them also in the session. So I was wondering which should I look for? It seems that Request object also tries to interrogate the session.</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best Regards,<br class="">Sukhdev Mohan<br class="">———————————</div><div>Cel. (+39) 320 7020345<br class=""><a href="mailto:s.mohan@myti.it" class="">Email s.mohan@myti.it</a></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Il giorno 18 giu 2020, alle ore 10:17, Alan Lord <<a href="mailto:alanslists@gmail.com" class="">alanslists@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class="">On 17/06/2020 23:54, Sukhdev Mohan wrote:<br class=""><blockquote type="cite" class="">Upping this<br class=""><blockquote type="cite" class=""><br class="">Question number 2: do you know if it's the query sent in get (appended to uri) to command or it's the array set in the session?<br class=""></blockquote></blockquote><br class="">I don;t actually properly understand your main question (maybe try re-phrasing it?).<br class=""><br class="">But to answer to #2 simply turn on the Javascript console in your browser and examine the contents of the relevant POST or GET request.<br class=""><br class="">Also checkout the Vtiger_Mass_Action class and the getRecordsListFromRequest() method :-)<br class=""><br class="">HTH<br class=""><br class="">Al<br class="">_______________________________________________<br class=""><a href="http://www.vtiger.com/" class="">http://www.vtiger.com/</a><br class=""></div></div></blockquote></div><br class=""></div></body></html>