Preview a page

task australia Updated Sep 10, 2026 1 min read preview-page-servicenow-ai-experience-lab-for-vs-code.md
Raw file servicenow.com

Test that your page appears and functions as intended.

About this task

Certain pages aren't previewable in the ServiceNow Lux Lab for VS Code extension and must be previewed by deploying to your instance. To learn about deploying, see Deploy changes.

Before you begin

Role required: none

The ServiceNow Lux Lab for VS Code extension requires the following:

Application

Version

Resources for more information

Visual Studio Code

1.97 or later

Visual Studio Code updates

Node.js

24 or later

Node.js

pnpm

10 or later

pnpm

ServiceNow SDK

4.14 or later

ServiceNow SDK

ServiceNow instance

  • Australia Patch 5 or later
  • Zurich Patch 12 or later

Prepare your upgrade

## Procedure
  1. Open a ServiceNow Lux Lab for VS Code project in Visual Studio Code.

  2. In the Explorer panel, navigate to the /pages folder.

  3. Select the expand icon for the page that you want to preview.

  4. Right click or select and hold the page.js file that you want to preview and select Lux: Launch Preview.

    A preview of your page appears. You can preview how your page appears on different devices, expand the preview panel, and interact with page elements.

    [Omitted image "servicenow-lux-lab-vs-code-preview.png"] Alt text: A rendered page shown in the Preview panel.

What to do next

If your page isn't already accessible from other pages, add the page to the navigation. Otherwise, you can deploy your changes.

Keywords Preview inlineInline previewServiceNow AI Experience Lab for VS CodePreview page
Search documentation
Search document titles and file paths on the australia branch