[rt-users] TicketObj->Id to string for html
Thomas Sibley
trs at bestpractical.com
Mon Mar 12 11:07:45 EDT 2012
On 03/12/2012 10:56 AM, Izz Abdullah wrote:
> I’m trying to grab just the current ticket ID, for a print button above
> the ticket summary on the Display.html screen. I want this so that when
> the user clicks on the print button, it actually prints
>
> /History.html?id=<whatever the ticket ID is>.
>
> Either my Google is broken because I am not finding how to extract the
> last 5 characters of the URL, and / or I am having trouble putting the
> value of $TicketObj->Id as a string value. This is not a scrip, but
> rather a Callback. Any help is greatly appreciated.
You should really show what you're trying, since otherwise no one can
point to where you've gone wrong.
I suspect you just want <% $TicketObj->Id %>
More information about the rt-users
mailing list