9 Replies Latest reply on Jan 10, 2011 8:11 AM by Jeff Goldberg

    Dynamically resizing iframe for embedded view via trusted authentication

    . jgoldberg

      That subject was a real mouthful!


      We're using trusted authentication to embed views in an iframe in our portal.

      The problem is that different views have different heights, so a hard-coded iframe height doesn't always look good (it ends up with unnecessary scrollbars).


      I've got some javascript that has the parent page check the height of the iframe contents and resize the frame automatically. However, that javascript doesn't work when the contents of the iframe is on a different domain (or different port), which is the case since it's hitting the reporting server instead of the portal server.


      I have been struggling to come up with an alternative.


      Has anyone dealt with this issue before? Is there any way to ask the Tableau server the height of a particular view?


      Thanks for any help,