Hello world Dashlet not working

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.

Parents
  • Hi Anand Chitikela,

         It should work that you tried.I tried your code,it is working for me(It was in last dashlet the in list of dashlet).Given permission for sugar instance after repair and rebuild?.If not, give permission and check.

    Thanks!.

  • Hi Ajay

        I have full permisions for my sugarcrm instance.

Reply Children