Valorx
HomeFusionWave
Wave
Wave
  • Getting Started
    • 🌊What is Valorx Wave
      • Pick The Right Wave
    • 📔Get Started with Valorx Wave
      • Wave Browser Extension Installation & Setup
      • Wave Embedded Installation & Setup
  • Wave Workspace
    • Overview
    • 🏡Home
    • 📃Grids
    • 🟣Wave Floaty
    • Wave Dashboard
  • Wave Experience
    • 📚Type of Grid in Wave
    • 📝Create A New Grid
      • 🌈Manage Grid in Wave Browser Extension
      • 🪄Grid Wizard in Salesforce
  • WAVE DATA MANAGEMENT
    • 📊Managing Grid Data
      • Filter
      • Condition
      • Group
      • Column Group
      • Mass Modifier
    • ✏️Data Control & Customization
    • 🔍Data Interaction
    • 🔢Data Insights & Summary
    • ⌛Managing Records in Wave
  • Surf The Wave
    • 🏄‍♂️Surf The Wave in Salesforce
      • Using Wave Grid in Components and Flows
      • Row Action
      • Known Limitation
      • Wave Embedded Grid Migration
  • Matrix
    • 🔳Matrix Screen
  • 🎨Matrix Designer
  • ▶️Matrix Runtime
  • ⚡Matrix Launcher
  • REPORTS
    • 📈Reports Overview
  • IMPORT
    • 🚀Import Overview
  • SETTINGS
    • 🛠️Settings Screen
  • Release Notes
    • 📢Wave Browser Extension
      • March 25 Release (v40)
      • February 25 Release (v39)
      • January 25 Release (v38)
      • December 24 Release (v37)
      • October 24 Release (v36) - Hotfix
      • September 24 Release (v35) - Hotfix
      • August 24 Release (v34)
      • July 24 Release (v32)
      • June 24 Release (v31) - Hotfix
      • May 24 Release (v30)
      • April 24 Release (v29)
      • Archived Release Notes
        • March 24 Release (v28)
        • Feb 24 Release (v27)
        • Jan 24 Release (v26)
        • Dec 23 Release (v25)
        • Nov 23 Release (v24)
        • Oct 23 Release (v23)
        • Sept 23 Release (v21)
        • Aug 23 Release (v20)
        • Jul 23 Release (v18)
        • Jun 23 Release (v17)
        • May 23 Release (v15)
        • Apr 23 Release (v12)-Hotfix
        • Apr 23 Release (v11)
        • Mar 23 Release (v10)
        • Jan 23 Release (v9)
        • Jan 23 Release (v8)
        • Dec 22 Release (v7)
        • Nov 22 Release (v6)
        • Oct 22 Release (v5)
        • Sep 22 Release (v4)
        • Sep 22 Release (v3)
        • Sep 22 Release (v2)
        • Sep 22 Release (v1)
    • ☁️Wave Embedded
      • March 25 Release (v11)
      • February 25 Release (v10)
      • December 24 Release (v9) - Hotfix
      • November 24 Release (v8)
      • October 24 Release (v7)
      • September 24 Release (v6)
      • August 24 Release (v5)
      • July 24 Release (v4)
      • June 24 Release (v3)
  • HELP & FAQ
    • 💡FAQs
    • ✉️Get Support
Powered by GitBook
On this page
  • How to Update a Record Using the Row Action Button
  • Callback Event for Row Action Completion
  • Aura Component Setup
  • LWC Setup
  • Limitations
  1. Surf The Wave
  2. Surf The Wave in Salesforce

Row Action

Last updated 2 months ago

How to Update a Record Using the Row Action Button

Follow these steps to easily update a record with the Row Action button:

  1. Click the Row Action Button:

    • Click on the Row Action button. This action will open a popup window displaying the record details.

  2. Edit the Record:

    • In the popup window, click the Edit button to enable editing mode.

    • Update the fields with the desired values.

  3. Save the Changes:

    • Once all necessary updates are made, click the Save button to confirm the changes.

  4. Close the Popup Window:

    • After saving, close the popup window.

  5. Verify the Updated Record:

    • The grid will automatically refresh, and the updated details will reflect in the respective row.

By following these steps, you can quickly and effectively update records using the Row Action button!

Callback Event for Row Action Completion

The Callback Event for Row Action Completion allows users to define custom functions to handle the completion of component actions. This action uses Message Channels for effective communication between components across namespaces, ensuring flexibility and compatibility.

To integrate this functionality into your org, add the following code to your component:

Aura Component Setup

  1. Add the Message Channel Include the Message Channel in your Aura component definition:

    <lightning:messageChannel type="valorxwave__callbackMessageChannel__c" aura:id="callbackMessage" />
  2. Publish the Callback Event In your Aura controller, use the following code to publish the callback message:

    ({    handleClick: function (component, event, helper) {
            var payload = {
                data: "RowActionCompleted",
            };
            component.find("callbackMessage").publish(payload);
        },
    });

LWC Setup

  1. Import Message Service Features Import the necessary features in your LWC component:

    import { MessageContext, publish } from 'lightning/messageService';
    import callbackMessage from '@salesforce/messageChannel/valorxwave__callbackMessageChannel__c';
  2. Publish the Callback Message After completing all component actions, use the following code to publish the callback message:

    @wire(MessageContext) messageContext;
    
    handleCallBackMessage(event) {
        var payload = {
            data: "RowActionCompleted",
        };
        publish(this.messageContext, callbackMessage, payload);
    }

Limitations

  • Component/Application Events Restriction: Limited to the same namespace, making them unsuitable for this use case.

Platform Events Unavailable: Not supported in Professional and Group Edition orgs. Refer to the .

🏄‍♂️
Salesforce Platform Events documentation
Update record using row action button.