Google Sheet Preview: is there any way?

I found a couple of old (nearly 10 years?) topics about Google Sheets previews, or lack thereof. Is there any way to have that work today?

Here’s why I’m asking.

In our community, we track important information in a Google Sheet. On Facebook, the preview of the linked spreadsheet in the post is actually a snapshot of the current state of the spreadsheet. It’s super practical because we don’t even necessarily have to open it if the colour-coding in the spreadsheet gives us enough information (it is often the case).

Here’s a screenshot of a typical post, to show you what I mean:

The multi-coloured cells give us an overview of the situation at a glance, without having to go and click on the Google Sheet (unless we want to view more detail).

Would there be any way to achieve this kind of “embedding” without Discourse topics?

On Google docs desktop, go to file → share, then publish → embed.

You can then paste the generated iframe into Discourse.

You must add the Google docs domain to the allowed iframe URLs in Discourse admin.

The result looks like this:

The window remains small so it’s not very practical…

4 Likes

Thanks! Definitely looks like it would do the trick. Do you know if there is any way of doing this on mobile too? I’d guess at least half of our members are « mobile only » :fearful:

1 Like