I would like to use the $models object while hacking javascript in the Google Chrome Console .
For example, I would like a 1 line sample of how to get the $models object and then be able to : $models.getItem("tcm:1-42")
I would like to use the $models object while hacking javascript in the Google Chrome Console .
For example, I would like a 1 line sample of how to get the $models object and then be able to : $models.getItem("tcm:1-42")
You need to ensure that you have first selected the correct frame in the console. It defaults to 'top frame' but you'll want to choose e.g. Dashboard.aspx. You'll know it's the right one when it helps you with code completion :)