Preview workspace files

Files open beside your chat in the side panel as read-only preview tabs. Use a preview to read code and text, check a document, spreadsheet or PDF, or look at a picture, without leaving the chat and without changing the file.

Open a preview

  1. Open the file: choose Preview in sidebar on a file card in the chat, or open the side panel and choose the file in its Workspace files tab.
  2. The file opens as its own tab in the side panel, titled with the file's name.

Which viewer opens your file

Each file type opens in the viewer made for it. The viewers have their own pages: Preview PDFs and Office files, Preview images and HTML and Preview spreadsheets.

Your fileWhat you get
MarkdownThe rendered document; its images load through the chat's file access.
Code and plain textThe text, with highlighting for common languages; a long file loads in parts as you read.
HTMLA safe static view: scripts do not run, and external links and embedded content are removed.
PDFA continuous page view with selectable text and zoom.
Word and PowerPointA read-only page preview, prepared for reading on your computer.
SpreadsheetsA read-only viewer for .xlsx, .xls, .csv and .tsv files.
ImagesThe picture, fitted to the pane, with zoom.
Anything elsePreview is not available for this file type yet., with open and reveal controls.

Controls while you read

Read-only and reading limits

Reading beyond the workspace folder

When a file cannot be shown

A file that cannot be shown says why, and you never see the wrong file's content. A missing file, a chat the app cannot find, or a link that cannot be read produces an error rather than different content:

For documents, the preview names the problem in place:

A file type with no viewer at all shows Preview is not available for this file type yet. and offers the open and reveal controls: Open opens the file in its default application, More ways to open lists other applications, and Show file location reveals the file in the file manager. These controls are described in Open files and folders in other apps.

Keeping the preview current

Questions, answered

Can I change a file from the preview?

No. A preview is read-only: it shows the file and never edits it. Open the file in its usual application to change it.

Why can't my large file be previewed?

Oda reads files in pages and refuses a page over its limit rather than shortening it, and a complete file larger than 32 MiB is not read whole, so you never see part of a file that looks whole. Open very large files in their usual application.

What does Preview is not available for this file type yet. mean?

The file's type has no viewer, so the preview cannot show it. Use the open and reveal controls to open the file in its usual application, or choose Show file location to find it on your computer.

Why does my Word document say the preview service is unavailable?

The document preview service is off on the computer running DataMind Oda, so Word and PowerPoint files cannot be prepared for reading. The message reads Read failed: Office previews are unavailable. Enable the document preview service on the computer running DataMind Oda. Enable the service, then read the file again.

Why can't I edit cells in a spreadsheet preview?

The spreadsheet preview is read-only: you can select and copy cells, but nothing edits the file. Results show as they were saved, so a workbook with formulas warns This workbook contains formulas. Displayed results may be missing or inaccurate. Charts and conditional formatting are not displayed, and a notice reads This preview does not support charts, conditional formatting in this workbook. Open it in a system application for the full experience.

Can a previewed HTML file run scripts?

By default, no: the file is shown as a safe static page, with scripts and external content removed, in its own frame that cannot reach the app's pages. With Developer tools enabled, the page's own scripts may run in the same locked-down frame.

What if the file changes while I am reading it?

The preview follows the file: when it changes, the preview refreshes. If that watching is lost, the preview reports an error instead of keeping stale text; reopen the preview to read the file again.

Can I preview files outside my workspace folder?

Yes, when a link or a step points to one: reads use the rights of your computer account, so a file outside the folder opens too. Listing folders and watching for changes stay inside the workspace folder.

How do I open a file in its usual app?

In a tab that cannot show the file, use its controls: Open opens the file in the application set for it, More ways to open lists other applications, and Show file location reveals the file in the file manager. Opening a file this way never changes your system default. See Open files and folders in other apps.

Does the preview show which branch my folder is on?

The app shows the folder's repository state: the checked-out branch, a detached commit, or nothing when the folder is not in a repository or the state cannot be named. Oda reads the folder's git metadata directly; it does not run git commands.