tag:blogger.com,1999:blog-9083431842638854569.post8059842390442649838..comments2024-02-23T19:00:00.764+05:30Comments on Salesforce Code Crack: Export data as CSV File with javascript in salesforce Lightning Web Component(lwc)Shaik Nagajanihttp://www.blogger.com/profile/08014314816293399854noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-9083431842638854569.post-4679317921670281282023-01-27T03:24:25.948+05:302023-01-27T03:24:25.948+05:30I am facing the same situation. Did you find out t...I am facing the same situation. Did you find out the answer?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-17154289155234642352022-07-27T19:16:08.820+05:302022-07-27T19:16:08.820+05:30Thank-you very much, this was really helpful!!!Thank-you very much, this was really helpful!!!Pratiksha Jadhavhttps://www.blogger.com/profile/04920808915950847226noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-5001475774336714272022-03-29T17:33:05.143+05:302022-03-29T17:33:05.143+05:30Hi,
Thanks for the example ,
and it works pretty g...Hi,<br />Thanks for the example ,<br />and it works pretty good.<br />One issue which I am having.<br />If I have a lot of data it cuts my csv file.<br />Is there any workarounds for this.Anonymoushttps://www.blogger.com/profile/07695647248767481656noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-32642595483422453862021-11-21T10:48:04.674+05:302021-11-21T10:48:04.674+05:30When I choose a custom object I'm getting cust...When I choose a custom object I'm getting custom api names of respective fields in csv , but I should get label names can anyone ols let me know how to do itAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-42778708238998453742021-09-13T13:02:20.044+05:302021-09-13T13:02:20.044+05:30How to export lineItem data in parent IDHow to export lineItem data in parent IDAnonymoushttps://www.blogger.com/profile/16210305641887773032noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-33855986897855645072021-06-04T03:12:10.029+05:302021-06-04T03:12:10.029+05:30Hey there, would it be possible for you to show ho...Hey there, would it be possible for you to show how to do the same thing but export as an Excel file (.xls) rather than .CSV?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-33100036635202640622021-05-25T17:53:34.368+05:302021-05-25T17:53:34.368+05:30@Mohinish, how did you overcome download file name...@Mohinish, how did you overcome download file name issue?Anonymoushttps://www.blogger.com/profile/18217305139998646848noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-17195639058491147642021-02-02T17:50:29.717+05:302021-02-02T17:50:29.717+05:30Export data is not working in salesforce mobile ap...Export data is not working in salesforce mobile app.Pardeep Kumarhttps://www.blogger.com/profile/09507711312955694009noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-39131430872233789002021-01-08T01:50:16.678+05:302021-01-08T01:50:16.678+05:30Hi, where you able to find the Size and record lim...Hi, where you able to find the Size and record limit?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-23680251499582021282020-11-10T20:54:20.240+05:302020-11-10T20:54:20.240+05:30You can also skip a column when you build your hea...You can also skip a column when you build your headers.<br /><br />FROM:<br /><br />// getting keys from data<br />this.data.forEach(function (record) {<br /> Object.keys(record).forEach(function (key) {<br /> rowData.add(key);<br /> });<br />});<br /><br />TO:<br />// getting keys from data<br />this.data.forEach(function (record) {<br /> Object.keys(record).forEach(function (key) {<br /> if(key !== 'Id) rowData.add(key);<br /> });<br />});<br />Dimahttps://www.blogger.com/profile/09543446745027765106noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-84872709020288618762020-10-23T14:25:06.376+05:302020-10-23T14:25:06.376+05:30Hi All,
Can you please post same functionality in...Hi All,<br /><br />Can you please post same functionality in Aura component.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-54277563515200508812020-09-13T08:48:18.695+05:302020-09-13T08:48:18.695+05:30Thank you for your post it has been very education...Thank you for your post it has been very educational! I am using a lightning:tree-grid and would like to apply this logic to include an export to csv link. Unfortunately, I am fairly new to Salesforce and am not sure how to break out the child row object(s). Can you suggest what I might do to modify your solution for a tree-grid? Thank you for your time and assistance!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-41966119691490982942020-08-25T19:47:30.141+05:302020-08-25T19:47:30.141+05:30not downloading the csv if am in lightning version...not downloading the csv if am in lightning version. downloading file with "download" as name not as .csv extension. but this works in Classic version. any help?Mohinish Nandwanahttps://www.blogger.com/profile/11868847349045068009noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-5935562904265296142020-08-06T14:11:30.167+05:302020-08-06T14:11:30.167+05:30What is size limit for the CSV file and how many r...What is size limit for the CSV file and how many records does the download supports?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-28686855795990339642020-08-05T21:06:37.395+05:302020-08-05T21:06:37.395+05:30Is there a way to customize those fields? For exam...Is there a way to customize those fields? For example the length or the color of a specific field.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-15866581159475021102020-07-29T17:44:18.089+05:302020-07-29T17:44:18.089+05:30How can I change the row header and the column ord...How can I change the row header and the column order?Anonymoushttps://www.blogger.com/profile/17231466111302182452noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-47178257371521022112020-07-14T09:37:20.276+05:302020-07-14T09:37:20.276+05:30Remove the Id field in SOQL query.Remove the Id field in SOQL query.Shaik Nagajanihttps://www.blogger.com/profile/08014314816293399854noreply@blogger.comtag:blogger.com,1999:blog-9083431842638854569.post-46404016374214672802020-07-12T00:16:34.543+05:302020-07-12T00:16:34.543+05:30how to remove id field in csv file
how to remove id field in csv file<br />Anonymoushttps://www.blogger.com/profile/00656771651952324688noreply@blogger.com