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

Annotations bar not visible in Content Preview(Box-ui-elements)

New post

Comments

7 comments

  • Official comment
    Alex Novotny

    Hello, 

    This might be happening due to the limited access app restrictions. Have you tried making a regular custom app instead? 

    Thanks, 

    Alex, Box Developer Advocate

    Comment actions Permalink
  • Venkatakrishnan J

    Yep, thanks, I just noticed the limited access app had restricted scopes. I'll try creating a custom app.

    Regards,

    Venkat

    0
    Comment actions Permalink
  • Ayush Jain

    i am using custom app using 16.0.0 version of box-ui-elements but annotations are not working are they supported in box-ui-elements ?

    0
    Comment actions Permalink
  • Alex Novotny

    My peer Rui actually just wrote a blog on this topic! https://medium.com/box-developer-blog/how-to-use-annotations-in-box-ui-previewer-b0b6b5ae47e4

    0
    Comment actions Permalink
  • Ayush Jain

    i saw it but he used js not react i am facing issue with box-ui-elemnets react, can you help me looking into it why its not working...

    0
    Comment actions Permalink
  • Rui Barbosa

    Hi Ayush,

    There is another example using REACT on this article, and I've just updated it to include a preview with annotations.

    Check out the GitHub repo.

    Please note that I'm using a really old version of node and the dependencies are messy.

    Also make sure you update the hard coded and invalid token with a fresh one from your app console in the app.js file.

    The file to preview is also hard coded so make sure you upload a file and use you own file id in the app.js file.

    Hope this helps, cheers.

    Here is a screen shot:

    0
    Comment actions Permalink
  • Ayush Jain

    I have used the same example, the only thing what I was missing was that I was not using box-annotation library, thankyou for your help, i am also stuck in one more thing that is i am getting http error while working on sign request using prepare url

    0
    Comment actions Permalink

Please sign in to leave a comment.