How to detect content height when embedding a Smartsheet through an iframe

Hi, I'm implementing a custom CMS solution for allowing a client to embed Smartsheet pages into their software, the custom solution will show a textbox where the user will enter the Smartsheet URL and it will be embed in the page using an iframe.

I have a few doubts for which I haven't found answers in the API documentation:

1- Is it possible to know the embed content height so the iframe height can be adjusted to it? maybe using the HTML postMessage / listener as other systems do or in another way?

2- Are there any ways to retrieve specific data from the iframe or to instruct some elements to be hidden other than passing formatting options as described in the API here? https://smartsheet.redoc.ly/#section/API-Basics/Formatting

Tags:

Answers