[rt-users] Using "__CurrentUser__" in a Custom Field "LinkValuesTo"

Kevin Falcone falcone at bestpractical.com
Tue Jun 21 10:19:16 EDT 2011


On Tue, Jun 21, 2011 at 09:54:06AM -0400, David wrote:
> Hi,
> 
> I am trying to create a custom field that will contain a link with
> something like:
> http://host/script.pl?variable1=__CurrentUser__&variable2=__id__
> 
> This perl script will in return use RT::Client::REST to do far more
> complicated tasks with the data passed to it.
> 
> Now, while __id__ works, I'd like the field to also use
> __CurrentUser__ (as a search would do).
> 
> Is this possible ? I've looked through the documentation, google and
> mailing lists but to no avail.

You'll need to extend _FillInTemplateURL in ObjectCustomFieldValue

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110621/9b54b85c/attachment.sig>


More information about the rt-users mailing list