<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Populating dropdown I got max 20 entries whereas I should get more (v7.6.1)</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/546/populating-dropdown-i-got-max-20-entries-whereas-i-should-get-more-v7-6-1</link><description>Hello everyone, The code below populates my dropdown, but if more than 20 elements are expected, only the first 20 elements appears in my dropdown. Someone knows how I can get all of them in my dropdown? Sugar version is 7.6.1. var cpt = 1; var urlc </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Populating dropdown I got max 20 entries whereas I should get more (v7.6.1)</title><link>https://sugarclub.sugarcrm.com/thread/1846?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2016 12:23:52 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:bbc0f5ca-effd-4631-94ff-fe27edd36bd6</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;Every instance of Sugar7 comes with a rest help file built in.&lt;/p&gt;&lt;p&gt;Based on you URL look at localhost/mySugar/&lt;strong&gt;rest/v10/help&lt;/strong&gt; in your browser&lt;/p&gt;&lt;p&gt;FrancescaS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Populating dropdown I got max 20 entries whereas I should get more (v7.6.1)</title><link>https://sugarclub.sugarcrm.com/thread/1845?ContentTypeID=1</link><pubDate>Mon, 27 Jun 2016 09:06:15 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:51fbaaee-4af2-4f44-9e9b-4ed6c9c97e00</guid><dc:creator>gui gui</dc:creator><description>&lt;p&gt;Hello Francesca !&lt;/p&gt;&lt;p&gt;Thank you very much for your answer. That help me much and solve the limit of records ans solved my trouble.&lt;/p&gt;&lt;p&gt;Just one thing in your answer I haven&amp;#39;t understand and I apologize for that. Where can you see max_num = 20 by default? I just can&amp;#39;t find it. &lt;span class="emoticon-inline emoticon_confused" style="height:16px;width:16px;"&gt;&lt;/span&gt; From your answer I checked here &lt;a href="https://developer.sugarcrm.com/2014/02/28/sugarcrm-cookbook1/" rel="nofollow" target="_blank"&gt;https://developer.sugarcrm.com/2014/02/28/sugarcrm-cookbook1/&lt;/a&gt; I can find the info.&lt;/p&gt;&lt;p&gt;And if in my url I do something like this :&lt;/p&gt;&lt;p&gt;localhost/mySugar/rest/v10/myModule =&amp;gt; {&amp;quot;error&amp;quot;:&amp;quot;need_login&amp;quot;,&amp;quot;error_message&amp;quot;:&amp;quot;No valid authentication for user.&amp;quot;}&lt;/p&gt;&lt;p&gt;Mod_rewrite is enabled.&lt;/p&gt;&lt;p&gt;Thanks again Francesca ! &lt;span class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Populating dropdown I got max 20 entries whereas I should get more (v7.6.1)</title><link>https://sugarclub.sugarcrm.com/thread/1844?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2016 18:12:37 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:83261d8a-baff-4fa7-833d-fddb94184df6</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;&lt;span&gt;If you look at &lt;/span&gt;&lt;a href="/external-link.jspa?url=http://" rel="nofollow" target="_blank"&gt;http://&lt;/a&gt;&lt;span&gt;&amp;lt;your sugarcrm url&amp;gt;/rest/v10/help in your browser you will see that GET/&amp;lt;module&amp;gt; has a parameter max_num and the default is 20&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Add max_num to your parameters to increase the limit, as far as I can tell, using -1 will get ALL results.&lt;/p&gt;&lt;p&gt;HTH&lt;/p&gt;&lt;p&gt;FrancescaS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>