Shareable preview: Get a direct link to a page preview and send it to anyone

Written by Renaud in Writing Room on June 27,2018

What happened: Shareable preview are live for everyone

After some beta testing (a big thank you goes to everyone who contributed to it), shareable previews are live.

This feature addresses one very common and simple need: to send a preview of a page to teammates before publishing it.

How it works

  1. Open a preview of the document
  2. Get a shareable link
  3. Send it to all the nice people on the team

See detailed setup instructions in this guide →

What's good about it

You don't need to have a Prismic account to see the previews

The link will work for everyone, so you can share the previews with anyone on the team — doesn't matter if they have a Prismic account or not.

Before, up until today, your only option – when it came to sharing previews– was to send a link to a document in Prismic. The other person would need to be logged in, and they would have to launch a preview themselves. Not too convenient. Now you get a direct link to the page that works for both Prismic and non-Prismic users.

The preview page will reload automatically when you edit the document

This is very handy so that you don't have to reload the page 100 times after fixing 100 typos.

🔥 One very important detail 🔥

Developers — please make sure that you're using the right version of the script

Namely, this one:

<script>  
window.prismic = {
    endpoint: 'https://<your-repo-name>.prismic.io/api/v2'
  };
</script>
<script type="text/javascript" src="//static.cdn.prismic.io/prismic.min.js"></script>

And not the one called prismic-toolbar installed via npm a while ago.

Rule of thumb: the preview toolbar should appear in the bottom left corner. If it's in the right corner, you're using the wrong version.

See detailed setup instructions in this guide →

We hope this will simplify the way content teams work together, and the way Prismic reflects editorial workflows.

Renaud Bressand

Renaud focuses on user experience and onboarding prismic.io users. He also helps out with support and even occasionally codes in scala. A real Swiss army knife! A retired footballer, he is passionate about good food.