eric at eric at
Tue Nov 21 19:08:06 EST 2017

Ok, but how do I use this in index_parameters.yml to display it in the device list?


From: Users [mailto:users-bounces at] On Behalf Of Dan Morphis
Sent: Tuesday, November 21, 2017 6:01 PM
To: Community support for GenieACS users <users at>
Subject: Re: parameter_renderer



VirtualParameters.pppoeUsername: username_link


When the GUI renders that vParam, it will call the function named 'username_link'



def username_link(val)

  username = val.sub(/\@broadband/, '')

  if username != 'UNKNOWN'

    "<a href=\"#{Rails.configuration.dashboard_base_url}/Broadband/Customer/Account/#{username}\" target=\"_blank\">#{username}</a>"




This turns the username into a clickable URL that links to our subscriber management software



On Tue, Nov 21, 2017 at 1:53 PM, <eric at <mailto:eric at> > wrote:

I am trying to get a handle on how to use the parameter_renderer.yml, using the sample with the uptime.  I see how the script and everything works, however, I have not found how to use it in my parameters.json to display in Index or summary?  Any help is greatly appreciated.

Users mailing list
Users at <mailto:Users at>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Users mailing list