新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

ContentPreview - specify version

新規投稿

コメント

2件のコメント

  • Jason Hada

    I was close, the answer is 

     const fileOptions = {
            [selectedDocument.boxFileId]: { fileVersionId: version?.boxVersionId },
          };
          render(
            <ContentPreview          
              hasHeader
              fileId={selectedDocument.boxFileId}
              fileOptions={fileOptions}
              token={token}
              language={language}
              messages={messages}
            />,
            container
          );
    0
    コメントアクション パーマリンク
  • Alex Novotny

    Thank you for posting the answer to your own questions. 

    Cheers

    0
    コメントアクション パーマリンク

投稿コメントは受け付けていません。