AnsweredAssumed Answered

Hello world Dashlet not working

Question asked by Anand Chitikela on Dec 6, 2015
Latest reply on Dec 7, 2015 by Anand Chitikela

Hi

 

   I tried creating a hello world dashlet using

Creating a “Hello World” Dashlet for Sugar 7 « Sugar Developer Blog – SugarCRM

 

I have used

 

custom/clients/base/views/helloworld/helloworld.hbs

<p>

Hello World!!!!!!!

</p>

 

 

custom/clients/base/views/helloworld/helloworld.js

({      

    plugins: ['Dashlet']

})

 

 

custom/clients/base/views/helloworld/helloworld.php

<?php

$viewdefs['base']['view']['helloworld'] =array(

    'dashlets' => array(

  array(

            'label' => 'helloworld',

            'description' => 'hellowworldhelloworld',

            'config' => array(

              

            ),

            'preview' => array(

              

            ),

            'filter' => array(

          

 

            )

   ),

  ),

 

 

 

  );

 

I have done a quick repair and rebuild and navigated to list of dashlets which we can add using create.But the dashlet was not showing.

Outcomes