---
schema_version: "1"
id: da035e9e67a23e8c075b380637724ace9e58719f5a630c0e12841f4c4ce5fe86
title: Reloading a Card After Updating an LWC Omniscript (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_reloading_a_card_after_updating_an_lwc_omniscript.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_reloading_a_card_after_updating_an_lwc_omniscript.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2793acd0014fa085aaa0023838937e11e16f479e07847a0900c3e3b7a385a0b7
description: For the managed package runtime, update information on a card after making a change to an LWC Omniscript by passing an event to the Omniscript in the URL parameter c__vlocEvents of an OS Action.
products:
  - Omnistudio
release: "264"
---
# Reloading a Card After Updating an LWC Omniscript (Managed Package)

For the managed package runtime, update information on a card after making a change to an LWC Omniscript by passing an event to the Omniscript in the URL parameter `c__vlocEvents` of an OS Action.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

To refresh a card after an LWC Omniscript updates:

1. Go to the Vlocity Cards tab, and open a card.
2. From the Actions section of a card state, click **Add OS Action** and select the **Action Options** checkbox. To configure your OS Action, see [Launching an LWC Omniscript from an OS Action on a Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_launching_an_lwc_omniscript_from_an_os_action_on_a_card.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with Vlocity Insurance and Vlocity Health Winter '18, Vlocity Cards contains a configurable Omniscript Action (OS Action). The OS Action simplifies the process to navigate to an Omniscript from a card action.").
3. Click **Add Parameters**:
    
    - Enter c\_\_vlocEvents in the first input field.
    - Add componentName\-reload in the second input field. Replace `componentName` with the name of the card layout which must be in camelcase. For example, if your card layout name is accounts-campaigns-current, enter AccountsCampaignsCurrent-reload.
4. The **Navigate Action** element in your Omniscript must have the checkbox property **LWC PubSub Message?** enabled to fire the event. For more information on the Navigate Action, see See [Navigate Action (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action.htm&release=264.0.0&type=5 "For the managed package runtime, navigate to various Salesforce experiences from Omniscript using the Navigate Action element.").
    
    ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/navigation_action.png)