<?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>How to get the id of a dashlet (not dashboard) in the dashlet controller .js file?</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/5813/how-to-get-the-id-of-a-dashlet-not-dashboard-in-the-dashlet-controller-js-file</link><description>I am accessing this.model.attributes and it returns 
 
 
 
 
 {
 &amp;quot;id&amp;quot;: &amp;quot;suihio-32b3-432jk4-43n&amp;quot; // This is the Dashboard id
 &amp;quot;dashboard_name&amp;quot;: &amp;quot;Test Dashboard&amp;quot;,
 &amp;quot;metadata&amp;quot;: {
 &amp;quot;dashlets&amp;quot;: [
 {&amp;quot;id&amp;quot;: &amp;quot;23434-34234f-34ffkke-jnsd&amp;quot;, &amp;quot;name&amp;quot;: &amp;quot;Test dashlet 1</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator></channel></rss>