Clickable link in custom field

hi,

is it possible to have a link to a url outside RT without id or
without __ CustomField in a custom field?

If i edit a custom field (CF) I see there is a field ‘Link values’. I
thought I could use that, but as I can see it is for use with id
or CustomField.

Let me explain why I would like this. I am testing the AssetTracker
extension, and as you probably know, lots of devices have a management
web interface (like switches, printers, etc). I would like to have a
clickable CF that would take me to get there from one of the CF. I
know I can do it from one of the ‘links’ but they have names as
’depends on’, ‘refers to’ …, and those are reserverd for other
things inside RT.

Maybe this is just a silly question but I do not see how to do it from the CF.
Groeten,
J.Asenjo

Natxo Asenjo schrieb:

hi,

is it possible to have a link to a url outside RT without id or
without __ CustomField in a custom field?

If i edit a custom field (CF) I see there is a field ‘Link values’. I
thought I could use that, but as I can see it is for use with id
or CustomField.

Let me explain why I would like this. I am testing the AssetTracker
extension, and as you probably know, lots of devices have a management
web interface (like switches, printers, etc). I would like to have a
clickable CF that would take me to get there from one of the CF. I
know I can do it from one of the ‘links’ but they have names as
‘depends on’, ‘refers to’ …, and those are reserverd for other
things inside RT.

Maybe this is just a silly question but I do not see how to do it from the CF.

If you have example.com in the custom field and want to have a link like:
http://example.com/webinterface/

you have to put this in Link values to field:
http://CustomField/webinterface/

Chris

Natxo Asenjo schrieb:

[knip explanation of what I would like to achieve]

If you have example.com in the custom field and want to have a link like:
http://example.com/webinterface/

you have to put this in Link values to field:
http://CustomField/webinterface/

So, I make a CF management_url. Name and description are
management_url, type is ‘enter one value’, applies to ‘assets’, no
validation, Link values is then CustomField and I apply it to the
selected objects.

What I want is in to enter in the CF a url that can be clickable, like
http://ip.addres.of.switch

If I then go to the asset and enter in the CF management_url the value
http://ip.addr.of.switch then it is not clickable. If I enter
http://CustomField then it does make a link but it links to
http://rtinstance.tld/AssetTracker/Asset/http%3A%2F%2F__CustomField__
and that goes nowhere obviously.

Forgive my asking, maybe it is too hot and I do not see the obvious
mistake in front of me. What am I doing wrong here?

TIA,

Natxo

ok, it works now :slight_smile:

in the link of the CF I fill this in: http://CustomField and it works.

Another question: how can I enter a port in the link? Like
http://ip.add.of.device:9100 for a jetdirect printer, for instance. If
I enter in the CF hostname:9100 then it takes me to this url (in
another tab! great stuff): http://hostname%3a9100/ and then it does
not work. I suppose it has to do with html encoding, but do not know
how to fix this. Any clues?

TIA,

Natxo

Yes. You can do all sorts of interesting things with the wiki CF type.

Cambridge Energy Alliance: Save money. Save the planet.

It’s sort of missing feature, you can either patch or workaround it.
For example, you can link back to RT and pass CustomField as
argument, create a simple Redirect.html in local/html and redirect
user to the link passed to this component as argument.On Thu, Jul 2, 2009 at 2:58 PM, Natxo Asenjonatxo.asenjo@gmail.com wrote:

ok, it works now :slight_smile:

in the link of the CF I fill this in: http://CustomField and it works.

Another question: how can I enter a port in the link? Like
http://ip.add.of.device:9100 for a jetdirect printer, for instance. If
I enter in the CF hostname:9100 then it takes me to this url (in
another tab! great stuff): http://hostname%3a9100/ and then it does
not work. I suppose it has to do with html encoding, but do not know
how to fix this. Any clues?

TIA,

Natxo


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.