Pass contact Id into new task page include

  • 1
  • Question
  • Updated 3 years ago
  • In Progress
As a user I want to be able to create a new task from a contact page in a page include, and for the Name (WhoId) to be populated with the contact Id.

I don't understand how to pass through the Contact Id, and populate the WhoId field.

See my screenshots below for what has been attempted to far, seniorcontactsview is my contact page, and task_page_create is my page include for new task record.
Photo of Glenn Daly

Glenn Daly

  • 1,848 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 18,316 Points 10k badge 2x thumb
Looks right to me... you could try WhoId= {{$}}.
Also try changing the param name from WhoId to something else.
Photo of Janick


  • 916 Points 500 badge 2x thumb
Could you try removing the field condition and changing the model condition to "WhoId = (param) WhoId"?
The ID field on Tasks is readonly and cannot be populated.

let me know if that helped,