<div dir="ltr">GetRecordIdsFromRequest   if you need to get the IDS on the server side. Otherwise add an ajax call to call an action which call the mentioned function and return back the Ids as JSON?!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 18, 2020 at 2:01 PM Sukhdev Mohan <<a href="mailto:s.mohan@myti.it">s.mohan@myti.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Alan,<div>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>[[[dbcolumn, operator, value]]] </div><div><br></div><div>There is also the view name key which is the id in vtiger_customview</div><div><br></div><div>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><br></div><div>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><br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Best Regards,<br>Sukhdev Mohan<br>———————————</div><div>Cel. (+39) 320 7020345<br><a href="mailto:s.mohan@myti.it" target="_blank">Email s.mohan@myti.it</a></div><div><br></div></div><br><br>
</div>
<div><br><blockquote type="cite"><div>Il giorno 18 giu 2020, alle ore 10:17, Alan Lord <<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>> ha scritto:</div><br><div><div><br><br>On 17/06/2020 23:54, Sukhdev Mohan wrote:<br><blockquote type="cite">Upping this<br><blockquote type="cite"><br>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></blockquote></blockquote><br>I don;t actually properly understand your main question (maybe try re-phrasing it?).<br><br>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><br>Also checkout the Vtiger_Mass_Action class and the getRecordsListFromRequest() method :-)<br><br>HTH<br><br>Al<br>_______________________________________________<br><a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></div></div></blockquote></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>