Can you please show the custom label for NASA_APOD_APIS
@subrahmanyagaonkar57572 күн бұрын
I tried this on Case object, but its not working. Its working on account but not on case
@SalesforceBoltКүн бұрын
Are you getting any errors in console?
@ruchitham94873 күн бұрын
Thank you for sharing this ❤
@SalesforceBolt2 күн бұрын
You're welcome!
@nitinsen91586 күн бұрын
bhaiya macbook ka konsa colour you have ?
@SalesforceBolt5 күн бұрын
It’s black
@abhinavtyagi19016 күн бұрын
Can we add image in tree grid component ??
@SalesforceBolt6 күн бұрын
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.
@n0cool8 күн бұрын
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.
@SalesforceBolt8 күн бұрын
Nice scenario but unfortunately it’s not possible to refresh a particular standard component.
@n0cool5 күн бұрын
@@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?
@RRits5711 күн бұрын
nice! is it easy to add a contentdocument as attachment?
@SalesforceBolt9 күн бұрын
It needs a separate customisation 😅
@sathikgani799016 күн бұрын
How to retrieve the change data capture in vs code using sf command
@SalesforceBolt13 күн бұрын
It will be displaying in the Platform Events metadata. You can include it in your package.xml file
@RohitStudycenter11116 күн бұрын
Will it work on community??
@SalesforceBolt16 күн бұрын
No it's not available in experience builder sites.
@kiranchaudhari459918 күн бұрын
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 ?
@SalesforceBolt17 күн бұрын
Unfortunately customisation is not an option with this utility. But LWC is always there to help you to build your own designs 🙂
@ayushipatel24120 күн бұрын
Great approach and easily understood. Thanks !
@SalesforceBolt19 күн бұрын
Thanks, glad you like it.
@RecycleRite-ou5mi20 күн бұрын
i did exact same. But my text is not rendering on both conditions
@SalesforceBolt19 күн бұрын
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-n1e22 күн бұрын
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?
@SalesforceBolt19 күн бұрын
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Ай бұрын
Can we trap focus in the modal until we click esc or cancel
@SalesforceBolt25 күн бұрын
You can set it up by using keyboard actions.
@sivakrishna-io1zf24 күн бұрын
@@SalesforceBolt can you explain it please
@SalesforceBolt24 күн бұрын
@@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Ай бұрын
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Ай бұрын
Does your user has access to Platform Events as well?
@guerreroandrey5Ай бұрын
@@SalesforceBolt I tried to look for that permission, but I could not find it, where is it?
@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Ай бұрын
Hey Anshul, Happy Independence Day. Could you please share the exact error that you are getting.
@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Ай бұрын
How can we do to custom data table(inline edting)if we are getting multiple contacts?
@SalesforceBoltАй бұрын
Are you getting any issues while implementing it?
@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Ай бұрын
I haven’t tried it! Will check and let you know.
@Salesforce_HindiАй бұрын
Hi, I want to clone whole lwc ui into pdf, is it possible ?
@SalesforceBoltАй бұрын
Not sure about it, need to check!
@yashaswish9532Ай бұрын
Hey, can different columns be set for child below the parent row instead of mashing child's columns with parent.
@SalesforceBoltАй бұрын
Are you trying to add different column from Parent itself?
@penkogadzhev9805Ай бұрын
Thanks for sharing this
@SalesforceBoltАй бұрын
Glad you like it!
@chaitanyawalukar128Ай бұрын
No one shows data in bulk. It's not useful at all for showing demo for a single record.
@SalesforceBoltАй бұрын
Hmm bulk data would be interesting to see. Will try to create another demo.
@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Ай бұрын
This url addressable is not applicable for experience site..u can use in dev
@SalesforceBoltАй бұрын
It’s not supported in experience site.
@Trailhead_ChampionАй бұрын
where should we get this code
@SalesforceBoltАй бұрын
There is a blog post link in every video’s description.
@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Ай бұрын
Thanks, glad you like it 🙂🙏
@assiabensaada18522 ай бұрын
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Ай бұрын
You can do edit page and click on the component to check its name.
@khajahussainpathan10642 ай бұрын
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Ай бұрын
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Ай бұрын
Thanks, glad you like it!
@creative_mudassir2 ай бұрын
How can we schedule email in LWC like user give schedule time and date ?
@TinaODell8882 ай бұрын
Do you know if it can perform mass update fields? For example, mass update a field in all records in the datatable?
@pravallika27902 ай бұрын
Is it possible to make visibility for specific user only not for other users(interview question asked for me)
@VikramSinghYadav-fr2mm2 ай бұрын
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>
@gauravjoshi38792 ай бұрын
Hi kapil where I can find the function that you are using like uppercase() or other predefined function of js
@OaishKukreja2 ай бұрын
Hi I need some urgent help on this graphQL refresh. So has anyone tried to use it when a record is deleted as well?
@SalesforceBolt2 ай бұрын
Are you facing any error?
@charlesoliveria23 ай бұрын
It would be great to see one with best practices for Webhook setup.
@SalesforceBolt2 ай бұрын
Thanks for the suggestion, I will add it in the queue
@charlesoliveria23 ай бұрын
Thank you!
@SalesforceBolt2 ай бұрын
Glad you like it.
@VivekKumar-yp5vw3 ай бұрын
Hi Sir, Why does RefreshEvent not work when dispatched from lwc component inside Lightning quick Action.
@namanshetty27813 ай бұрын
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?
@shivanik64973 ай бұрын
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));
@vinaysaraswat75983 ай бұрын
Hi I'm not able to find the value of date and task on console
@SalesforceBolt3 ай бұрын
Do you see any error in console?
@rjkipakp3 ай бұрын
How to delete Salesforce reports using Apex
@SalesforceBolt3 ай бұрын
Reports are not data objects. You need to do it via tooling or metadata apis
@aadyamkudi3 ай бұрын
Excellent
@SalesforceBolt3 ай бұрын
Thanks!
@aadyamkudi3 ай бұрын
I wish i have seen this serious before , eqch and every point is understood clearly Thankyou so much 🙏🏻🙏🏻
@SalesforceBolt3 ай бұрын
Thanks glad you like it!
@aadyamkudi3 ай бұрын
Great
@SalesforceBolt3 ай бұрын
Thanks!
@nareshkumar2453 ай бұрын
Can you tell how to get all objects using graphql
@SalesforceBolt3 ай бұрын
Hmm I haven't tried getting metadata yet but it should be same as getting it using soql
@namanshetty27813 ай бұрын
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.
@SalesforceBolt3 ай бұрын
Here you go www.salesforcebolt.com/2023/08/5-aura-coexistence-in-lwc-learn.html?m=1
@SalesforceBolt3 ай бұрын
Here you go www.salesforcebolt.com/2023/08/5-aura-coexistence-in-lwc-learn.html?m=1
@ayantikachakraborty45123 ай бұрын
My UtilityBar not showing , can you please tell me why?
@SalesforceBolt3 ай бұрын
Hey do you still have this issue?
@shaycorvo42903 ай бұрын
Thanks You helped me a lot !!!
@SalesforceBolt3 ай бұрын
Thanks glad you like it.
@rehankapoor75044 ай бұрын
Is there a way to extract data from Salesforce to an external webstie?
@venkateshs91924 ай бұрын
Will refreshing the page closes the opened subtab?