For Portal 1.2.0, we added a setting that will allow you to embed Portal content in another web page by turning off the anti-clickjacking security setting. This is published as a known issue in the release notes:
• 260502 Embeddable dashboards are disabled by default. Workaround: set allow_embeddable_dashboards to true in serverSettings.properties.
You might be running into that. Search for serverSettings.properties in your Portal install directory, backup the file and set the property as mentioned above. Then restart the SCPortal service.
GIve that a try. Hope that helps.
Thanks Koundinya, I hadn't thought to check that, and would have run into that next. I've tested this anyway and still have the same result.
If I hit the steelscript server directly with the URL embedded in the IFrame, I still get a JS exception which leads me to suspect there is a problem in the rvbd-report.js, rvbd-yui3.js, or rvbd-widget.js somewhere. I'll do some more digging and report back if I find the root cause/fix.
Adding thervbd-c3.js library to /home/vagrant/virtualenv/lib/python2.7/site-packages/steelscript/appfwk/apps/report/templates/widget.html resolved the issue.
(virtualenv) [vagrant@steelscript templates]$ diff widget.html widget.html.old