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

新規投稿

コメント

7件のコメント

  • 正式なコメント
    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

    コメントアクション パーマリンク
  • Venkatakrishnan J

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

    Regards,

    Venkat

    0
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク
  • 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
    コメントアクション パーマリンク

サインインしてコメントを残してください。