Passing parameters from a calendar popup to a Page Include (which row number?)

So I have a popup on the calendar view and I want to pass parameters from inside a tab to a page include component.

I’m passing the following parameter from the popup with the page include:


Everything works, except that it displays data for row 0. How do I specify the row of the popup?

Pass in another value to the page include Query String then use it in the model of the page in the page include.

Why not only set the ApptID to the page include page? That way you can use it to reference the AccountID using a field from the Appointment model. So just:

Brilliant! I was over complicating the problem. I passed the parameter to a new model on the Skuid page and then filter the Appointments model based on that criteria.

Thanks Pat!

Thanks go to Rob. He cleared it up for me today.

Oops. I spoke too soon. I thought it worked because I have limited test data in my org.

It’s still returning the 1st row every time, instead of the row selected row. Does that make sense?

Ok. Why are you using {{$}} VS just {{Id}}?
{{Id}} would be appropriate if you’re using a row action in a table.
Where are you calling the popup action from? As in, which model and row are you calling it from?

To break down this line “{{$}}” for you…
“$Model” refers to the list of models
“Appointment” refers tot the model named Appointment
“data” refers to the data contained within the model
“0” is the first element of the array of data in the model, So 0 always refers to the first row
“Id” is the Id field for the row at element 0
What you want, is the row in context, so that when a user clicks on a row they will pass in the Id of that row. I believe that Pat’s suggestion will work because {{Id}} will get you the row in context by default. You might have to manually specify it though.

Check out this link:

Derka durr - it was working because I used {{id}} instead of {{Id}}

Thanks dudes!

Derka durr???

Lol! I’ve done that so many times. Missed just the one character. Spent hours once on the extra r in Currrent. 

Derka Durr - Obscure South Park reference (
Thanks for the help :slight_smile:

You guys are the best! I’m totally incorporating Derka Durr into my vocabulary - which previously just consisted of “Doh”  and “Epic Fail”…