From fdbe73d653ef5224797cf165fff85ee51eb1029d Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Tue, 9 Jul 2024 17:01:48 -0400 Subject: [PATCH] v4.2.1 Package --- flow_screen_components/datatable/README.md | 11 ++++++----- .../lwc/ers_datatableUtils/ers_datatableUtils.js | 2 +- flow_screen_components/datatable/sfdx-project.json | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/flow_screen_components/datatable/README.md b/flow_screen_components/datatable/README.md index 50c337e70..48d201e13 100644 --- a/flow_screen_components/datatable/README.md +++ b/flow_screen_components/datatable/README.md @@ -34,7 +34,7 @@ Additional components packaged with this LWC: **Documentation:** https://unofficialsf.com/datatable-lightning-web-component-for-flow-screens-2/ **Created by:** Eric Smith -**Date:** 2019 - 2023 +**Date:** 2019 - 2024 LinkedIn: https://www.linkedin.com/in/ericrsmith2 Salesforce: https://trailblazer.me/id/ericsmith @@ -51,8 +51,8 @@ https://unofficialsf.com/flow-action-and-screen-component-basepacks/ --- **Install Datatable** -[Version 4.2.0 (Production or Developer)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004XZlHQAW) -[Version 4.2.0 (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004XZlHQAW) +[Version 4.2.1 (Production or Developer)](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004fz7wQAA) +[Version 4.2.1 (Sandbox)](https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5G000004fz7wQAA) --- **Starting with the Winter '21 Release, Salesforce requires that a User's Profile or Permission Set is given specific permission to access any @AuraEnabled Apex Method.** @@ -72,10 +72,11 @@ A Permission Set (**USF Flow Screen Component - Datatable**) is included with th --- # Release Notes -## 07/xx/24 - Eric Smith - Version 4.2.1 +## 07/09/24 - Eric Smith - Version 4.2.1 **Updates:** - New Feature: Add a Remove Row action as the first or last column in a Datatable. -- New outputs include a collection and a count of the removed rows. +- New outputs include a collection and a count of the removed rows. +- You can specify the icon and color for the action button. - You can specify the maximum number of rows that can be removed. - Selected Rows are now persistent when Paginating, Searching, Filtering, Sorting, and Removing! - A new output attribute (outputRemainingRows) will provide all records passed into the table with all edits made to those records, less all records (if any) that were removed diff --git a/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js b/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js index aabe50eba..7b2504bf0 100644 --- a/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js +++ b/flow_screen_components/datatable/force-app/main/default/lwc/ers_datatableUtils/ers_datatableUtils.js @@ -50,7 +50,7 @@ const getConstants = () => { REMOVE_ROW_ICON : 'utility:close', // Default Icon for the Remove Row button REMOVE_ROW_COLOR : 'remove-icon', // Default Color for the Remove Row button REMOVE_ROW_SIDE : 'Right', // Default Side for the Remove Row button - SHOW_DEBUG_INFO : true, // Set to true to show sensitive debug info in the console and debug logs + SHOW_DEBUG_INFO : false, // Set to true to show sensitive debug info in the console and debug logs DEBUG_INFO_PREFIX : 'DATATABLE: ' // Prefix to be used for debug info in the console } } diff --git a/flow_screen_components/datatable/sfdx-project.json b/flow_screen_components/datatable/sfdx-project.json index 41acc7e35..d23cc608d 100644 --- a/flow_screen_components/datatable/sfdx-project.json +++ b/flow_screen_components/datatable/sfdx-project.json @@ -91,6 +91,7 @@ "datatable@4.1.4": "04t5G000004J7MxQAK", "datatable@4.1.6": "04t5G000004XZk9QAG", "datatable@4.1.7": "04t5G000004XZknQAG", - "datatable@4.2.0": "04t5G000004XZlHQAW" + "datatable@4.2.0": "04t5G000004XZlHQAW", + "datatable@4.2.1": "04t5G000004fz7wQAA" } } \ No newline at end of file