Skip to main content
Group

ADM231: Intro. to OOP with Apex (DEV531)

Join us for ongoing discussions around the official Salesforce training course "ADM231: Introduction to Object-Oriented Programming with Apex" (formerly DEV531) to continue your training experience beyond the classroom! Alumni can network with others in similar roles who are interested in the same topics. Current students can ask questions to the community of alumni and instructors. Future students can get a better idea if the course is right for them. All are welcome! Apex Cheat Sheet: https://org62.my.salesforce.com/help/pdfs/en/salesforce_apex_developer_cheatsheet.pdf *********************************** This group is maintained and moderated by a salesforce.com employee. The content received in this group falls under the official Safe Harbor: http://www.salesforce.com/company/investor/safe-harbor.jsp

Greetings All. I wanted to ask the community here if there is a better way to learn APEX. The TrailHeads are absolutely driving me insane. I feel like your have to have a basic foundation to dive into the modules. Any books that way be more elementry or aimed at a non-developer? Heads Up Java??

9 comments
  1. Aug 2, 2016, 11:41 AM
    No problem @Heather Glenn and if you should run across any valuable resource please pass along the information. I did buy the book Heads up Java and it seems very informative as well. This too is a cheap resource. Good Luck!!!!
0/9000
Hello everyone! I am trying to create an email handler so I can just send an email with an attachment to Salesforce but I am having issues with the code. I am trying to send an email so the attachment creates a leads and a contact. Has anyone had experience with this that they would be will to share their code with me? Thanks in advance.
3 comments
  1. Feb 10, 2015, 7:17 PM
    I'm working a several email services and I create a contact in one of them. I don't process any attachments though.
0/9000
@Feroz Abdul Rehman

Hi Feroz,

I have forgotten the websites you gave me, to find the books that I asked you about.

It was the Salesforce for dummies book and Advance Apex Coding among others.

Could you please re-point me in the right direction to get copies?

Many Thanks,

Scott

8 comments
  1. Feb 2, 2015, 5:53 AM
    If there are any extra copies lying around. Send one here of Advance Apex programming. :) Thanks in advance.
0/9000
@DEV450: Programmatic Development @DevOps @ADM231: Intro. to OOP with Apex (DEV531) (Deleted Group) @Boston Developer Group (Deleted Group) @Incredible Developer

I have been struggling with an Apex Test Class for an Apex Trigger I built and would LOVE guidance!!!! The Trigger works perfectly but no mater what I have tried for the Test Class, I can't get anything to work. Below is my Trigger. If anyone has any suggestions, I would love you forever and there may be a gift basket in your future.

trigger JZCampaignMemberTaskCreation on CampaignMember (BEFORE update) {

list<Task> AddTask = new List<Task>();

for (CampaignMember CM : Trigger.new) {

if (cm.Status == 'Responded') {

system.debug(cm + '---------AddTask---------' + CM.Campaign);

AddTask.add(new Task(

Subject = 'Test Follow up with Prospect',

WhoId = CM.ContactId,

ActivityDate = Date.Today().addDays(5),

WhatId = CM.CampaignId));

}

}

insert AddTask;

}

9 comments
0/9000
Hey guys! Not sure if I am posting this question in the right place. Question is more so related to inactive classes. Would it influence the Code coverage of the org? We are quite low on the code coverage and was wondering whether we should invest the time to improve the inactive classes or just take them out al together (if thats possible)
2 comments
0/9000

Hello all,

I'm a very experienced admin looking to jump into the exciting world of coding. Can anyone provide a little guidance on tutorials I can use to help me write triggers that will allow me to prompt another object built off the opportunity when the sales stage is saved to a different status?

2 comments
0/9000
Anyone done the ADM231 course I'm thinking of doing this training course and would like feedback on those who have done it
7 comments
0/9000
0/9000

Integer[] myList = new List<Integer>();

//Adds a new element with value 10 to the end of the list

myList.add(10);

myList.add(11);

for (Integer i=0; i<=myList.size; i++)

System.debug(' element in the array using myList[0] is ' + i);

whats the problem in this code

1 comment
  1. Apr 4, 2014, 10:21 AM

    try (System.debug(' element in the array using myList[0] is ' + myList[i]);) to get the values u have added,

    for (Integer i=0; i<=myList.size; i++)

    System.debug(' element in the array using myList[0] is ' + i); will print the indexes(0 and 1) not the index values of the list.

0/9000