How to enable a custom dashlet for a custom module?

Hello, we have a Sugar customer who wants to enable one of our custom dashlets for a custom module in their Sugar instance.

They installed our Fanatically Zen integration (integrates Zendesk and Sugar) which comes with a Zendesk Ticket Dashlet. When viewing a Contact, you're able to see the related Zendesk Tickets in a custom Sugar dashlet. 

In our dashlet metadata, we define the modules our dashlet can be used in (Contacts, Accounts, Opportunities, Leads, Prospects). 

What's the best way to add the customer's custom module to that list?

Is there a Sugar dashlet extension (something in the Ext framework) that could be used to append data to the filter module metadata?

Or would we need to ship a custom package of our integration that includes their custom module in the filter?

Thanks!

Parents Reply
  • Nice one Chad. And actually you aren't actually creating any additional directories here or causing anything to create the module simply adding the module to the array shouldn't have any impact if the module doesn't exist. I was thinking of adding dynamic by doing a check if the module is in the $moduleList parameter the.

    Something like this. Again not sure if that will work though.

    if ($has_module) {

    $viewdefarray1

    }

    else {

    $viewdefarray2

    }

Children