Welcome to the new Box Support website. Check out all the details here on what’s changed.

Document Preview Events

Answered
New post

Comments

5 comments

  • tonyjin

    Hey - thanks for the report. We had a documentation error; the event you're looking for is `pagerender` not `pagerendered`. I've updated the documentation to reflect this fix.

     

    Here's an example of the event in action: https://codepen.io/box-platform/pen/owVMVy

    0
    Comment actions Permalink
  • tonyjin

    I got an email notification that the 'pagerender' event didn't work for you, but I don't see that post anymore. Just wanted to check that it ended up working out!

    0
    Comment actions Permalink
  • fpxdevs

    Yup, I removed the subsequent post, because the 'pagerender' event did eventually work.  There must have been a cached Javascript issue.  Thanks!

    0
    Comment actions Permalink
  • akfarrell

    I just thought I'd put in a quick reminder that those docs are still incorrect -- at least, this one is: 

     

      https://developer.box.com/docs/file-types-events

     

    I'm glad I found this on the forum! 

    0
    Comment actions Permalink
  • Jason

     Thanks for the heads up! *Now* it should be good 🙂 Double checked it this time! You're a rockstar!

     

    https://developer.box.com/docs/file-types-events

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.