<?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>Rest v10 metadata API</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/799/rest-v10-metadata-api</link><description>Rest v10 metadata API does not show the label names ? however the v4&amp;#39;s get_module_fields method pulls in the label information. http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.7/Integration/Web_Services/v1_-_v4.1/E… Is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Rest v10 metadata API</title><link>https://sugarclub.sugarcrm.com/thread/17986?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2016 03:06:39 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:4b3f7126-e5bb-4fd8-8f21-7fe891aad249</guid><dc:creator>Divya Priya Rajendran</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I found solution for this. We have to call the API: /lang/:lang . This returns the Display labels&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rest v10 metadata API</title><link>https://sugarclub.sugarcrm.com/thread/17985?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 20:12:10 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:ed713495-5ff8-4e6c-b3eb-d0430bb57ab1</guid><dc:creator>Divya Priya Rajendran</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Thank you for taking the time. The metadata api gives more info about sugarcrm&amp;#39;s database. But I want information regarding the layout. For instance in v4 endpoint, we have the get_module_fields(). The following link says this api has been succeeded by a new version. where is the new version ?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.7/Integration/Web_Services/v1_-_v4.1/Examples/REST/PHP/Retrieving_a_List_of_Fields_From_a_Module/" rel="nofollow" target="_blank"&gt;http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.7/Integration/Web_Services/v1_-_v4.1/E&amp;hellip;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you for your help.&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Divya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rest v10 metadata API</title><link>https://sugarclub.sugarcrm.com/thread/17984?ContentTypeID=1</link><pubDate>Sat, 12 Nov 2016 19:11:13 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:45d290e8-dd1e-48af-bd7c-33fb8e99c491</guid><dc:creator>Cesar Obed Gonzalez N.</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://sugarclub.sugarcrm.com/members/mfsupport"&gt;Divya Priya Rajendran&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In V10 you can request for the metadata and filter the result by the module name, if you are using PHP see this link&amp;nbsp;&lt;a href="https://community.sugarcrm.com/thread/29504-get-all-fields-of-a-module?commentID=88332#comment-88342"&gt;https://community.sugarcrm.com/message/88332-re-get-all-fields-of-a-module?commentID=88332#comment-88342&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you need to do it on sidecar use this:&lt;/p&gt;&lt;p&gt;app.api.call(&amp;#39;read&amp;#39;,&amp;#39;/rest/v10/metadata?type_filter=modules,fields&amp;amp;module_filter=Accounts&amp;#39;);&lt;/p&gt;&lt;p&gt;to test the line above, go to sugar, open the chrome developer tools and in the console put:&lt;/p&gt;&lt;p&gt;var tt = App.api.call(&amp;#39;read&amp;#39;,&amp;#39;/rest/v10/metadata?type_filter=modules,fields&amp;amp;module_filter=Accounts&amp;#39;);&lt;/p&gt;&lt;p&gt;tt.xhr.success(function(res){console.log(res.modules.Accounts.fields.name);})&lt;/p&gt;&lt;p&gt;You get a response like:&lt;/p&gt;&lt;ol class="" style="font-size:11px;"&gt;&lt;li class=""&gt;&lt;span&gt;Object&lt;span class="" style="color:white;background-color:#b3cbf7;font-size:9px;margin:0px 6px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol class="" style="padding-left:12px;"&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;audited&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#1c00cf;"&gt;true&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;calculated&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#1c00cf;"&gt;false&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;comment&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;Name of the Company&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;comments&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;Name of the Company&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;dbType&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;varchar&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;duplicate_merge&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;enabled&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;duplicate_merge_dom_value&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;duplicate_on_record_copy&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;always&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span class="" style="color:#881391;"&gt;full_text_search&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:inherit;"&gt;Object&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;importable&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;required&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;len&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#1c00cf;"&gt;150&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;massupdate&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#1c00cf;"&gt;false&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;merge_filter&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;disabled&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;name&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;name&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;required&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#1c00cf;"&gt;true&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;type&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;name&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;unified_search&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#1c00cf;"&gt;true&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="" style="color:#881391;"&gt;vname&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:#c41a16;"&gt;&amp;quot;LBL_NAME&amp;quot;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span class="" style="color:#881391;"&gt;__proto__&lt;/span&gt;&lt;span class="" style="padding-right:5px;"&gt;:&lt;/span&gt;&lt;span class="" style="color:inherit;"&gt;Object&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;In the vname key it&amp;#39;s the label name&lt;/p&gt;&lt;p&gt;Hope this help&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Rest v10 metadata API</title><link>https://sugarclub.sugarcrm.com/thread/17983?ContentTypeID=1</link><pubDate>Sat, 12 Nov 2016 08:30:37 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:c0324131-9e43-45c9-b2ea-742a89f57967</guid><dc:creator>Offshore Evolution</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Can you try custom api and get field label?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>