Discussion:
Summary Size (URL Link)
Robert White
2012-11-23 14:21:09 UTC
Permalink
Robert White [http://community.zenoss.org/people/APSU_RW] created the discussion

"Summary Size (URL Link)"

To view the discussion, visit: http://community.zenoss.org/message/70125#70125

--------------------------------------------------------------
Hi,

I'm trying to add URL links into the summary of events, so that a user can from the events view click a Link and be shown a related page.

I've done this by modifying the summary as so:

evt.summary = '<a href="http://webpage/{0}/{1}" target="_blank">(C)<a/> {2}'.format(evt.DeviceGroups[2:5], evt.component, evt.summary)

however the <a /> counts towards the char count so I've ended up with some messages looking like only

(C) (http://link) {P

I was wondering if there was either:
* An easy way to extend the summary field length
* A better way of adding this to the events view

Currently I've done this by using messages instead of the summary but it would be cool to have it straight from the main page instead.

Thanks in Advance,
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70125#70125]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...