tag:blogger.com,1999:blog-1935655503299435627.post3892038571070898391..comments2023-03-29T20:31:21.038+05:30Comments on Force.com, Visualforce, Apex, Triggers, Sites : Trekbin Technologies: How to use Batch Apex in SalesforceTrekbin Technologieshttp://www.blogger.com/profile/08235678279956052118noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-1935655503299435627.post-27494476598852875742014-11-05T11:37:23.424+05:302014-11-05T11:37:23.424+05:30we have apex data loader right then why to go for ...we have apex data loader right then why to go for BatchApex?<br />Anonymoushttps://www.blogger.com/profile/14061655460892425037noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-443623747089107802014-11-05T11:22:43.881+05:302014-11-05T11:22:43.881+05:30Hi if i want to send an email that how many accoun...Hi if i want to send an email that how many accounts are deleted and how many are not deleted,how it can be done plz explainAnonymoushttps://www.blogger.com/profile/14061655460892425037noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-37602418545393941622014-09-15T19:54:46.500+05:302014-09-15T19:54:46.500+05:30SingleEmail message is max1000 per 24 hours. Did i...SingleEmail message is max1000 per 24 hours. Did it actually work after that?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-41170506494600159222013-01-23T23:09:57.420+05:302013-01-23T23:09:57.420+05:30how to display batch apex in vf page ???how to display batch apex in vf page ???Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-84118722834212309362013-01-12T17:28:02.787+05:302013-01-12T17:28:02.787+05:30global class deleteAccounts implements Database.Ba...global class deleteAccounts implements Database.Batchable<br /> {<br /> global final String Query;<br /> global deleteAccounts(String q)<br /> {<br /> Query=q;<br /> }<br /> <br /> global Database.QueryLocator start(Database.BatchableContext BC)<br /> {<br /> return Database.getQueryLocator(query);<br /> }<br /> <br /> global void execute(Database.BatchableContext BC, List scope)<br /> {<br /> List lstAccount = new list();<br /> for(Sobject s : scope)<br /> {<br /> Account a = (Account)s;<br /> lstAccount.add(a);<br /> }<br /> Delete lstAccount;<br /> }<br /> <br /> global void finish(Database.BatchableContext BC)<br /> {<br /> Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();<br /> String[] toAddresses = new String[] {'indrasens@consummatetechnologies.com'};<br /> mail.setToAddresses(toAddresses);<br /> mail.setSubject('Apex Batch Job is done');<br /> mail.setPlainTextBody('The batch Apex job processed ');<br /> Messaging.sendEmail(new Messaging.SingleEmailMessage[] {mail});<br /> }<br />}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-32538279470548666372012-11-23T22:22:17.190+05:302012-11-23T22:22:17.190+05:30@anonymous
i just wanted to know whether ...@anonymous<br /> i just wanted to know whether you wanna send the mails to same mail id or different?<br /><br />if it is single mail for different mail id's then you need to give all the mail id's.<br /><br /><br />Anonymoushttps://www.blogger.com/profile/06871796845645684339noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-25726688780178217162012-08-29T18:28:35.794+05:302012-08-29T18:28:35.794+05:30Hi,
Is there any possibility to display the messa...Hi,<br /><br />Is there any possibility to display the message in vf page after completion of batch process.<br /><br />Thanks,<br />Lakshmilakshmihttps://www.blogger.com/profile/08306996323006974604noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-7166038705679497352012-08-08T12:56:58.384+05:302012-08-08T12:56:58.384+05:30hi kishore,
I am getting this error in
Error: Com...hi kishore,<br />I am getting this error in <br />Error: Compile Error: Type arguments must be supplied for parameterized type : Database.Batchable at line 1 column 40kishorehttps://www.blogger.com/profile/14223300066157305606noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-35038781450283037012012-06-04T12:15:13.827+05:302012-06-04T12:15:13.827+05:30hi srinivas,
i want to send bulk mails more than 1...hi srinivas,<br />i want to send bulk mails more than 10 ,<br />for that batch class is needed can u please tell me how to write batch apex for that i am new to batch apex it is bit touch to get understand for me.<br />i am not able to post the code , it is showing that html is not allowed hereAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-10930793177590229142012-02-22T18:58:00.698+05:302012-02-22T18:58:00.698+05:30Is it possible to fetch all accounts using Apex Ba...Is it possible to fetch all accounts using Apex Batch and store it in database(db is on other external web-service).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-11697321948012499802012-01-10T11:29:37.457+05:302012-01-10T11:29:37.457+05:30sir now iam learning stage in batch apex.............sir now iam learning stage in batch apex............so how to run the above batch program,i save this apex program in my developer instance with out errors but i dnt knw how to run and how to get outputRamugaduhttps://www.blogger.com/profile/09222327577512732656noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-62508732469346605022011-10-08T11:48:23.427+05:302011-10-08T11:48:23.427+05:30how we can pick the value from xml file and put in...how we can pick the value from xml file and put into salesforce instanceSpeculatorhttps://www.blogger.com/profile/01267134805188159904noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-54370726649910909762011-09-02T11:26:15.323+05:302011-09-02T11:26:15.323+05:30Hi, Thanks.. Its working fine.
Please help for, H...Hi, Thanks.. Its working fine.<br /><br />Please help for, How to insert the records in to object through batch apex calss.<br /><br />Thanks,<br />sravs.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-41644994482425022332011-05-03T19:17:52.905+05:302011-05-03T19:17:52.905+05:30@bangar, to display records in a VF page, you don&...@bangar, to display records in a VF page, you don't need batch class. Custom Controller you can use.Trekbin Technologieshttps://www.blogger.com/profile/08235678279956052118noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-63624480444116146662011-05-03T19:16:59.921+05:302011-05-03T19:16:59.921+05:30@Priya, it is a syntax error it seems, post your c...@Priya, it is a syntax error it seems, post your code if you need further assistance.Trekbin Technologieshttps://www.blogger.com/profile/08235678279956052118noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-17295500332979699692011-05-03T12:49:47.699+05:302011-05-03T12:49:47.699+05:30Hi,
I want to display 1000 records from accounts....Hi,<br /><br />I want to display 1000 records from accounts.<br /><br />Is it possible to use that class to get all the records?<br /><br />I want to display all reords in visualforce. page.<br /><br />Can u help me out?bangarhttps://www.blogger.com/profile/14192794062673380456noreply@blogger.comtag:blogger.com,1999:blog-1935655503299435627.post-22541089821285007862011-05-03T10:18:55.025+05:302011-05-03T10:18:55.025+05:30Hi, when i save this class i got the error as
Er...Hi, when i save this class i got the error as<br /><br /> Error: Compile Error: expecting a left angle bracket, found 'scope' at line 14 column 54 <br /><br />How to solve these. Can you please help me out.<br /><br />Thanks,<br />priya.Anonymousnoreply@blogger.com