AnsweredAssumed Answered

Custom Dashboard in Create View

Question asked by sidhu sidhu on Feb 12, 2016

Hi All

 

     I have created a custom dashboard in my cases module using.

<>/custom/clients/base/views/createList/

createList.hbs

 

<p>

 

Hello World!!!!!!!

 

</p>

 

createList.js

 

 

({

 

plugins: ['Dashlet']

 

 

})

 

 

createList.php

 

<?php

 

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

    'dashlets' => array(

  array(

            'label' => 'Cases Hints',

            'description' => 'Cases Hints',

            'config' => array(

               'limit' => '3',

             

            ),

            'preview' => array(

               'limit' => '3',

             

            ),

             'filter' => array(

                'module' => array(           

                    'Cases',

                ),

                'view' => array('record','create'),

            ),

 

   ),

 

  ),

);

Currently i am working on the cases module.I am able to add the custom dashboard on the record view using the create button on the side pane.

But i am unable to find this button on the create form of the Cases module and i am unable to add it to the create form.

Can any one please suggest me how to add the dashboard to the sidepane of the create form as we do for the record view.

 

 

db.png

Regards

Sidhu

Outcomes