AnsweredAssumed Answered

Link field in dashlet to relate it with a filter

Question asked by Sergio Najera on Mar 14, 2017
Latest reply on Apr 10, 2017 by Sergio Najera


I have a ListView Dashlet in Product Catalog (Template) module. I also have a filter who search the accounts.

I want to relate an account from the dashlet to the filter.

1) My first option is: when a user click in an account from the dashlet the account should appear in the filter. 

2) My second option is a function that has a href that links to the DetailView of the Account, I mean, once you click an Account from the dashlet you should be in the DetailView of the Account. The code is:


function fill_in_additional_list_fields()

 $this->name = '<a href="index.php?module=Accounts&action=DetailView&record=' . $this->id . '">' . $this->name . '</a>';

This function is in .\modules\Accounts\Dashlets\MyAccountsDashlet

The function is not working properly. Any idea?