Link to a New Task from Cutstom Object Page

  • 1
  • Problem
  • Updated 3 years ago
I have a skuid custom page for a custom object (Loan). I have various links to create a new Task or event. I want to pass in the Loan.Id as what_id for the event as a part of the URL. I have tried various syntax, but none of them seem to work:

 /00T/e?title=Call%3A%20&what_id={{$Model.Loan.data.Id}}
 /00T/e?title=Call%3A%20&what_id=what_id={{$Model.Loan.data.0.Id15}}

What is the correct syntax for getting the id from a mode? 

I had used the following (convoluted) snippet in the past but it doesn't seem to work any more:

/00T/e?title=Call&what_id={{#$Model.Loan.data}}{{Id15}}{{/$Model.Loan.data}}
Photo of Jae Cho

Jae Cho

  • 80 Points 75 badge 2x thumb

Posted 3 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Depends on how you're using to create new Loans. Are you using standard functionality? If so, see the below screenshot as instructions.



Otherwise, then you'd be using a skuid page. Lemeno.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Jae. For at least one release of Banzai the ID15 value was not being populated.  Make sure you are on the most recent version of Skuid.  You probably do need to pass the 15 character ID into the task.  
Photo of Jae Cho

Jae Cho

  • 80 Points 75 badge 2x thumb
Thank you. I updated Skuid and updated the ID and it works now!