[rt-users] rt-4.0.5 - How to populate a custom field using a web service?
Jim Lesinski
jim.lesinski at gmail.com
Mon Feb 6 11:32:47 EST 2012
There seems to be a lot of confusion about what I am asking. I am sorry if
I am not making myself clear. Please check out the attached image which
shows exactly what I am looking at. Maybe I am interpreting it wrong, but
the field Jeff describes is not the one I am asking about. I am referring
to the field below it called "Include Page" which states:
"RT can include content from another web service when showing this custom
field. Fill in this field with a URL. RT will replace __id__ and
__CustomField__ with the record's id and the custom field's value,
respectively. Some browsers may only load content from the same domain as
your RT server."
This seems to imply to me that the custom field can in fact include values
from a web service. Or does this mean that it can render content in an
iFrame or something? If someone can clarify what that field does I think
that would be all I need.
On Mon, Feb 6, 2012 at 9:10 AM, Jeff Blaine <jblaine at kickflop.net> wrote:
> On Feb 6, 2012, at 7:34 AM, Jim Lesinski<jim.lesinski at gmail.**com<jim.lesinski at gmail.com>
>> >
>> wrote:
>>
>> Hi Joe, that's good information but I am looking to be able to use
>>> the web service to populate the autocomplete values for one
>>> specific RT CustomField within RT. When you are setting up a custom
>>> field the screen even says that you can use a web service to
>>> populate the field's values, but I am not sure how to do that and I
>>> cannot find documentation.
>>>
>>> Thanks, Jim Lesinski
>>>
>>
> Jim,
>
> I believe you've misread the RT CustomField definition screen.
> I've never used this feature before, but I read and interpret
> it as follows:
>
> It says (emphasis mine):
>
> RT can make this *custom field's values into hyperlinks to
> another service*. Fill in this field with a URL. RT will
> replace __id__ and __CustomField__ with the record's id
> and the custom field's value, respectively.
>
> Let's say your CF is "Employee Number".
>
> So, if you set "Link values to" as:
>
> http://service.example.com/**lookup?empnum=__CustomField__<http://service.example.com/lookup?empnum=__CustomField__>
>
> If I typed '430' into this CF as a value (as an end user),
> it would show as a clickable link:
>
> http://service.example.com/**lookup?empnum=430<http://service.example.com/lookup?empnum=430>
>
> Jeff Blaine
> --------
> RT Training Sessions (http://bestpractical.com/**services/training.html<http://bestpractical.com/services/training.html>
> )
> * Boston March 5 & 6, 2012
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120206/6cabc3e6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 300_WebService.jpg
Type: image/jpeg
Size: 42503 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120206/6cabc3e6/attachment.jpg>
More information about the rt-users
mailing list