1. Home
  2. Docs
  3. Guides
  4. Lwc Migration
Log a Case

LWC Migration Guide

A guide to migrating from legacy Visual Force to Lightning Web Components.

LWC Migration Overview

Zenkraft is currently migrating a number of legacy Visualforce (VF) components to Salesforce’s modern Lightning Web Components (LWC) framework.

This migration is part of Salesforce’s ongoing platform modernization and allows Zenkraft components to provide improved performance, enhanced security, better Lightning Experience compatibility, and ongoing long-term support.

Many components will migrate automatically with no action required and little to no visible change for end users. In some cases, newly created components or configurations will automatically use the new LWC version while existing implementations will continue using the legacy Visualforce version until updated.

Some components will require manual configuration changes to fully migrate to the LWC version. Where customer action is required, detailed migration steps and setup instructions will be provided in the relevant sections of this guide.

This documentation outlines the components affected by the migration, what changes to expect, and any actions required to ensure continued functionality.

Tracking Component Migration

The Tracking component is available as a Lightning Web Component (LWC). To switch from the original Visualforce tracking button to the LWC tracking action, update the actions on the Shipment record page in Lightning App Builder.

Navigate to any Shipment record in your Zenkraft instance.

Click the gear icon in the top right corner, then click Edit Page. This will open the Shipment record page in Lightning App Builder.

In Lightning App Builder, click the header area of the Shipment record page. The available actions for the page will appear in the panel on the right.

In the Actions list, click the X next to the current Track Shipment action to remove it. Then click Add Action.

In the action search modal, search for Track. Select the Track Shipment option under Object-Specific Quick Actions, then click Done.

NOTE: The Track Shipment option under Custom Buttons is the original Visualforce tracking component. To use the LWC version, make sure you select the option under Object-Specific Quick Actions.

Click Save in the top right corner, then click the back arrow in the top left corner to return to the Shipment record page.

To confirm the migration was successful, open the action dropdown on the Shipment record page and click Track Shipment. The new LWC tracking modal should open.

Back to Top