How to edit datatableLwcFsc for a different Object
For the latest on the Datatable component, please go here: Datatable – Lightning Web Component for Flow Screens – UnofficialSF
This should only be necessary with versions being used in Orgs prior to Summer ’20.
Lightning Web Components are not editable in the standard Developer Console. I recommend using Visual Studio Code (VS Code) with the Salesforce extensions to edit the source code. I also recommend that you deploy your changed versions in a Sandbox and use a Change Set to deploy them to Production.
To learn about VS Code and install it for your own use, complete this Trailhead.

You only need to update the Object name in 5 places in a single file (datatableLwcFsc_Object.js-meta.xml). Everything else stays the same.
Once you have VS Code installed and configured per the Trailhead, you can follow these steps to create a version of the datatable component for any object.
- Press Ctrl+Shift+P to view the Command Palette
- Select SFDX: Create Project with Manifest
- Select Standard
- Give the project a name (I recommend the name of your sandbox where you installed the installation package)
- Give it a parent folder location on a local drive (also the name of your sandbox)
- Press Ctrl+Shift+P to view the Command Palette
- Select SFDX: Authorize an Org
- Select Sandbox
- Enter your sandbox name
- Login to your sandbox in the new window that opens
- Select Allow Access
- After logging in you can close that window
- Click on >manifest in the left Explorer column
- Right-Click on package.xml
- Select SFDX: Retrieve Source in Manifest from Org
- Wait until the metadata is downloaded
- Click on >lwc in the left Explorer column
- Right-Click on one of the datatableLwcFsc_Object entries
- Select Copy
- Right-Click on the lwc Folder Name
- Select Paste
- Right-Click on the new datatableLwcFsc_Object copy folder name
- Select Rename
- If you see this dialog box, select No
- Rename the folder to datatableLwcFsc_NewObject
- Rename each of the 3 files in the folder, replacing the original Object name with the new Object name
- Select the datatableLwcFsc_NewObject.js-meta.xml file
- Change the Object name in the 5 highlighted locations. If it is a custom Object, be sure to append __c to the Object name.
- Click on the Save icon (or Select File -> Save)
- Right-Click on the newly edited file and select SFDX: Deploy Source to Org
- Change the Object name in the 5 highlighted locations. If it is a custom Object, be sure to append __c to the Object name.
- To deploy your new component to Production, create an Outbound Change Set and Add the new Lightning Web Component Bundle to it.
4/2/20 – Eric Smith