Salesforce Platform Development (Technical)

Discussion in 'Salesforce Certification' started by Arjun Gupta_1, Sep 5, 2020.

  1. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    For Sep Batch Simplilearn
     
    #1
    Nisha_71 likes this.
  2. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Day 1 Notes
     

    Attached Files:

    #2
  3. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Hi Arjun,

    Can you give more insights to the community cloud you spoke about today. Any references would help
     
    #3
  4. Vishal Kashetty

    Vishal Kashetty New Member

    Joined:
    Jun 8, 2020
    Messages:
    1
    Likes Received:
    0
    Hi Arjun,
    Is this developer course (Salesforce Platform Developer I) alone enough to take salesforce dev certification or do we need to attend advanced course also?

    Regards,
    Vishal
     
    #4
  5. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Hi Vishal, you dont need any advanced courses. But may i additionally request you to focus on learning as a whole than sole certification focus for this course you are with me :)
    I am sure you are

     
    #5
  6. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Please explain externalid in the context of integration (Abayomi)
     
    #6
    Abayomi Bankole likes this.
  7. Srinivas Madishetti_1

    Joined:
    May 8, 2020
    Messages:
    1
    Likes Received:
    0
    can we define new datatypes other then mentioned in the list ?
     
    #7
  8. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Arjun, can you post those admin readings
     
    #8
  9. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Day 2 Notes
     

    Attached Files:

    #9
  10. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    #10
    vanitha4ever(4914142) likes this.
  11. Anjani Kumar_8

    Joined:
    Jul 10, 2020
    Messages:
    2
    Likes Received:
    0
    Hi Arjun,

    Could you please let me know the steps, how I can execute the below code to get Output as "Hello World" ?

    public class HelloWorld {
    public void printmessage() {
    String msg ='Hello World';
    System.debug(msg);
    }
    }

    I will try to find out the way and will update if found.

    --------------
    I am able to execute today as below through anonymous block :
    ----------------
    HelloWorld Hello = new HelloWorld();
    Hello.printmessage();

    --------------

    Regards,
    Anjani Kumar
     
    #11
    Last edited: Sep 12, 2020
  12. Phaneendra reddy

    Joined:
    Jun 30, 2020
    Messages:
    2
    Likes Received:
    1
    Hi Arjun , what you given in trailhead completed that task.
     

    Attached Files:

    #12
    Arjun Gupta_1 likes this.
  13. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Very good Phani!! :)

    Keep sharing status updates like this when you do homework, i encourage all to have this attitude :)
    For example, share me once you write those first 3 apex classes too :)
     
    #13
  14. Abayomi Bankole

    Alumni

    Joined:
    Oct 9, 2015
    Messages:
    4
    Likes Received:
    2
    Hi Arjun...Please I would like an explanation of ExternalID in the context of Data Migration. Lets make an example of migrating an Order, Product and OrderDetail table where you have OrderID, ProductID and OrderDetailID
     
    #14
    Arjun Gupta_1 likes this.
  15. Abayomi Bankole

    Alumni

    Joined:
    Oct 9, 2015
    Messages:
    4
    Likes Received:
    2
    Could you use this time to explain the concept of ExternalId in relation to the SalesforceID?
     
    #15
    Arjun Gupta_1 likes this.
  16. vanitha4ever(4914142)

    Alumni

    Joined:
    May 19, 2014
    Messages:
    8
    Likes Received:
    5
    @Arjun : I am getting method does not exist or incorrect signature: void - Error ?
    I tried executing the code "MethodReturnTypes" code. Is that any system error becoz code is perfectly good. Code.PNG Error.PNG
     
    #16
    Arjun Gupta_1 likes this.
  17. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Answered in the class for Vanitha :)
     
    #17
  18. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Answered in the class for Vanitha :)
     
    #18
  19. vanitha4ever(4914142)

    Alumni

    Joined:
    May 19, 2014
    Messages:
    8
    Likes Received:
    5
  20. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    #20
  21. vanitha4ever(4914142)

    Alumni

    Joined:
    May 19, 2014
    Messages:
    8
    Likes Received:
    5
    #21
  22. vanitha4ever(4914142)

    Alumni

    Joined:
    May 19, 2014
    Messages:
    8
    Likes Received:
    5
    @Hi Arjun, Good day!.
    "DbObjVar2.apxc". Worked on this program, executed successfully. But have question related to Job__c object has lookup relation with Company__c object. In Code snap - Row number 38 and 39 is my question. Schema.png
    Checklist.PNG
    DbObjVar2.PNG Validation rule check.png Result.PNG
     
    #22
    Arjun Gupta_1 likes this.
  23. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Just to start off, let me say, you did a very root level analysis and i am really happy to see how you learn :)

    Having said that, the lookups and master detailare not referenced using strings, they are referenced using ids, in the next immediate class, i will be teaching that. Practice everything else meanwhile
     
    #23
  24. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Hi Abayomi,

    We basically make use of Id's and also External Ids in data migration. You can take any object for migration and it is possible. In Salesforce we just mark that field as external id (which means that would be a unique identifer to an external source) thats all.

    Then how to do the migration by using that is your question i guess-
    Its very simple, to start off, you can even test this via a tool called data loader. And mark that based on external id you want to upsert data (upsert operation in apex in this course is taught in the class, however, not in data loader)

    So just to further throw light, a well documented approach to do this is below:
    https://help.salesforce.com/articleView?id=faq_import_general_what_is_an_external.htm&type=5
    https://help.salesforce.com/articleView?id=000320964&type=1&mode=1
     
    #24
  25. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    How to install data loader and use it is below:


     
    #25
  26. Vijay S_3

    Vijay S_3 Member

    Joined:
    May 5, 2020
    Messages:
    4
    Likes Received:
    1
    Hi Arjun :) ,
    Good Day!!!, This is about creating record in database object using Set .
    I have tried creating record in Company__c using "Set" and it's throwing an error when i say INSERT ( Please refer the Attached screenshot).
    Note: It's works if i change to List
    Please Advice to deal with this.
     

    Attached Files:

    #26
    Last edited: Sep 16, 2020 at 7:21 AM
    Arjun Gupta_1 likes this.
  27. Vijay S_3

    Vijay S_3 Member

    Joined:
    May 5, 2020
    Messages:
    4
    Likes Received:
    1
    Hi Arjun :) ,
    Good Day!!!, This is an another issue with Set while insert
    Please refer the attached screenshots for more details.
     

    Attached Files:

    #27
  28. Swapnil Khodankar

    Swapnil Khodankar New Member

    Joined:
    Aug 31, 2020
    Messages:
    1
    Likes Received:
    0
    Hello Arjun,
    I have an issue regarding the admin part. I know it's out of our course but I am very thankful if you help me out in this.
    I had created one object named as "BOOK" and add one filed "DISCOUNT " of type NUMBer in it.
    I had made it a read-only field, but then also I am able to insert value in the field. Will you please help me out where I am doing a mistake.

    101.PNG 102.PNG
     
    #28
  29. Arjun Gupta_1

    Arjun Gupta_1 Customer
    Customer

    Joined:
    Jan 30, 2019
    Messages:
    191
    Likes Received:
    96
    Thats correct Vijay and thanks for trying both ways, yes, DML on a SET does not work, however, a SET can contain the collection of ojbect records to de-duplicate things. Use a list when it comes to DML (DML i mean INSERT). We shall also discuss DML tomorrow in class. Cheers buddy
     
    #29
  30. Abayomi Bankole

    Alumni

    Joined:
    Oct 9, 2015
    Messages:
    4
    Likes Received:
    2
    Great! Thanks for this Arjun. This was really helpful.....
     
    #30
  31. Abayomi Bankole

    Alumni

    Joined:
    Oct 9, 2015
    Messages:
    4
    Likes Received:
    2

    This was really helpful...Thanks for this
     
    #31

Share This Page