Skip to main content

Having a problem with the arguments passed to my snippet from a Page Title component.


var model = arguments[0].model, row = arguments[0].row;



I’m getting model, but row comes back undefined, even though there is a row of data in the model (model.datat0] exists). Any idea why this might be happening?

Is model.datat0] equivalent to a row object? In that case, I could just use


var model = argumentst0].model, row = model.datat0];

Update: using row = model.data[0] works, so this is now less of a problem and more of a matter for curiosity.


I believe that row = argumentss0].row is only available when the snippet has a row in context. ie. a row action, model action “Row in Model updated”, etc


That’s that I would have expected, too, Pat. But I’ve been successfully using argumentse0].row on page title components. Suddenly, when I throw a copy of the pagetitle into a popup, row is undefined (with or without context conditions on the pagetitle component). Seems strange.

Maybe the bug is that it shouldn’t work in general. 😉


I’m assuming that argumentst0].row is only undefined when the Page Title is in a Popup? Is that true?


That seems to be the case.


Reply