Lightlines
By cognitedata

integrate-file-viewer

cognitedata1.9k installs

Preview documents and diagrams in your Flows app.

What it does

Integrates document, image, and text previews into a Flows app.

When to use it

Use whenever integrating CogniteFileViewer into a Flows app to preview CDF files.

How to use it

Give it a Flows app and a file-preview integration request; it adds the viewer source, installs dependencies, and configures component usage.

What you provide

  • An existing project

Latest review

What you need · 3

Assumes react is already installed in the Flows app.

Assumes @cognite/sdk is already installed in the Flows app.

Uses the existing useDune hook from @cognite/dune to obtain the SDK client.


Access · 1

This skill

react-pdf

Execute

Installs react-pdf