a!recordLink or a!urlForRecord with parameters for Record Views?

Hi All,

I have an interesting use case where the client wishes to open a 'Task' within a 'Case'.

For Context, we have a design where our Case has a one-to-many relationship with Tasks.

We have a 'Tasks' View on the Case record which has a selectable a!gridField where the end user can select a Task from the grid. This populates a Task screen below with data and record actions for the selected Task.

The client would like to navigate to the Case record -> Tasks View via both the a!recordLink() and a!urlForRecord() with the Task already pre-selected in the UI.

The client is not willing to have the link navigate to a Task Record as they find it confusing and do not want the User to leave the top level Case Record.

Is there any workaround I can use or is linking to a Task Record directly the only option available?

Many Thanks for your time,

Zac

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to zacc0002

    Hi  ,

    I have a question here. From where the user clicks the task. Is it from a separate Tasks gridfield and not inside the record? If this is the case you want to land the user in the tasks view of the case record with the selected Task pre-populated? ---> So if this is your requirement, we can't pass values to the record view in order to display the task pre-populated.

    Or please add more information.

Children