---
schema_version: "1"
id: d7cefe05a93c759204d4ab5b49ea0cd9f97bb59f67c5c864c1f797f52ccbbc26
title: Open Other Pages from Omniscripts with the Navigate Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_navigate_action_12710.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 574e6173ee2f419a67704ea279fbb590006c4dbf89166b0213454bb131120d4e
description: To open various Salesforce pages, apps, and resources from Omniscript, use the Navigate element.
products:
  - Omnistudio
release: "264"
---
# Open Other Pages from Omniscripts with the Navigate Action

To open various Salesforce pages, apps, and resources from Omniscript, use the Navigate element.

1. From the elements panel, drag the **Navigate** action element to the canvas.
    - If the Navigate Action renders in a Step, it becomes a clickable button.
    - If the Navigate Action is between Steps, it fires automatically.
2. If the Navigate Action renders in a Step, select the button style.
    1. Determine the style of the button by selecting an [SLDS Button variant](https://lightningdesignsystem.com/components/buttons/).
        
        In addition to SLDS Button variants, you can select **Link** to render the Navigate Action as an HTML anchor tag.
    2. Display an [SLDS Icon](https://lightningdesignsystem.com/icons/) in the button.
        
        For example, to add the standard\_account Icon, enter Standard:Account.
3. If desired, replace the existing entry in the browser history by enabling the Replace property.
    
    If the Replace property is enabled, users can’t navigate back to the Omniscript.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)
    
    Note
    
    By default, a Navigate Action in a Console App opens the page reference type in a new subtab. If you use more than one Navigate Action, only the first navigation action redirects to a new tab. Even if the Replace property is disabled, subsequent Navigate Actions replace the tab.
    
    But if the Replace property is disabled, the page reference doesn’t replace existing entries in the browser history. Users can navigate back and forth between Omniscripts in the same tab.
    
    After a Navigate Action completes, the Steps and other Omniscript elements that follow it run. However, if the user navigates away from the Omniscript, an asynchronously invoked Integration Procedure stops running.
4. To send messages from the Omniscript to separate Lightning web components, use Pub/Sub messages and add a message key-value pair.
    
    Each Navigate Action must pass all required parameters to subsequent Lightning web components. For example, the first Navigate Action passes the `c__ContextId` parameter to a second Omniscript as `c__ContextId=ContextId`. A Navigate Action in the second Omniscript passes the parameter to a third Omniscript as `c__ContextId=%ContextId%`. All Navigate Actions must continue to pass the parameter to subsequent Omniscripts for as long as the parameter is needed.
5. Determine the Salesforce experience that the Navigate Action directs to by selecting a page reference type.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
              <colgroup>
                <col style="width:33.33333333333333%">
                <col style="width:33.33333333333333%">
                <col style="width:33.33333333333333%">
              </colgroup>
              <thead class="slds-text-title_caps ">
                <tr class="">
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d111365e145">
                    <p style="margin-bottom:0;">PageReference Type</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d111365e151">
                    <p style="margin-bottom:0;">Description</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d111365e157">
                    <p style="margin-bottom:0;">Task Documentation</p>
                  </th>
                </tr>
              </thead>
              <tbody>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">App</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Direct users from an Omniscript to a standard App, a custom App,
                      or a page within an App. Connected apps aren’t supported.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Direct users from an Omniscript to a standard app, custom app, or a page within an app with the App PageReference Type. Verify the app is available in the Salesforce App Launcher.">Navigate to an App</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Component</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate from an Omniscript to a Lightning web component.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate to Lightning web components from an Omniscript with the Component PageReference Type.">Navigate to a Component</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Current Page</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Trigger a page update on the Current Page after a user completes
                      an Omniscript.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Update and navigate to the current page from an Omniscript by using the Current Page PageRefrence Type in a Navigate Action.">Navigate to the Current Page</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Knowledge Article</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Display a Knowledge Article in an Omniscript.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Display a Knowledge Article in an Omniscript by selecting the Navigate Action's Knowledge Article page reference type.">Navigate to a Knowledge Article</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Login or Logout</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Direct users from an Omniscript to a Community Login or Logout page.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Direct users from an Omniscript to a Community Login or Logout page for authentication.">Navigate to an Experience Cloud Login or Logout</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Named Page</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate from an Omniscript to a Named Page or a Community Named Page.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Direct users to a standard or Experience Cloud page.">Navigate to a Named Page or Community Named Page</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Navigation Item</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate from an Omniscript to a page that displays mapped content on a CustomTab.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate from an Omniscript to a custom tab displaying mapped content with the Navigate Action Navigation Item PageReference Type.">Navigate to a Navigation Item</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Object</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate from an Omniscript to a standard or custom Object page.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate from an Omniscript to an Object page by using the Navigate Action's Object page reference type.">Navigate to an Object Page</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Omniscript by pageReference Type</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate to an Omniscript by using a page reference type.</p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate to an Omniscript page reference type. Omniscripts on Experience Cloud site pages must be accessed by using the Community Named Page page reference type.">Navigate to an Omniscript by Using a Page Reference Type</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Omniscript by custom Lightning web component</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate to an Omniscript by using a custom Lightning web component.</p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate to an Omniscript by embedding the Omniscript in a custom Lightning web component. You can navigate to an Omniscript this way whether the Managed Package Runtime setting is enabled or disabled.">Navigate to an Omniscript by Using a Custom Lightning Web Component</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Record</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate from an Omniscript to a Record page.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate from an Omniscript to a Record page by using Navigate Action's Record PageReference Type.">Navigate to a Record Page</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Record Relationship</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Navigate from an Omniscript to a page that interacts with a Record Relationship.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate from an Omniscript to pages interacting with a record relationship by using the Record Relationship page reference type.">Navigate to a Record Relationship Page</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Restart Omniscript</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">Navigate to a new instance of the same Omniscript that resets the Omniscript data.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate a user to a new instance of the same Omniscript. Use this option to enable a user to start over or repeat a process. Place the Navigate Action in a step to render it as a button or outside of a step to run it automatically or conditionally.">Restart an Omniscript</a>
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="PageReference Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e145 ">
                    <p style="margin-bottom:0;">Web Page</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e151 ">
                    <p style="margin-bottom:0;">
                      Open an external Web page from an Omniscript.
                    </p>
                  </td>

                  <td data-label="Task Documentation" class="slds-cell-wrap" style="vertical-align:top;" headers="d111365e157 ">
                    <p style="margin-bottom:0;">
                      <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&amp;release=264.0.0&amp;type=5" title="Navigate to a web page from an Omniscript with the Web Page PageReference Type.">Navigate to a Web Page</a>
                    </p>
                  </td>

                </tr>
              </tbody>
            </table>

## Navigate to an App

Direct users from an Omniscript to a standard app, custom app, or a page within an app with the App PageReference Type. Verify the app is available in the Salesforce App Launcher.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e594">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e597">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e594">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e597">App</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e594">App Name</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e597">Enter the appId, or enter the <kbd>appDeveloperName</kbd> with the
              appropriate namespace. <p>For appId, use the AppDefinition object's DurableId.</p>
              <p>For
                appDeveloperName, use a concatenation of the app’s namespace and developer name. The
                app's namespace is standard, custom, or a managed package namespace. The Developer name
                is viewable in the App Manager. For more information on appDeveloperName, see <a href="https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_page_reference_type" target="_blank">PageReference Type</a>
              </p>
              <p>Syntax Examples:</p>
              <p>Standard: <kbd>standard__Account</kbd>
              </p>
              <p>Custom: <kbd>vlocity_cmt__CustomAccountApp</kbd>
              </p>
            </td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e594">Additional Parameters</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e597">Enter JSON to specify the app page and additional attributes. <p>In the designer
                for a managed package, enter the JSON in the <strong class="uicontrol">Target Parameters</strong>
                field. The Target Page field represents the App's pageRef
                property.</p>
              <pre class="line-numbers slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium slds-scrollable_x" id="os_navigate_to_an_app_12852__codeblock_anf_hvn_zfc"><a name="os_navigate_to_an_app_12852__codeblock_anf_hvn_zfc"><!-- --></a><code class="language-json">{"type": "standard__navItemPage","attributes": {"apiName": "standard__Account"}}</code></pre>
            </td>
          </tr>
        </tbody></table>

## Navigate to an Experience Cloud Login or Logout

Direct users from an Omniscript to a Community Login or Logout page for authentication.

To preview an Omniscript with the community login, activate the Omniscript and place it in a Experience Cloud page. For more information, see [Add Your Omniscript to a Lightning Page](https://help.salesforce.com/s/articleView?id=xcloud.os_add_your_omniscript_to_a_lightning_page_19957.htm&release=264.0.0&type=5 "In Omnistudio standard runtime, add the standard Omniscript component to a Lightning page after activation.") and [Add Your Omniscript to an Experience Cloud Page](https://help.salesforce.com/s/articleView?id=xcloud.os_add_your_omniscript_to_an_experience_page_19992.htm&release=264.0.0&type=5 "In the Omnistudio standard runtime, add the standard Omniscript component to an Experience Builder page after activation.").

| property | description |
| --- | --- |
| Page Reference Type | Login |
| Action | Login or Logout |

## Navigate to a Component

Navigate to Lightning web components from an Omniscript with the Component PageReference Type.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e756">Property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e759">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="Property" headers="d111365e756">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e759">Component</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="Property" headers="d111365e756">Component Name</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e759">
              <p>Enter a component name in the format
                <kbd><var>namespace</var>__<var>componentName</var></kbd>,
                where <var>namespace</var> is the namespace in standard runtime.
              </p>
              <p>For
                Omnistudio, the namespace is <kbd>omnistudio</kbd>. This field supports
                merge fields.</p>
              <p>This field supports merge fields. </p>
            </td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="Property" headers="d111365e756">Additional Parameters</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e759">
              <p>Pass additional target parameters by using a URL query string format. Parameters
                must have a <kbd>c__</kbd> prefix. This field supports merge fields.
              </p>
              <p>When navigating to a component in a console app, add a Console Tab Icon and a
                Console Tab Label by setting the <strong class="uicontrol">c__tabIcon</strong> and
                <strong class="uicontrol">c__tabLabel</strong> parameters. The c__tabIcon accepts <a href="https://www.lightningdesignsystem.com/icons/" target="_blank">SLDS Icon</a> and c__tabLabel accepts plain text. For example,
                <strong class="uicontrol">&amp;c__tabLabel=Custom Label&amp;c__tabIcon=standard:account</strong>
                renders the console tab shown in this example image.
              </p>
            </td>
          </tr>
        </tbody></table>

## Navigate to the Current Page

Update and navigate to the current page from an Omniscript by using the Current Page PageRefrence Type in a Navigate Action.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e854">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e857">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e854">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e857">Current Page</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e854">Additional Parameters</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e857">Apply updates to the current page by passing parameters that use a URL query string
              format. <p>In the designer for
                a managed package, add parameters to the <strong class="uicontrol">Target Params</strong> field.</p>
              <p>Parameters must have a <kbd>c__</kbd> prefix. This field supports
                Merge fields. </p>
              <p>For example, an Omniscript has 10 steps, and you insert a Navigate Action
                between Step 1 and Step 2 with the page reference type as <kbd>Current
                  Page</kbd> and the target as <kbd>c__step=Step7</kbd>. At run
                time, clicking the Next button on Step 1 navigates the user to Step 7. </p>
            </td>
          </tr>
        </tbody></table>

## Navigate to a Knowledge Article

Display a Knowledge Article in an Omniscript by selecting the Navigate Action's Knowledge Article page reference type.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e926">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e929">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e926">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e929">Knowledge Article</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e926">Article URL</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e929">Enter the Knowledge Article's <kbd>urlName</kbd>. This field supports
              merge fields. </td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e926">Article Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e929">Enter the <kbd>articleType API name</kbd>. Find the articleType API Name
              by removing __kav from the API Name of the Knowledge Object. <p>Communities ignore Article
                Type.</p>
            </td>
          </tr>
        </tbody></table>

## Navigate to an Omniscript by Using a Page Reference Type

Navigate to an Omniscript page reference type. Omniscripts on Experience Cloud site pages must be accessed by using the Community Named Page page reference type.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e995">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e998">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e995">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e998">Omniscript</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e995"> Omniscript Layout</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e998">Select how the Omnscript is styled.</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e995">Type <p>Sub Type</p>
              <p>Language</p>
            </td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e998">As an Omniscript's name is defined by its Type, SubType, and Language, enter these value for the specific Omniscript to open. </td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e995">Fields to Prefill Omniscript</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e998">Pass parameters by using a URL query string format. <p>Parameters must have a
                <kbd>c__</kbd> prefix. This field supports merge fields.
              </p>
              <p>Example:
                <code>c__firstName=%firstName%</code>
              </p>
            </td>
          </tr>
        </tbody></table>

## Navigate to an Omniscript by Using a Custom Lightning Web Component

Navigate to an Omniscript by embedding the Omniscript in a custom Lightning web component. You can navigate to an Omniscript this way whether the Managed Package Runtime setting is enabled or disabled.

1. Create a custom Lightning web component (LWC).
2. Add this code to the appropriate button click handler in the component, replacing the type, subtype, language, and context ID with your values.
    
    ```html
    pageReference = {
      type: 'standard__featurePage',
      attributes: {
        featureName: 'omnistudio',
        pageName: 'omniscript'
      },
      state: {
        omniscript__type: os_type,
        omniscript__subType: os_subtype,
        omniscript__language: os_language,
        omniscript__recordId: contextId
      }
    };
    
    this[NavigationMixin.GenerateUrl](pageReference).then(url => {
      window.open(url, "_blank");
    });
    ```

## Navigate to a Named Page or Community Named Page

Direct users to a standard or Experience Cloud page.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e1123">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e1126">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1123">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1126">Named Page <p>For an Experience Cloud page, select
                Community Named Page.</p>
            </td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1123">Page Name</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1126">Enter the API for the page name. API Names for custom pages must include __c in the API Name. This field supports
              merge fields. </td>
          </tr>
        </tbody></table>

## Navigate to a Navigation Item

Navigate from an Omniscript to a custom tab displaying mapped content with the Navigate Action Navigation Item PageReference Type.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e1178">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e1181">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1178">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1181">Navigation Item</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1178">Tab Name</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1181">Enter the Custom Tab's Tab Name and Namespace prefix with the format <kbd>NS__TabName</kbd>, where <strong class="uicontrol">NS</strong> is the
              namespace of the Tab. <p>For more information on tabs, see <a href="https://help.salesforce.com/articleView?id=creating_flexipage_tabs.htm&amp;type=5&amp;language=en_US" target="_blank">Create Lightning Page Tabs</a>. This field
                supports merge fields. </p>
            </td>
          </tr>
        </tbody></table>

## Navigate to an Object Page

Navigate from an Omniscript to an Object page by using the Navigate Action's Object page reference type.

| property | description |
| --- | --- |
| Page Reference Type | Object |
| Object API Name | Enter the API name of the object. This field supports Merge fields. |
| Action | Select an action to invoke. The New action opens a modal dialogue. |
| Filter Name | Enter the Id of the Object page. This field supports merge fields. |

## Navigate to a Record Page

Navigate from an Omniscript to a Record page by using Navigate Action's Record PageReference Type.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e1316">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e1319">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1316">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1319">Record</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1316">Record ID</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1319">Enter the record ID to navigate to. This field supports Merge fields.</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1316">Record Action</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1319">Select a record action to invoke. <p>Clone and Edit actions open a modal dialogue.</p>
            </td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1316">Object API Name</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1319">Enter the API name of the object. This field supports merge fields.</td>
          </tr>
        </tbody></table>

## Navigate to a Record Relationship Page

Navigate from an Omniscript to pages interacting with a record relationship by using the Record Relationship page reference type.

| property | description |
| --- | --- |
| Page Reference Type | Record Relationship |
| Record ID | Enter the record ID to navigate to. This field supports Merge fields. |
| Object API Name | Enter the API name of the object defining the Relationship. This field supports Merge fields. |
| Relationship Object API Name | Enter the API name of the relationship. |

## Navigate to a Web Page

Navigate to a web page from an Omniscript with the Web Page PageReference Type.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e1459">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e1462">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1459">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1462">Web Page</td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1459">URL</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1462">Enter the full URL for a web page.<p>For example, to navigate to Google, enter
                <kbd>https://google.com</kbd>.
              </p>
              <p>The referring tab with the Omniscript
                is replaced. To refresh the web page, navigate to or reload the page.</p>
            </td>
          </tr>
        </tbody></table>

## Restart an Omniscript

Navigate a user to a new instance of the same Omniscript. Use this option to enable a user to start over or repeat a process. Place the Navigate Action in a step to render it as a button or outside of a step to run it automatically or conditionally.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <thead class="slds-text-title_caps ">
            <tr><th class="slds-cell-wrap" scope="col" id="d111365e1518">property</th>
            <th class="slds-cell-wrap" scope="col" id="d111365e1521">description</th>
          </tr></thead>
          <tbody><tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1518">Page Reference Type</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1521">Web Page <p>Time tracking and the Messaging Framework aren't supported options for this page reference type.</p>
            </td>
          </tr>
          <tr class="">
            <td class="slds-cell-wrap" data-label="property" headers="d111365e1518">Conditional View</td>
            <td class="slds-cell-wrap" data-label="description" headers="d111365e1521">Add a condition to run, or display, the action conditionally. See <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_conditionally_display_elements_using_the_conditional_view_property_19389.htm&amp;release=264.0.0&amp;type=5" title="With the Conditional View property, you can hide an element or a group of elements in a block or step based on certain conditions. Every step, block, or element supports at least one conditional view. Elements contain up to three conditional view options depending on the type of element. For example, an action outside of a step doesn’t have a Read-Only option since the action isn’t visible.">Conditionally Display Omniscript Elements</a>.
            </td>
          </tr>
        </tbody></table>