Unify Applications
Logo
Preview & Publish

Preview & Publish

Logo

10 mins READ

The Three App States

Every application in UnifyApps exists in one of three states at any point in time. Understanding the distinction between them prevents accidentally exposing unfinished work to end-users or confusing a preview link with the live application URL.

Working Copy

The Working Copy is the version of the application that lives on the builder canvas. When real-time collaboration is on, the builder saves your edits automatically as you work, so there is no Save button to press. Each auto-save captures a snapshot of the entire application — pages, data sources, navigation, theme, and all — and stores it as the new Working Copy. The Working Copy is private to the builder; it is never directly visible to end-users.

If real-time collaboration is off, the builder shows a Save button instead. Save your changes before you publish. Until you do, Publish is disabled.

Preview

Preview is your latest Working Copy running as a fully functional application in a separate browser tab. It uses real data connections, real interactions, and real navigation — but it is served from a preview URL distinct from the Application URL that users visit. Preview reflects your latest auto-saved edits, not the most recent Publish. This means you can have weeks of unpublished changes visible in Preview while users on the Application URL see an older published version.

Published Versions

Published Versions are numbered, immutable snapshots (V1, V2, V3, …) created each time you press Publish. The most recently published version is what users see at the Application URL. Older versions are preserved for auditing and rollback but are not served to users unless you explicitly restore one and publish again.

Note: Preview is ahead of what users see. Never share a Preview tab link with stakeholders as "the live app" — it reflects unpublished edits. Send them the Application URL instead, which always serves the latest published version.

Auto-Save vs. Publish

Saving and publishing serve fundamentally different purposes:

  • Auto-save — The builder saves every edit automatically and updates the Working Copy, so your changes show in Preview. It never touches what users see at the Application URL. With real-time collaboration on, there is no Save button.

  • Publish — Takes the current Working Copy and creates a new numbered version (V1, V2, …) that becomes the live release at the Application URL. Use Publish when you are ready for users to see the changes.

builder-top-bar.png
builder-top-bar.png

Note: Publishing with no new changes does not create a new version. You must make at least one change after the last publish before a new version number is generated. If nothing has changed since the last publish, the publish dialog shows "Up to date with V{n} — No changes since the last published version."

App State Reference Table

The table below shows what end-users at the Application URL see after each key action:

You didWhat users at the Application URL see
Edited, never publishedNothing — the app is not yet live
Published V1V1
Made more edits after publishing V1Still V1
Published again (with new changes)V2
Restored V1, then publishedV3 with V1's content

Previewing Your Application

Use Preview to verify that your changes work end-to-end — with real data and real interactions — before publishing them to users.

Steps: Previewing a Web Application

  1. Make your changes in the builder. With real-time collaboration on, they save automatically and there is no Save button to press.

  2. In the builder's top bar, click the Preview icon (a play button, labelled Preview Application). The application opens in a new browser tab running against real data.

  3. Test your changes interactively. Because Preview reflects your latest edits, you can iterate quickly: return to the builder, make a change, then reload the Preview tab — the new state appears immediately, even if you have never published.

  4. Keep the Preview tab open between sessions. Later edits appear in it on the next reload.

Previewing a Mobile Application

For Mobile App types, the builder displays a Live Preview QR code panel instead of opening a browser tab. Scan the QR code with the UnifyApps Preview app on your iOS or Android device to run the mobile application natively. Don't have the app yet? Use the Android or iOS download link at the bottom of the Live Preview panel. The QR code updates as your changes are saved automatically.

Publishing Your Application

Publishing creates a new numbered version and makes it the live release at the Application URL. The Publish button appears only if your role has Deploy permission on the app.

Steps: Publishing a Release

  1. Make sure the changes you want to include are in the builder. Make sure your changes are saved: edits save automatically when real-time collaboration is on, otherwise click Save. Then everything in the Working Copy is included.

  2. Click Publish in the builder top bar. A small publish panel opens.

  3. The panel shows the Application URL with a copy button. You can share this link with users once published.

  4. Optionally, enter a Tag this version — a short identifier for this release. Tags must start with a letter, contain no spaces, and may only use - and _ as special characters (for example, v2-beta or release_june).

  5. Optionally, enter Version notes — a description of what changed in this release, useful as a changelog for your team.

  6. Review the Changes since last published section. Each row lists an area (Application, Pages, Modules, Walkthroughs, Icons) with addition and removal counts. Click any row to jump directly to that area. Click Review all changes to see every individual change.

  7. Click Publish. The platform creates a new version number, and a "Your Application has been published." confirmation appears with a Copy link button.

  8. The builder top bar updates to reflect the new version status: the first publish changes "Not Published" to "V1 Published"; subsequent publishes increment the number.

Comparing Versions

The Compare Versions view lets you inspect exactly what changed between any two points in the application's history — including your current edits — before deciding whether to publish.

How to Access the Comparison

Open the comparison from the publish panel: click Review all changes, or click a row under Changes since last published, to open Compare versions.

Comparison Controls

ControlDescription
Base version pickerThe version you are comparing from. Options include all published versions, "Last published", and "Current edits".
Compare version pickerThe version you are comparing to. Same options as Base.
Change groupsChanges are grouped by area: Application, Pages, Modules, Walkthroughs, Icons.
Split / UnifiedToggle between a side-by-side split view and a unified diff view.
Show context only / Show all linesLimit the diff to changed lines with context, or show every line.
Page view: Extracted / RawExtracted shows a structured, human-readable representation; Raw shows the underlying serialised config.
Breakpoint filterFilter page differences by breakpoint: Desktop, Tablet, or Mobile.
Open in BuilderNavigate directly from the comparison view to the relevant area in the builder.

If the two selected versions are identical, the panel shows "No changes". If the comparison cannot be completed, the panel shows "Couldn't compare these versions" with a Retry comparison button.

Restoring an Earlier Version

If a published version introduced a regression or you need to roll back to a previous state, you can restore any past published version. Restoring loads that version's configuration back into the Working Copy — your live application is unaffected until you publish again.

Note: Restore affects your working draft; the live app is unchanged until you publish. After restoring, review the Working Copy in Preview to verify the rollback looks correct before publishing it to users.

Steps: Restoring an Earlier Version

  1. Navigate to the app detail page and open the Versions tab. The list shows all published versions newest first.

  2. Click the version you want to restore. The version opens in a read-only view.

  3. Click Restore this version. A confirmation dialog explains what will be reverted.

  4. Confirm the restore. The platform shows "Application restored successfully" and opens the builder with the restored Working Copy.

  5. Open Preview to verify the restored state. Any pages that were added after the restored version will have disappeared from the Working Copy — this is expected.

  6. When you are ready to make the restored state live, click Publish. The platform creates the next sequential version number (for example, restoring V1 and publishing creates V3, not V1 again). The content of the new version matches the restored version.

What a Restore Covers

A restore from the Versions tab is thorough — it rolls back the entire application's Working Copy:

  • All pages and their configurations

  • Navigation menu items

  • Theme and styling settings

  • Data source definitions

  • Application-level settings

Pages that were added after the restored version will no longer exist in the Working Copy after the restore completes. Version numbers do not rewind: restoring V1 and publishing creates the next sequential version (e.g., V3), not a new V1.

Saved Versions vs. Published Versions

UnifyApps maintains two separate version histories, each serving a different purpose:

History typeLocationGranularityRestorable?Visible to end-users?
Saved VersionsBuilder left rail (in-builder panel)One entry per auto-save — fine-grained edit historyYes (app-scoped or page-scoped)No
Published VersionsApp detail page → Versions tabOne numbered entry per Publish action — coarse release snapshotsYes (entire app)Latest version only

Use Saved Versions when you need to undo a specific edit or recover a recently deleted element within a working session. Use Published Versions when you need to roll back an entire release that has already gone live. For the Saved Versions panel, its filters and comparing saves, see App Versions.

FAQs

What is the difference between Preview and Publish?

Preview opens your latest Working Copy, which the builder saves automatically, in a full browser tab with live data and interactions. It is served from a separate preview URL and is only visible to people with builder access to the app. Publish creates a new numbered version (V1, V2, …) that becomes the live release at the Application URL — the address that end-users visit. Changes you make after publishing remain in Preview only until you publish again.

How do I roll back to a previous version if a publish introduces a problem?

Open the app detail page and go to the Versions tab. Click the version you want to restore, then click "Restore this version" and confirm. This loads that version's configuration back into your Working Copy without affecting the live app. Review the result in Preview, then click Publish to create the next sequential version containing the restored content. Version numbers never rewind — restoring V1 and publishing creates the next number in sequence, not a new V1.

Can I publish to a staging environment before publishing to production?

The publish panel has no environment choice. Publishing deploys the app, and the new version becomes the live release at the Application URL. To check changes before users see them, open them in Preview, or use Compare versions in the publish panel to review every change before you publish.

Can I share the Preview link with stakeholders who are not in the builder?

The Preview URL reflects unpublished edits and requires the viewer to be signed in to the workspace with at least view access to the app — it is not a publicly shareable link. For stakeholder review, the recommended approach is to publish the changes (creating a new version) and share the Application URL, or grant stakeholders explicit access to the app in its Settings tab so they can open the preview within their own session.

Does publishing require any downtime for users on the live app?

No. Publishing is non-destructive and near-instantaneous. While a publish is in progress, the previous version continues serving normally. Once the new version is live, subsequent page loads serve the new version. Users who are mid-session on the old version typically continue uninterrupted until they reload, at which point they receive the new version.