Skip to main content

#Lightning1 discussing

Hello All,

 

Is there a way to edit fields (similar to inline editing) on a related list on a Lightning Record page? To clarify, I don't mean edit the fields to display, I mean actually updating a field, like adding a data to a date or name field on the related record directly from the lightning record page.

 

Thank you!

Hindy

 

#Lightning #Lightning Web Components #Related Record

6 answers
0/9000

I had a user enable then disable the new "full view" lightning record pages. The problem is that when she switched back to the older view, the Lightning Record Pages all reverted to the original system default page, rather than the custom page that was assigned as the org default.

Pages that were assigned by app, record type, and profile seem to have remained as they were, but any pages that were not specifically assigned (just as org default) reverted back to the original system default that lands on the "related" tab, includes a "news" tab, etc; and NOT the page that was assigned as the org default.

This seems like a big SF oversight when toggling back and forth between views... I can't really think how she could have reassigned an org default some other way so I have to assume this is kind of a bug. Anyone else encounter this?

I guess the really worrisome part is that I can't even see a "System Default" Lighting Record Page option to delete; it's an invisible setting that I never ever want to use and can't delete and just popped up again out of nowhere. Please correct me if I'm wrong on this!

5 answers
  1. Oct 13, 2025, 9:59 AM

    Still happens in October 2025. The solution is to keep sandbox/backup up to date to restore previous org default assignment.

0/9000

Los que tengan dudas acerca de las superbadge que tengo completadas, me pueden comentar y les ayudaré resolviendo las dudas que tengan, también soy de Colombia y se que es difícil buscar ayuda en Salesforce desde este país #Superbadge #Lightning

4 answers
  1. Sep 8, 2025, 12:07 PM

    Hola @Mitchell Andrés Arévalo Henao

    Yo acabo de completar el Access Governance Superbadge Unit, pero al momento de chequearlo me sale un error de que no puede encontrar las modificaciones esperadas en el permission set. Se que hubo inconvenientes la semana pasada para chequear los resultados pero me dicen que eso ya fue solucionado. He intentado con otro Superbadge, Object Relationships Superbadge Unit y al momento de chequearlo me sale error tambien. Se muy bien que he hecho las configuraciones requeridas.... Vos sabes si hay que seguir un aproach espeficico? Alguna vez te ocurrio algo similar? Gracias!

0/9000

Hey! We are using the Update Reminder for the org. And it works flawlessly. Also we have disabled "Switch to Classic" button for most of the profiles (i.e. moved to Lightning). The link in the reminder -- View Details, takes us to the report. By default it is opened in Classic. So, let's say Admins could see it. But not for those who have classic turned off.  Is it possible to customize the button and change link to the same report, but in Lightning?

 

#Sales Cloud

Opportunity Update Reminders customize Veiw Details link

3 answers
  1. Aug 21, 2025, 6:24 AM

    Had the same request today and did some investigation. Here's what I found: 

     

    When Update Reminder is enabled, the "View Detail" button in the reminder email sends users to the Report Home page, not a specific report. This is an out-of-the-box function and can't be changed. But you can paste URLs for your key reports and dashboards directly into the email message body. 

     

    https://help.salesforce.com/s/articleView?id=sales.considerations_for_scheduling_reminders_to_update_opportunities.htm&type=5

0/9000
I am facing an issue in getting "New Task" standard button on Activity related list on Case object.

New Task button is visible on the Open Activities related list:

New Task standard button not available in

But it is not visible on Activites related list:

User-added image

I have added "New Task" button from related list section on page layout but it is still not visible:

User-added image

Any idea on how to achieve those actions on Activities related list same like Open Activities related list. I want to keep only the Activities related list and remove Open Activities from the page.
3 answers
0/9000

 1) how to override send button in  lightning send email action with custom lightning button

 2) I also want to add cancel button beside the send button 

 

without developing custom lightning component for send email  from scratch 

how to override send button in lightning send email action

 

Capture1.PNG

#Lightning

1 answer
  1. Ines Garcia (get: Agile) Forum Ambassador
    Aug 12, 2021, 12:38 PM

    You can't is either standard, or you have your own action

0/9000

I am interested to learn of ways to integrate Salesforce with Google Drive. Is there a way to have Salesforce automatically create a new Google Drive folder with naming rules similar to how the Dropbox tool works. Is there a way to then drag and drop files into this folder in Salesforce, but the files actually are stored in Drive but just referenced in Salesforce? Specifically I would like the ability to put folders inside of folders... Any tools I should investigate?

@Salesforce.org System Administrators
6 answers
  1. Apr 9, 2025, 12:04 PM

    Hello,  

     

    First, you can explore Salesforce’s built-in solution, Files Connect, which allows you to link external file systems like Google Drive. With Files Connect, you can browse, search, and attach Google Drive files to Salesforce records while keeping the files stored in Drive. However, it doesn’t support automatic folder creation or advanced nested folder structures.  

     

    If you have specific requirements, such as automating CSV data exchange between Salesforce and Google Drive, Skyvia could be a helpful option. Skyvia is a no-code integration platform that simplifies the import and export of CSV data. While it doesn’t support folder creation or direct file linking, it can automate data transfers, ensuring that updates in Salesforce are reflected in Google Drive files or vice versa. 

     

    Hope this helps!

0/9000

Lightning Web Component Specialist Step-8 Superbadge

#Lightning #LWC #Lightning Web Components #LWC Superbadge Challenge #Trailhead Challenges

 

Below is my code

 

<template>

    <lightning-tabset variant="scoped">

        <lightning-tab label="Gallery">

            <template if:true={boats.data}>

                <div class="slds-scrollable_y">

                    <lightning-layout horizontal-align="center" multiple-rows>

                        <template for:each={boats.data} for:item="boat">

                            <lightning-layout-item key={boat.Id} padding="around-small" size="12" small-device-size="6"

                                medium-device-size="4" large-device-size="3">

                                <c-boat-tile boat={boat} selected-boat-id={selectedBoatId}

                                    onboatselect={updateSelectedTile}></c-boat-tile>

                            </lightning-layout-item>

                        </template>

                    </lightning-layout>

                </div>

            </template>

        </lightning-tab>

        <lightning-tab label="Boat Editor">

            <!-- Scrollable div and lightning datatable go here -->

            <template if:true={boats.data}>

                <div class="slds-scrollable_y">

                    <lightning-datatable key-field="Id" data={boats.data} columns={columns} onsave={handleSave}

                        draft-values={draftValues} hide-checkbox-column show-row-number-column>

                    </lightning-datatable>

                </div>

            </template>

        </lightning-tab>

        <lightning-tab label="Boats Near Me">

            <!-- boatsNearMe component goes here -->

            <c-boats-near-me boat-type-id={boatTypeId}></c-boats-near-me>

        </lightning-tab>

    </lightning-tabset>

</template>

 

boatSearchResults.js

import { LightningElement, wire, api, track } from 'lwc';

import getBoats from '@salesforce/apex/BoatDataService.getBoats';

import { updateRecord } from 'lightning/uiRecordApi';

import { ShowToastEvent } from 'lightning/platformShowToastEvent';

import { refreshApex } from '@salesforce/apex';

import { publish, MessageContext } from 'lightning/messageService';

import BoatMC from '@salesforce/messageChannel/BoatMessageChannel__c';

 

export default class BoatSearchResults extends LightningElement {

    boatTypeId = '';

    @track boats;

    @track draftValues = [];

    selectedBoatId = '';

    isLoading = false;

    error = undefined;

    wiredBoatsResult;

 

    @wire(MessageContext) messageContext;

 

    columns = [

        { label: 'Name', fieldName: 'Name', type: 'text', editable: 'true'  },

        { label: 'Length', fieldName: 'Length__c', type: 'number', editable: 'true' },

        { label: 'Price', fieldName: 'Price__c', type: 'currency', editable: 'true' },

        { label: 'Description', fieldName: 'Description__c', type: 'text', editable: 'true' }

    ];

 

    @api

    searchBoats(boatTypeId) {

        this.isLoading = true;

        this.notifyLoading(this.isLoading);

        this.boatTypeId = boatTypeId;

    }

 

    @wire(getBoats, { boatTypeId: '$boatTypeId' })

    wiredBoats(result) {

        this.boats = result;

        if (result.error) {

            this.error = result.error;

            this.boats = undefined;

        }

        this.isLoading = false;

        this.notifyLoading(this.isLoading);

    }

 

    updateSelectedTile(event) {

        this.selectedBoatId = event.detail.boatId;

        this.sendMessageService(this.selectedBoatId);

    }

 

    handleSave(event) {

        this.notifyLoading(true);

       const recordInputs = event.detail.draftValues.slice().map(draft=>{

           const fields = Object.assign({}, draft);

           return {fields};

       });

 

       console.log(recordInputs);

       const promises = recordInputs.map(recordInput => updateRecord(recordInput));

       Promise.all(promises).then(res => {

           this.dispatchEvent(

               new ShowToastEvent({

                   title: 'Success',

                   message: 'Ship It!',

                   variant: 'success'

               })

           );

           this.draftValues = [];

           return this.refresh();

       }).catch(error => {

           this.error = error;

           this.dispatchEvent(

                new ShowToastEvent({

                    title: 'Error',

                    message: 'Contact System Admin!',

                    variant: 'error'

                })

            );

            this.notifyLoading(false);

       }).finally(() => {

            this.draftValues = [];

        });

    }

 

    @api

    async refresh() {

        this.isLoading = true;

        this.notifyLoading(this.isLoading);      

        await refreshApex(this.boats);

        this.isLoading = false;

        this.notifyLoading(this.isLoading);        

    }

  

    notifyLoading(isLoading) {

        if (isLoading) {

            this.dispatchEvent(new CustomEvent('loading'));

        } else {

            this.dispatchEvent(CustomEvent('doneloading'));

        }

    }

 

     sendMessageService(boatId) { 

        publish(this.messageContext, BoatMC, { recordId : boatId });

    }

}

3 answers
  1. Jul 2, 2021, 6:19 AM

    I have added the required search method and imported that in JS file and it worked.

0/9000

Hi everyone, I have a big problem and I hope that someone can help me. For a project we need to connect an API access point to salesforce lightning.

To access it, the customer's IT has provided us with a p7d certificate, currently this certificate has been converted to jks to allow recognition by SF.

Unfortunately when we try to load it from the section - Certificate and Key Management -> Import from keystore - we constantly get an error loading :  Error : Invalid Data - Keystore file is corrupted. In salesforce we already have a SelfSigned certificate installed, unfortunately it is not possible to export this file to integrate the API portal elements to be reached.

 Do you have any solution to allow importing this certificate ?  Thank you very much

 

#Lightning  #Automation  #Integration

1 answer
  1. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Apr 4, 2025, 12:55 PM

    The "Invalid Data - Keystore file is corrupted" error when importing a JKS file into Salesforce often stems from compatibility issues or incorrect JKS creation. Here's a short and simple solution: 

    1. Enable Identity Provider in Salesforce: 

      Go to Setup > Identity > Identity Provider and click "Enable Identity Provider". This creates a self-signed certificate and can resolve import issues. 

     

    2. Re-import the JKS: 

       - Go back to Setup > Security > Certificate and Key Management > Import from Keystore. 

       - Select your JKS file, enter the correct password, and try importing again. 

     

    3. Verify JKS Creation: 

       - Ensure the JKS was created using Java 8 (Salesforce may not support newer versions). 

       - Use these commands to convert your P7B (PKCS#7) to JKS: 

         - Convert P7B to PKCS12: `openssl pkcs7 -print_certs -in certificate.p7b -out certificate.pem; openssl pkcs12 -export -in certificate.pem -inkey private_key.pem -out keystore.p12` 

         - Convert PKCS12 to JKS: `keytool -importkeystore -srckeystore keystore.p12 -srcstoretype pkcs12 -destkeystore salesforce.jks -deststoretype JKS` 

     

    4. Check for Private Key: 

       - Salesforce requires a private key in the JKS. If your P7B only contains a public certificate, you’ll need the private key from the customer’s IT to create a valid JKS. 

     

    5. Optional: Disable Identity Provider: 

       - After a successful import, you can disable the Identity Provider and delete the self-signed certificate if not needed. 

     

    This should resolve the issue. If the error persists, double-check the JKS file for corruption or alias issues using `keytool -list -keystore salesforce.jks`.

0/9000
Field Help text is not showing in Lightning but is showing in Classic UI. In Classic it shows no problem but in Lightning it just shows a blank text bubble. Any Ideas as to why that would be?

 

 
10 answers
  1. Dec 11, 2024, 9:36 AM

    Due to Browser cache the Help Text icon is not displayed on the record details page, Just clear the browser cache will resolve the issue

0/9000