You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to access parent page viewmodel from widget?

Received Response


The parent page has important attributes in it's root viewmodel. We need to access them from a widget.

Content (required):

The parent page has several values stored in it's $data viewmodel. How can we access them directly from a widget? There doesn't seem to be a widget.parent() or similar way to access the viewmodel via JS like one can using the display template.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!