Skip to main content

#LWC Component1 debatiendo

Hi, I am using servlet.shepherd to downlaod multiple files from a LWC at once . If one of the files, has a special character, it is getting downloaded inside the zip file with its content version Id as its name,  

On the other hand, if a single file with special character is downloaded, it is getting downloaded successfully with the original name,  

Can anybody help. Is this a standard behaviour or we have a way out to handle this. 

 

#Trailhead  #Salesforce Admin  #Salesforce Developer  #LWC  #LWC Component  #Files Section

1 comentario
0/9000
0/9000

🌟 Looking for a Remote Salesforce Internship Opportunity (Unpaid) 🌟 

Hi Trailblazers! 👋 

I’m currently seeking a remote, unpaid Salesforce internship opportunity based in the USA to gain real-world experience and deepen my hands-on skills. With over 2.5 years of experience as a Salesforce Developer and a strong foundation in Apex, LWC, SOQL, Flows, and integrations, I’m eager to contribute to meaningful projects—especially with nonprofits, startups, or growing teams. 

✅ Salesforce PD1 Certified 

 ✅ Proficient in Apex, LWC, Triggers, Flows, REST API 

 ✅ Passionate about continuous learning and problem-solving 

 ✅ Open to mentorship and collaborative teamwork 

If you know of any opportunities or organizations looking for motivated Salesforce talent, I’d be grateful for a referral or connection. 

📩 Let’s connect and build something impactful together!  

 

#Remote Internship  #Salesforce Developer  #LWC Component  #Apex

0/9000

Deleting 1000's of records in Salesforce interface itself. Without using 3rd party apps. 

 

If you want to delete 1000's of records you have to depend on third-party apps like Data Loader, Postman etc. You can use inbuilt Batch Apex, but not everyone can code or access to execute an apex code. So, I have built an LWC component that you can drag and drop to your page. It takes inputs from user and display all the number of records that will be affected. Once you press delete it invoke a batch apex that will delete all the records that's matching the criteria. You can also the progress without leave the page, it will be shown in the same LWC component. Demo below, 

 

https://www.linkedin.com/posts/vignesh-balan-04a792191_salesforce-lwc-activity-7275511032863735808-zNTj?utm_source=share&utm_medium=member_desktop&rcm=ACoAAC0kyroBo2vhiX2mvDzcz5WGI3q-MT6kUqI

 

 

#Salesforce Developer  #Apex  #LWC Component  #Trailhead Challenges  #Trailhead

0/9000

Hi all

I have written LWC that adds a new row whenever I click on the plus button but the newly added row inherits the value from the previous row. I want to set the values for the newly created rows as optional. Can anyone please help me here?

 

New Row inherits the value of previous row

 

#LWC Component  #LWC Development  #LWC

3 respuestas
  1. 12 ago 2025, 16:07

    Hii,

    If you want to ensure that newly added rows do not inherit values from the previous row, you should make sure that the data structure you use to hold the rows is initialized with completely new values each time(ideally blank here).

    You can use row add approach something like this 

0/9000

Hi All,

I want to learn the LWC in Salesforce.

Could anyone please provide the roadmap that I need to follow.

If possible could please share the resources as well

Thanks in advance 😇

#Salesforce Developer #LWC #LWC Component #LWC Development #LWC Components
11 respuestas
  1. 25 oct 2024, 9:57

    I can share you my udemy credentials..

    you can learn lwc from there as well or from the resources above provided

0/9000

Hi,

I am trying to reload the previous page after saving an edit form. After clicking on Save, I have used  window.history.back(); but it only navigates to the previous page, I require it to reload as well. Is there a way to do this?

#LWC  #LWC Component #Custom LWC #LWC Development #LWC Components

4 respuestas
  1. 10 dic 2024, 7:23

    Hii,

    To navigate back and reload the previous page, the most straightforward solution is to use window.history.back() followed by a short delay and window.location.reload().

     

    The implementation may look something like this : 

    window.history.back();

    setTimeout(function() {

    window.location.reload();

    }, 500);

0/9000

//I have created checkboxes using checkgroup the checkboxes are in single line iam trying to align in two columns but iam not succeded.  

<lightning-checkbox-group name="Checkbox Group" label="Checkbox Group" options={options}                         value={value} onchange={handleChange}></lightning-checkbox-group>                     <p>Selected Values are: {selectedValues}</p>

 

Thanks for any Help

 

#Trailhead #LWC #LWC Development #LWC Component #Lightning #Lightning Web Components

2 respuestas
  1. 18 nov 2024, 15:01

    To display checkboxes in two columns using lightning-checkbox-group, you'll need to adjust the layout using CSS because lightning-checkbox-group doesn't natively support multi-column layouts out of the box.

     

    You can achieve the two-column layout by wrapping the checkboxes in a custom div container and using CSS Grid or Flexbox to display the checkboxes in two columns.

     

    You can use something like this : 

    /* Styling for the checkbox container to use grid */

    .checkbox-container {

     display: grid; /* Use grid layout */

     grid-template-columns: repeat(2, 1fr); /* Create two equal columns */

     gap: 16px; /* Add space between checkboxes */

     max-width: 600px; /* Optional: set a max width */

    }

     

    /* Ensure the checkbox options fit well inside each column */

    .lightning-checkbox-group .slds-checkbox_faux {

     margin-bottom: 8px; /* Adjust the spacing between checkboxes */

    }

0/9000

I have created an LWC that takes the recordId from the URL.

https://myurl.lightning.force.com/lightning/n/invoice?c__recordId=a0B1q00000Jy2ZeEAJ

 

Now I have added the LWC in the aura component and added the aura component in a Visualforce page. Then I made the Visualforce page public by creating a new Force.com Site.

 

My new URL is https://myurl.force.com/invoice

I have tried

https://myurl.force.com/invoice?Id=a0B1q00000Jy2ZeEAJ

https://myurl.force.com/invoice?recordId=a0B1q00000Jy2ZeEAJ

https://myurl.force.com/invoice?c__recordId=a0B1q00000Jy2ZeEAJ

 

But I am not getting the parameter from the URL to my LWC.  How to solve this problem? 

 

PublicInvoice.app

<aura:application extends="ltng:outApp" implements="ltng:allowGuestAccess" access="Global">

<aura:dependency resource="c:molliePayment"/>

</aura:application>

 

PublicPayment.page

<apex:page standardController="Verkoopfactuur__c" lightningStylesheets="true">

<apex:includeLightning />

<div id="LightningAppDivId"></div>

<script>

$Lightning.use("c:PublicInvoice", function() {

$Lightning.createComponent("c:molliePayment", {

recordId : "{!$CurrentPage.parameters.Id}"

},

"LightningAppDivId",

function(component) {

});

});

</script>

</apex:page>

 

#Sales Cloud #Salesforce Developer  #LWC Component

2 respuestas
0/9000

Hi Team,

 

I am working on Use Lightning Data Service to Work with Data

 

url: https://trailhead.salesforce.com/content/learn/modules/lightning-web-components-and-salesforce-data/use-lightning-data-service-to-work-with-data

 

I am creating the accountCreator Object following the same steps as mentioned in the post but once the component is deployed and page is created, fields are not displaying in the app page

 

Can someone help me on this

 

#Trailhead Challenges  #LWC Component

5 comentarios
  1. 27 ago 2024, 13:17

    @Sushma Vallambotla, I assume that this issue needs further review and we may need access to your Salesforce org where you are trying to complete the challenge. We will create a case on behalf of you for this issue and reach out to you via email to investigate further.

     

    Thank you!

     

    ++CreateTrailheadCase ← You can ignore this command, it is a tool used by our Agents to tell the system to create your case.

0/9000