AnsweredAssumed Answered

Velocity Script: Populating token output from a query string

Question asked by Jason Santo on Oct 28, 2019
Latest reply on Oct 28, 2019 by Jason Santo

Hi,


Very new to Velocity and have spent some time reading up on syntax, but I cannot seem to figure out something which seems simple: getting the ID query string out of a url formatted like this:

 

http://my.niftyurl.com/sub/company/blahblah.php?id=0000011&ST=QRS

 

The url is being pulled from a lead custom field (lead.rNSLink) and I'm successfully grabbing that. But I cannot figure out what to do with it to get the ID. I've tried things like "getParameter" and other Java functions, but nothing seems to quite fit the bill.


Help would be beyond appreciated.

 

Regards,

 

Jason

Outcomes