Пікірлер
@Prashanth-d6e
@Prashanth-d6e 3 сағат бұрын
Can you please show the custom label for NASA_APOD_APIS
@subrahmanyagaonkar5757
@subrahmanyagaonkar5757 2 күн бұрын
I tried this on Case object, but its not working. Its working on account but not on case
@SalesforceBolt
@SalesforceBolt Күн бұрын
Are you getting any errors in console?
@ruchitham9487
@ruchitham9487 3 күн бұрын
Thank you for sharing this ❤
@SalesforceBolt
@SalesforceBolt 2 күн бұрын
You're welcome!
@nitinsen9158
@nitinsen9158 6 күн бұрын
bhaiya macbook ka konsa colour you have ?
@SalesforceBolt
@SalesforceBolt 5 күн бұрын
It’s black
@abhinavtyagi1901
@abhinavtyagi1901 6 күн бұрын
Can we add image in tree grid component ??
@SalesforceBolt
@SalesforceBolt 6 күн бұрын
As it’s depends on the data types of the columns, I don’t see image option there. Try to check if rich text area works.
@n0cool
@n0cool 8 күн бұрын
Great video! Is it possible to refresh only one standard component? In my usecase I need refresh the standard chatter component on a record page when there is new message.
@SalesforceBolt
@SalesforceBolt 8 күн бұрын
Nice scenario but unfortunately it’s not possible to refresh a particular standard component.
@n0cool
@n0cool 5 күн бұрын
@@SalesforceBolt I tried and I see that some components, like the chatter feed and the related record detail components, do not refresh. Do you know if there is a list of the components that can be refreshed?
@RRits57
@RRits57 11 күн бұрын
nice! is it easy to add a contentdocument as attachment?
@SalesforceBolt
@SalesforceBolt 9 күн бұрын
It needs a separate customisation 😅
@sathikgani7990
@sathikgani7990 16 күн бұрын
How to retrieve the change data capture in vs code using sf command
@SalesforceBolt
@SalesforceBolt 13 күн бұрын
It will be displaying in the Platform Events metadata. You can include it in your package.xml file
@RohitStudycenter111
@RohitStudycenter111 16 күн бұрын
Will it work on community??
@SalesforceBolt
@SalesforceBolt 16 күн бұрын
No it's not available in experience builder sites.
@kiranchaudhari4599
@kiranchaudhari4599 18 күн бұрын
Hello , this is cool features but I need to understand any customization in email composer like before send email I need to validate few things and add extra button in email composer it is possible ?
@SalesforceBolt
@SalesforceBolt 17 күн бұрын
Unfortunately customisation is not an option with this utility. But LWC is always there to help you to build your own designs 🙂
@ayushipatel241
@ayushipatel241 20 күн бұрын
Great approach and easily understood. Thanks !
@SalesforceBolt
@SalesforceBolt 19 күн бұрын
Thanks, glad you like it.
@RecycleRite-ou5mi
@RecycleRite-ou5mi 20 күн бұрын
i did exact same. But my text is not rendering on both conditions
@SalesforceBolt
@SalesforceBolt 19 күн бұрын
Are you getting any error? Please check the blog post link from the video description to get the code snippet and try to copy paste the exact code.
@JustLike-n1e
@JustLike-n1e 22 күн бұрын
Hi Kapil, which one you suggested for scenario : i am fetching records to data table based on contact search name with cached approach Whenever search key changes the data in data table changes, based on search key the number of records may vary So which approach client or server?
@SalesforceBolt
@SalesforceBolt 19 күн бұрын
I am expecting a good volume here. But still the overall solution design matters, if there is a button which needs to be clicked after the search key, a server side approach would be better. If the expected total volume is low or medium level you can query all at once and filter out the data on search key text change. It will give you a seamless user experience!
@sivakrishna-io1zf
@sivakrishna-io1zf Ай бұрын
Can we trap focus in the modal until we click esc or cancel
@SalesforceBolt
@SalesforceBolt 25 күн бұрын
You can set it up by using keyboard actions.
@sivakrishna-io1zf
@sivakrishna-io1zf 24 күн бұрын
@@SalesforceBolt can you explain it please
@SalesforceBolt
@SalesforceBolt 24 күн бұрын
@@sivakrishna-io1zf You can control keyboard key press events and detect keys as well whenever esc key is getting pressed. you can check this for reference - www.salesforcebolt.com/2022/07/trigger-functionality-using-keyboard-lightning-web-component.html#google_vignette
@guerreroandrey5
@guerreroandrey5 Ай бұрын
I tried to do this and it works but only for the admin, I gave access to the Apex Classes to the profile of the user which cannot see the changes with the refresh, but still does not work
@SalesforceBolt
@SalesforceBolt Ай бұрын
Does your user has access to Platform Events as well?
@guerreroandrey5
@guerreroandrey5 Ай бұрын
@@SalesforceBolt I tried to look for that permission, but I could not find it, where is it?
@anshulkanaujia3308
@anshulkanaujia3308 Ай бұрын
Hey Kapil, Wish you a very Happy Independence Day. Your explanation is very good for both REST and Fetch, But I'm facing one issue in my code. Actually I'm trying to make a callout using Fetch in my LWC along with Authentication Header but it shows CSP related error, while I have added my Third Party Url inside Trusted Site with all directives.
@SalesforceBolt
@SalesforceBolt Ай бұрын
Hey Anshul, Happy Independence Day. Could you please share the exact error that you are getting.
@sundarkrishnaa
@sundarkrishnaa Ай бұрын
I followed the same but the componet is not getting displayed in the custom component section in the Lightining App Wizard,tried mutiple options , still no , in the component section is there ,iam stuck ,Please help
@RohitStudycenter111
@RohitStudycenter111 Ай бұрын
How can we do to custom data table(inline edting)if we are getting multiple contacts?
@SalesforceBolt
@SalesforceBolt Ай бұрын
Are you getting any issues while implementing it?
@rishabhagnihotri6262
@rishabhagnihotri6262 Ай бұрын
Hi, is it possible to clone full lwc into pdf....like user filled a form not that form is visible to user in read only mode. User can click on download button and get one pdf.
@SalesforceBolt
@SalesforceBolt Ай бұрын
I haven’t tried it! Will check and let you know.
@Salesforce_Hindi
@Salesforce_Hindi Ай бұрын
Hi, I want to clone whole lwc ui into pdf, is it possible ?
@SalesforceBolt
@SalesforceBolt Ай бұрын
Not sure about it, need to check!
@yashaswish9532
@yashaswish9532 Ай бұрын
Hey, can different columns be set for child below the parent row instead of mashing child's columns with parent.
@SalesforceBolt
@SalesforceBolt Ай бұрын
Are you trying to add different column from Parent itself?
@penkogadzhev9805
@penkogadzhev9805 Ай бұрын
Thanks for sharing this
@SalesforceBolt
@SalesforceBolt Ай бұрын
Glad you like it!
@chaitanyawalukar128
@chaitanyawalukar128 Ай бұрын
No one shows data in bulk. It's not useful at all for showing demo for a single record.
@SalesforceBolt
@SalesforceBolt Ай бұрын
Hmm bulk data would be interesting to see. Will try to create another demo.
@ReinierLopez-q3x
@ReinierLopez-q3x Ай бұрын
Hi, I tried this approach in an Experience site and couldn't get it to work, the navigation button won't display the destination LWC. Anyone tried this in a site? thx
@vikasprasad5309
@vikasprasad5309 Ай бұрын
This url addressable is not applicable for experience site..u can use in dev
@SalesforceBolt
@SalesforceBolt Ай бұрын
It’s not supported in experience site.
@Trailhead_Champion
@Trailhead_Champion Ай бұрын
where should we get this code
@SalesforceBolt
@SalesforceBolt Ай бұрын
There is a blog post link in every video’s description.
@yatin1370
@yatin1370 Ай бұрын
I have gone deeper in JS and revisited this project. It all clicks so well when your JS is clear! I can now truly appreciate how well compiled this project is. It gives you an overview of so many things in just 2 hrs. Thank you Kapil 🙏
@SalesforceBolt
@SalesforceBolt Ай бұрын
Thanks, glad you like it 🙂🙏
@assiabensaada1852
@assiabensaada1852 2 ай бұрын
thanx for the video, i have question if i have a page containing a lwc component how to identify the name of that component please?
@SalesforceBolt
@SalesforceBolt Ай бұрын
You can do edit page and click on the component to check its name.
@khajahussainpathan1064
@khajahussainpathan1064 2 ай бұрын
Easy to understand, one of the best video for beginners, I have question, how can we minimize utility on button clicks ? can you please help me on that
@yatin1370
@yatin1370 Ай бұрын
Correction: the @api property and all the code I mentioned will go on the 'CreateTaskAction' component...Seems the earlier comment i made is not approved to be visible yet as it contained a help article link...hope its approved..
@SalesforceBolt
@SalesforceBolt Ай бұрын
Thanks, glad you like it!
@creative_mudassir
@creative_mudassir 2 ай бұрын
How can we schedule email in LWC like user give schedule time and date ?
@TinaODell888
@TinaODell888 2 ай бұрын
Do you know if it can perform mass update fields? For example, mass update a field in all records in the datatable?
@pravallika2790
@pravallika2790 2 ай бұрын
Is it possible to make visibility for specific user only not for other users(interview question asked for me)
@VikramSinghYadav-fr2mm
@VikramSinghYadav-fr2mm 2 ай бұрын
1 html file <template> <lightning-card title=" Account List"> <template if:true={Accounts}> <div class="slds-var-m-around_medium"> <template for:each={Accounts} for:item="acc"> <lightning-layout key={acc.id} class="slds-var-m-vertical_x-small"> <lightning-layout-item flexibility="grow"> {acc.Name} </lightning-layout-item> <lightning-layout-item flexibility="grow"> <lightning-button-icon icon-name="utility:delete" onclick={deleteAccount} data-recordid={acc.Id}></lightning-button-icon> </lightning-layout-item> </lightning-layout> </template> </div>" </template> </lightning-card> </template> 2 js file import { LightningElement,wire } from 'lwc'; import {ShowToastEvent} from 'lightning/platformShowToastEvent'; import {refreshApex} from '@salesforce/apex'; import {deleteRecord} from 'lightning/uiRecordApi'; import getAccList from '@salesforce/apex/AccountController1.getAccList'; export default class DeleteAccounts extends LightningElement { Accounts; error; wiredAccountsResult; @wire(getAccList) wiredAccounts(result){ this.wiredAccountsResult=result; if(result.data){ this.Accounts=result.data; console.log('acclist=>'+JSON.stringify(this.Accounts)); this.error=undefined; }else if(result.error){ this.error=result.error; this.Accounts=undefined; } } deleteAccount(event){ const recordid=event.target.dataset.recordid; console.log('recordid=>'+recordid); deleteRecord(recordid) .then(()=>{console.log('success') this.dispatchEvent( new ShowToastEvent({ title: 'Account deleted successfully', message: 'Account with Id: '+recordid+' has been deleted', variant:'success' }) ); return refreshApex(this.wiredAccountsResult); }) .catch((error)=>{ this.dispatchEvent( new ShowToastEvent({ title: 'Error deleting Account', message: error.message, variant:'error' }) ); }); } } 3 class public with sharing class AccountController1 { @AuraEnabled(cacheable=true) public static List<Account> getAccList(){ return [select Id,Name from Account order by CreatedDate desc Limit 10]; } } 4 xml file <?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="soap.sforce.com/2006/04/metadata"> <apiVersion>61.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__AppPage</target> <target>lightning__RecordPage</target> <target>lightning__HomePage</target> </targets> </LightningComponentBundle>
@gauravjoshi3879
@gauravjoshi3879 2 ай бұрын
Hi kapil where I can find the function that you are using like uppercase() or other predefined function of js
@OaishKukreja
@OaishKukreja 2 ай бұрын
Hi I need some urgent help on this graphQL refresh. So has anyone tried to use it when a record is deleted as well?
@SalesforceBolt
@SalesforceBolt 2 ай бұрын
Are you facing any error?
@charlesoliveria2
@charlesoliveria2 3 ай бұрын
It would be great to see one with best practices for Webhook setup.
@SalesforceBolt
@SalesforceBolt 2 ай бұрын
Thanks for the suggestion, I will add it in the queue
@charlesoliveria2
@charlesoliveria2 3 ай бұрын
Thank you!
@SalesforceBolt
@SalesforceBolt 2 ай бұрын
Glad you like it.
@VivekKumar-yp5vw
@VivekKumar-yp5vw 3 ай бұрын
Hi Sir, Why does RefreshEvent not work when dispatched from lwc component inside Lightning quick Action.
@namanshetty2781
@namanshetty2781 3 ай бұрын
Here we are the updating the value of a property inside renderedCallBack, but it's not good practice as this lifecycle hook fires again and again if the property is updated hence the component renders?
@shivanik6497
@shivanik6497 3 ай бұрын
Hi, For me it is not working accourding to the output in the video. For me individial row is created for each rating again and again all the Warm rating records are not showing under warm rating at once. Can you please suggest what changes needs to be made to the code? for (let i = 0; i < accounts.length; i++) { let jsonData = '{"Id":"' + parentId + '","Name":"","Rating":"' + accounts[i].Rating + '","Phone":""}'; if (parentId === 0) { parseData.push(JSON.parse(jsonData)); parseData[parentId]._children = []; parseData[parentId]._children.push(accounts[i]); parentEntity = accounts[i].Rating; parentId++; } else { if (accounts[i].Rating === parentEntity) { parseData[parentId - 1]._children.push(accounts[i]); } else { parentEntity = accounts[i].Rating; parseData.push(JSON.parse(jsonData)); parseData[parentId]._children = []; parseData[parentId]._children.push(accounts[i]); parentId++; } } } this.accounts = parseData; console.log('Accounts------>'+ JSON.stringify(this.accounts));
@vinaysaraswat7598
@vinaysaraswat7598 3 ай бұрын
Hi I'm not able to find the value of date and task on console
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Do you see any error in console?
@rjkipakp
@rjkipakp 3 ай бұрын
How to delete Salesforce reports using Apex
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Reports are not data objects. You need to do it via tooling or metadata apis
@aadyamkudi
@aadyamkudi 3 ай бұрын
Excellent
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Thanks!
@aadyamkudi
@aadyamkudi 3 ай бұрын
I wish i have seen this serious before , eqch and every point is understood clearly Thankyou so much 🙏🏻🙏🏻
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Thanks glad you like it!
@aadyamkudi
@aadyamkudi 3 ай бұрын
Great
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Thanks!
@nareshkumar245
@nareshkumar245 3 ай бұрын
Can you tell how to get all objects using graphql
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Hmm I haven't tried getting metadata yet but it should be same as getting it using soql
@namanshetty2781
@namanshetty2781 3 ай бұрын
Hey nice content. I have a requirement where i have lwc embedded inside Aura component and i want to pass a value from aura to lwc.
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Here you go www.salesforcebolt.com/2023/08/5-aura-coexistence-in-lwc-learn.html?m=1
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Here you go www.salesforcebolt.com/2023/08/5-aura-coexistence-in-lwc-learn.html?m=1
@ayantikachakraborty4512
@ayantikachakraborty4512 3 ай бұрын
My UtilityBar not showing , can you please tell me why?
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Hey do you still have this issue?
@shaycorvo4290
@shaycorvo4290 3 ай бұрын
Thanks You helped me a lot !!!
@SalesforceBolt
@SalesforceBolt 3 ай бұрын
Thanks glad you like it.
@rehankapoor7504
@rehankapoor7504 4 ай бұрын
Is there a way to extract data from Salesforce to an external webstie?
@venkateshs9192
@venkateshs9192 4 ай бұрын
Will refreshing the page closes the opened subtab?