Skip to main content

#LWCOpenSource토론 중인 항목 0개

🚀 Exciting News! 🚀

🌟 I'm thrilled to announce the launch of a dynamic Lightning Data Table using LWC in Salesforce! 🌟

🔍 This Lightning Data Table is a game-changer, providing unparalleled flexibility tailored to your preferences. Whether you require pagination, record editing, or advanced filtering, this component has you covered. Plus, it's all customizable through a straightforward configuration process!

🎯 Key Features:

1️⃣ Pagination: Seamlessly navigate through your data with customizable pagination options.

2️⃣ Add Record: Empower users to seamlessly add records directly within the data table, streamlining data entry.

3️⃣ Edit Existing Record: Effortlessly update existing records directly from the data table, boosting productivity.

4️⃣ Header Customization: Personalize the header of your data table to align with your branding or specific requirements.

5️⃣ Advanced Filtering: Implement advanced filters to swiftly narrow down data based on specific criteria, optimizing data analysis.

6️⃣ Efficient Searching: Easily search through large datasets with built-in search functionality, ensuring rapid access to relevant information.

7️⃣ Height Adjustment: Customize the height of your data table to accommodate varying amounts of data, ensuring an optimal display and user experience.

8️⃣ Console Logging: Enable console logging for enhanced debugging and troubleshooting capabilities, ensuring smooth operation of your data table.

9️⃣ Pagination Record Limit: Specify the number of records displayed per page for efficient data management and navigation.

🔟 Record Deletion: Delete records directly from the data table with ease, simplifying data.

And that's just the beginning! Stay tuned for more exciting updates and enhancements in the future.

🔗 Check out the Public GitHub Repository for this Lightning Data Table component:

https://github.com/Himanshu987399/-Lightning-Datatable

Let's revolutionize the way we interact with data in Salesforce together! 💼✨

#Sales Cloud #LWC #LWC Development #LWC Components #SF LWC #LWCOpenSource #LWC Framework
0/9000

a)      Create custom label named Save Project  and value ad TRUE

b)      Override new action on  project record : use lightning-record-form component so that new project should be saved only by reading custom label value using apex.  If Custom label value is true allow Project record to save , if not don’t allow. 

c)       Remove standard edit button and create new detailed button named as Edit.Custom edit action  on project record , use lightning-record-edit-form and only description field is editable. Also show up the project members  in a table(readonly).

 

This is /my Obj Details ?

Object Name : Project

Standard fields :

Project Id (Name): Text(30)

Custom fields :

Project Name : Text (100)

Description : TextArea

DueDate : Date 

Remaining Days for DueDate : Formula 

Status : Picklist(Initialized , Confirmed)  and set default value as Initialized.

Archived : Checkbox 

 

#LWC  #LWCOpenSource  #Trailhead

답변 2개
  1. 2021년 10월 31일 오전 9:00

    Hi @Rahul Palav, for the scenarios you can follow along

     

    a) Follow these steps to create a custom label 1. Go to Setup and type custom label in Quick Find.

    Hi , for the scenarios you can follow along a) Follow these steps to create a custom label 1. Go to Setup and type custom label in Quick Find. 2.

     2. Click on "New custom label" and fill in your label details.

    custom-labels-2.png

     

    b) Follow these steps for scenario (b)

     

    Step 1 - Create a Lightning Web Component with a lightning-record-form component where you can implement view and with help of the Apex Class (Controller class for LWC) implement the business logic.

     

    Step 2 - To Open this Lightning Component with the new Action on the Project Record, you first have to create an Aura Component and add the following tags inside the aura component (.cmp)

     

    <aura:component implements="force:lightningQuickAction,force:hasRecordId">     <c:customAction /> </aura:component>

     

    Here in the place of custom action type in the name of your LWC component in Aura Format. It means if in LWC you write the following tag

     

    <c-my-component> </c-my-component>  then in Aura, you should write it as   <c:myComponent />

     

    Now you need to edit the 'New' button functionality and for that follow these steps.  1. Click on the setup and Go to Object Manager. 2. Select your object (Project in your case). 3. Click on the Buttons, Links, and Actions.

     

    buttons-links-and-actions.png

     4. Scroll Down till you get the 'New' button Action, Click on edit.

     

    new-button.png

     5. From Lightning Component Override option select Lightning Component.

     

    lightning-experience-override.png

     6. From the picklist choose your aura component. 7. Click on Save.

    and it's done.

     

    c) Instead of Deleting the Edit button (Which is not even possible as it is a standard button) you can use the same approach as in the previous step. edit-button.png

     Definitely, you have to create new LWC and Aura Components for the edit option as well.

     

    [Note - Creating Aura components is a must as right now there is no way in Salesforce to override Lightning Experience action with an LWC]

     

    Hope this will help you in your scenarios. In case of any other issues please let me know.

     

    Please mark it as the best answer in case it resolves your blocker.

     

    Thanks.

0/9000

Hi All,

Please help me anyone why this process not finished.?

 

#LWC  #Trailhead Challenges  #LWC Component  #LWCOpenSource  #Trailhead

Im Currently working on trailhead module :Build Your First Application with Lightning Web Components Open Source https://trailhead.salesforce.com/en/content/learn/projects/build-your-first-app-with-lightning-web-components-open-source  

I followed the same instruction given in trailhead module..

I installed latest node.js, latest git, latest CLI..

When im running this command its running..but its not finishing more than an hour...Please suggest

npx create-lwc-app conference-app --yes -o express

 

Trailhed  Error

 After that its not finishing: idealTree:error-overlay-webpack-plugin: timing. idealTree:node_modules/error-overlay-webpack-plug  

답변 3개
  1. 2021년 9월 17일 오후 8:46

    Hi @Afrose Ahamed,

     

    I'm a member of the Trailhead Help, we see you have completed the challenge, could you please mark any of the above responses as 'Best Answer' which helped you to resolve your query and close this thread. 

     

    Thank you!

0/9000
Surender kumar (web sfdc technology) 님이 #LWC에 질문했습니다

Create an LWC component on which we have a stateful icon button. On click of that, we need to store page record id, URL, Type of Object, User details, Date and time in a custom object 

 

also if the thing is stored on click again it should remove the record 

 

#LWC  #LWC Components  #LWCOpenSource  #Sales Cloud

답변 2개
0/9000
Ashwin M (Salesforce) 님이 * Lightning Now! *에 글을 올렸습니다

I'm trying to use lwc:dynamic directive in my LWC component , Getting an error as below "Invalid lwc:dynamic usage. The LWC dynamic Directive must be enabled in order to use this feature.lwc" 

Can someone let me know , how do I enable this feature or is it yet to be Generally Available?

0/9000

Here is a single LWC Open Source App for you : https://salesforcelwc.herokuapp.com 

Sample use case :

  1. How do I check my platform event JSON message structure ?
  2. For insert which are all fields included in my CDC JSON body ?
  3. For Update which are all fields included in my CDC JSON body ?
  4. For Delete do I receive only the sObject id or anything else ?
  5. Push Topic is firing only for Insert/Update or for Delete also ?
  6. How do I get Account and its Contact in a single tabular structure(SOQL) ?
  7. How do I test my Apex REST API class created today without an external endpoint, etc.

Post your experience/feedback  with me. I will try to do any improvement if required.

0/9000