<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.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>3 Tips for using the Sugar Metadata API</title><link>/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><description>What is the Sugar Metadata API?As you probably know, Sugar metadata encompasses the settings, data model ( Vardefs ), and visual layouts ( Viewdefs ) used by the Sugar application. The majority of changes made to Sugar using Sugar Studio, Module Builder</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: 3 Tips for using the Sugar Metadata API</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><pubDate>Mon, 16 Sep 2019 09:40:26 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:db3cc240-f462-4ced-9f44-c48ffe0077ad</guid><dc:creator>Antonio Fernandez</dc:creator><slash:comments>0</slash:comments><description>
&lt;p&gt;Hello Matt, great article!!&lt;/p&gt;&lt;p&gt;There are any way to get the Module Type (i mean: Basic, Person, Bug...), and if this module is importable or not, and if this module have team security enabled?&lt;/p&gt;&lt;p&gt;And finally, there are any way to know which module is custom? i can&amp;#39;t find any property like &amp;quot;isCustom&amp;quot;: true or something like that with this request:&lt;/p&gt;&lt;p&gt;{{url}}/rest/v11/metadata?type_filter=modules&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;Best regards&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=845&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: 3 Tips for using the Sugar Metadata API</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><pubDate>Wed, 21 Aug 2019 06:42:53 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:db3cc240-f462-4ced-9f44-c48ffe0077ad</guid><dc:creator>Javier Tor&amp;#243;n</dc:creator><slash:comments>1</slash:comments><description>
&lt;p&gt;Hi Matt, according with your introduction: &amp;quot;How can I know what are the allowed values are valid for a Sugar dropdown field?&amp;quot; I&amp;#39;m trying to work with this endpoint to get dropdown values of enum and multienum fields, but i can&amp;#39;t find it through get requests.&lt;/p&gt;&lt;p&gt;Could i get dropdown lists information as dropdown values, using this endpoint?&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=845&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: 3 Tips for using the Sugar Metadata API</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><pubDate>Fri, 02 Aug 2019 11:25:28 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:db3cc240-f462-4ced-9f44-c48ffe0077ad</guid><dc:creator>Chin Ogba</dc:creator><slash:comments>1</slash:comments><description>
&lt;p&gt;I know this article is old, but it&amp;#39;s really helpful.&amp;nbsp; Is there a list of all the type_filter options available somewhere?&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=845&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: 3 Tips for using the Sugar Metadata API</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><pubDate>Mon, 06 May 2019 10:14:26 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:db3cc240-f462-4ced-9f44-c48ffe0077ad</guid><dc:creator>Pratik Harshad</dc:creator><slash:comments>0</slash:comments><description>
&lt;p&gt;Nice article Matt.&lt;br /&gt;Thanks for sharing with us.&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=845&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: 3 Tips for using the Sugar Metadata API</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><pubDate>Tue, 05 Feb 2019 10:04:08 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:db3cc240-f462-4ced-9f44-c48ffe0077ad</guid><dc:creator>sajeesh c</dc:creator><slash:comments>1</slash:comments><description>
&lt;p&gt;Nice article.&lt;/p&gt;&lt;p&gt;Is there any technique to get selected fields only?&lt;/p&gt;&lt;p&gt;From above, the REST api &lt;span style="font-style:normal;font-weight:normal;text-align:left;text-indent:0px;float:none;"&gt;/rest/v10/metadata?type_filter=modules&amp;amp;module_filter=Accounts&lt;/span&gt; for getting all available fields under fields &amp;quot;section&amp;quot; in response object. Is it possible to get selected fields only?&amp;nbsp;&lt;/p&gt;&lt;p&gt;For example, I want to retrieve &amp;quot;id&amp;quot; and &amp;quot;name&amp;quot; only in fields response object. For this, how can we write custom metadata function?&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=845&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: 3 Tips for using the Sugar Metadata API</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><pubDate>Wed, 07 Mar 2018 10:25:28 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:db3cc240-f462-4ced-9f44-c48ffe0077ad</guid><dc:creator>Richard Coleman</dc:creator><slash:comments>1</slash:comments><description>
&lt;p&gt;Nice article Matt!&lt;/p&gt;&lt;p&gt;Just a couple quick questions I was wondering after reading:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Would this work for custom views? In other words, if I created the file custom/modules/Accounts/clients/base/views/myview/myview.php, would the API return that as well, if I specified it?&lt;/li&gt;&lt;li&gt;Would it need to be structured in a certain way in order for the object to be identified by the API? If so, would I need to hook it into the MetadataManager class or something similar?&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Richard&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=845&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: 3 Tips for using the Sugar Metadata API</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/3-tips-for-using-the-sugar-metadata-api</link><pubDate>Mon, 05 Mar 2018 14:24:35 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:db3cc240-f462-4ced-9f44-c48ffe0077ad</guid><dc:creator>Prashant Patel</dc:creator><slash:comments>0</slash:comments><description>
&lt;p&gt;Hello Matt,&lt;br /&gt;&lt;br /&gt;nice and useful article. Thank you so much for sharing with us.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Prashant&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=845&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>