Salesforce.com certified Force.com Developer Certificate Tutorial # 1: Application Essentials

The very first module of the premier training for DEV 401/Salesforce.com Certified Force.com Developer certification is titled ‘Application Essentials’ and this post has the notes from this training module.

The following is the list of tutorial series.

______________________________________________________________________________

I. Application Essentials

1.Building Your Data Model

  • Id is indexed, 15 char case sensitive, 18 char, case insensitive, first 3 chars consist of code that identify type of object
  • Name is indexed, required field, text (need not be unique)/auto number (usually unique), appear as first column by default in list/related views
  • owner can represent group/user, has additional previliges, default owner is creator
  • limit on custom fields depend on Salesforce edition
  • Data types:
    • Numeric – number, currency, percent
    • Calendar – Date, DateTime
    • Limited Option – checkbox, picklist, picklist (multi-select)
    • Formatted Text – Email, Phone, URL
    • Text – Text, Text Area (255), Text Area (Long-32768), Text Area (Rich-32768,images,links, formatted), Encrypted – any amount
    • Calculation – Auto-Number (system generated), Formula, Roll-up summary (created on master object, allows calculations on details)
  • Properties
    • Name – used programmatically
    • Label – used in UI
    • Universally required field – required field for all record types and will always display on the edit page
    • Unique field – cannot contain duplicate values, can be case sensitive/insensitive
    • External Id – record id from another system. Fields of type: Text, Number, Email. Can have upto 3. Will have custom index, increases report & SOQL performance
    • Default Value – can be based on formula
  • Standard picklist fields can be controlling fields, but not dependent fields, max # allowed in controlling field is 300. In addition, if a field represents both a controlling field and dependent field, it cannot contain more than 300 values
  • A custom multi-select picklist cannot be the controlling field for a dependent field
  • Encrypted fields – the value of the encrypted field is visible to users who has ‘View Encrypted Data’ permission. Contact Salesforce to get this access. cannot be unique, an external id or have default value
  • Lookup Relationship
    • links custom or standard, independent ownership, security, each object can have upto max of 25 lookup relationships, made required/optional, for optional,
    • if field is optional, can use one of the following actions when a lookup record is deleted:
      • clear value of this field (default)
      • don’t allow deletion that is part of lookup relationship
      • delete this records also. cascade delete bypasses security & sharing settings, allowing users to delete records they don’t have access to.
  • master-detail relationship
    • tightly coupled
    • parent field is always required
    • automatically deletes the child
    • when parent is deleted, ownership & access to child record determined by parent
    • cannot have sharing rules
    • manual sharing or queues, on detail objects because these rules and queues require the owner field
    • cannot contain a standard object on the detail side of the relationship
    • master-detail can be configured so that child records on the custome objects can be reparented
    • cannot create master-detail relationship to users & lead objects
    • page layout should include a field in the child object for the associated master record
  • Difference between Lookup & Master-Detail Relationship
    • Lookup
      • max 25 objects
      • parent required or optional
      • security & access are independent for objects
      • deleting parent object may delete the child, if the child field is required
      • link objects across multiple layers
      • lookup field on page layout depends on required/optional choice
      • cross-object field updates and roll-up summary fields cannot be done
    • Master-Detail
      • max 2 objects
      • parent field on child required
      • access to parent determines access to children
      • deleting a parent automatically deletes the child
      • deleting a parent automatically deletes the child
      • the # depends on whether the master object is standard or a custom object (linking objects across multiple layers)
      • lookup field on page layouts is required
      • cross-object field updates and roll-up summary fields can be done
  • Special relationships
    • self relationship (lookup) & many to many relationships (master detail relationship)
    • junction object
      • custom object with 2 relationships
      • also referred as intersection object
      • moved to recycle bin when any of the associated master reocrds are deleted, however deleted permenantly and cannot be restored when both associated master records are deleted
  • Lookup Filters
    • to limit the search results for related fields (lookup, master-detail or hierarchical)
    • filters can be required or optional, value must match the criteria, if it is required

2. Building Your User Interface

  • 3 different ways to customize UI: custom apps, custom tabs, custom layouts
  • file size for custom logo is 20 kb, 300 wide by 55 pixels high, add file to documents tab to have it as a header
  • 3 types of custom tabs
    • custom object tabs – display data from any custom object
    • web tabs – display any external web app in UI tab
    • visualforce tabs – display vf page in UI tab
  • Page Layouts
    • defines organization of fields, custom links, field locations, page section customizaions, field properties.

3. Introduction to Business Logic

  • Cross object formula
    • can be created from objects that are linked either by a master-detail or a lookup relationship
    • can contain objects that span across multiple levels of relationships
    • limit: 10 unique relationships per object across all formulas and rules
    • exceptions:
      • cannot reference in rollup summary fields
      • cannot reference merge fields for objects related to activites
      • cannot reference record owner merge fields for any object
      • If a standard and custom field have identical names or labels, the merge field displays the custom field value.
      • If two custom fields have identical names or labels, the merge field may display an unexpected value.
      • If you create a field label called Email and a standard field labeled Email already exists, the merge field may be unable to distinguish between the fields. Adding a character to the custom field name makes it unique. For example, Email2.)
  • Roll-up summary fields
    • read-only formula fields that can display sum, min, max or record count
    • can add for all custom master-detail relationships & some standard master-detail relationships including account opportunity, and opportunityproduct

4. Migrating Configuration Changes

  • Configuration changes are stored as metadata
    • (new sandboxes that are not activated within 30 days & the sandboxes that have been locked for 30 days will be deleted)
  • 3 tools to move metadata: change sets, force.com IDE, force.com migration took (ANT based)
  • like email, you send a changeset to org
  • apex code should meet 75% of covering test cases
  • system detects incompatibilities bet versions
  • ability to work with change sets is controlled by profile permissions
  • change sets cannot be modified once it is created.
Advertisements

Tagged: , , , , ,

9 thoughts on “Salesforce.com certified Force.com Developer Certificate Tutorial # 1: Application Essentials

  1. xhino March 6, 2013 at 9:21 pm Reply

    This is a very detail notes. Really appreciate your effort. I aim to pass my test on 8th March 2013 and find it very interesting that I still learn some new points from your notes! If it’s ok with you, drop me an email so I can keep communicate with you with further discussion later. Cheers.

    • naresh March 19, 2013 at 5:44 am Reply

      Hi xhino,

      I hope you got certified dev401 as you appeared for exam on 8th march’13 and its a spring ’13 release.

      could you please share how was the exam i mean any new question for sp’13. if, yes let me know some questions and give me tips as I wrting exam on 21st march…..

      waiting for your reply

  2. Nimz June 7, 2013 at 12:27 pm Reply

    Hi,

    Thanks for the detailed notes.However, I would like to bring your attention to one pints though:
    I tried using field of data type Auto Number as an external field and it worked.Please correct me if I am wrong.

    • Hari Krishnan June 11, 2013 at 4:40 pm Reply

      Thanks for bringing that up. Will check that when I get a chance.

      Regards,
      Hari Krishnan.

  3. Pravin K, April 17, 2014 at 10:33 am Reply

    Thanks sir, to share this valuable notes….

  4. Prasanth kumar August 12, 2014 at 3:42 am Reply

    Amazing site , your are sharing valuable information for salesforce.com developer.Great work. Thank’s for sharing such a valuable information author.

  5. Divakar Babu January 31, 2015 at 6:52 am Reply

    I promised to myself that I’ll write a blog after passing Salesforce Developer Certification.
    I passed Dev401 on 28th Jan 2015.
    These are the things I followed for the exam.
    1. Salesforce Study Guide
    This is the first document to be referred to understand particularly the exam outline. This gives details on the topics that will be covered with the weighting in percentage for each section.
    http://certification.salesforce.com/SG_CertifiedDeveloper.pdf?v=7&SiteID=0DM30000000PBPx
    2. Salesforce fundamentals
    http://www.salesforce.com/us/developer/docs/fundamentals/index.htm
    This is the second document to be followed. I prefer the html version. You need to create a developers account and you can develop a complete application using all topics of point and click functionality. Most important: You’ll get many questions using the scenario ‘Universal Containers’
    3. The next thing is the podcast video. These are very old videos but the core concept is always the same. Chrish Barry is awesome!
    http://www.salesforcetrainingpodcasts.com/podcasts/401/
    4. Next comes ForcePrepare website. It has the tutorials as well as mock exam.
    Tutorials: http://www.forceprepare.com/tutorial/intro.html
    Mock Exam: http://www.forceprepare.com/developermock.html
    5. Next and the best one is Hari Krishnan’s Blog. This is the best blog with every minute information related to the exam.
    https://krishhari.wordpress.com/2013/02/05/getting-salesforce-com-certified-force-com-developer-certification/
    He prepared notes from premiere training.
    Follow this link for the notes.
    https://krishhari.wordpress.com/2013/02/06/salesforce-com-certified-force-com-developer-certificate-tutorial-1-application-essentials/
    6. Next is the best book to prepare for the certification. “Force.com Developer Certification Handbook by Siddesh Kabe. It is a comprehensive handbook to guide Force.com developers through important fundamentals and prepare them for the DEV401 exam
    7. Next comes the dumps. I followed the following websites.
    http://www.proprofs.com/quiz-school/search.php?search=dev401
    http://www.cram.com/tag/certification-com-dev401-developer-salesforce-sfdc
    http://salesforce-401-dumps.blogspot.com.ar/2012/08/salesforce-dev-401-dumps-1.html

    I hope it helps.

    Regards,
    Divakar Babu
    I promised to myself that I’ll write a blog after passing Salesforce Developer Certification.
    I passed Dev401 on 28th Jan 2015.
    These are the things I followed for the exam.
    1. Salesforce Study Guide
    This is the first document to be referred to understand particularly the exam outline. This gives details on the topics that will be covered with the weighting in percentage for each section.
    http://certification.salesforce.com/SG_CertifiedDeveloper.pdf?v=7&SiteID=0DM30000000PBPx
    2. Salesforce fundamentals
    http://www.salesforce.com/us/developer/docs/fundamentals/index.htm
    This is the second document to be followed. I prefer the html version. You need to create a developers account and you can develop a complete application using all topics of point and click functionality. Most important: You’ll get many questions using the scenario ‘Universal Containers’
    3. The next thing is the podcast video. These are very old videos but the core concept is always the same. Chrish Barry is awesome!
    http://www.salesforcetrainingpodcasts.com/podcasts/401/
    4. Next comes ForcePrepare website. It has the tutorials as well as mock exam.
    Tutorials: http://www.forceprepare.com/tutorial/intro.html
    Mock Exam: http://www.forceprepare.com/developermock.html
    5. Next and the best one is Hari Krishnan’s Blog. This is the best blog with every minute information related to the exam.
    https://krishhari.wordpress.com/2013/02/05/getting-salesforce-com-certified-force-com-developer-certification/
    He prepared notes from premiere training.
    Follow this link for the notes.
    https://krishhari.wordpress.com/2013/02/06/salesforce-com-certified-force-com-developer-certificate-tutorial-1-application-essentials/
    6. Next is the best book to prepare for the certification. “Force.com Developer Certification Handbook by Siddesh Kabe. It is a comprehensive handbook to guide Force.com developers through important fundamentals and prepare them for the DEV401 exam
    7. Next comes the dumps. I followed the following websites.
    http://www.proprofs.com/quiz-school/search.php?search=dev401
    http://www.cram.com/tag/certification-com-dev401-developer-salesforce-sfdc
    http://salesforce-401-dumps.blogspot.com.ar/2012/08/salesforce-dev-401-dumps-1.html

    I hope it helps.

    Regards,
    Divakar Babu
    You can write me on sendtodivakar@gmail.com

  6. Raj February 19, 2015 at 1:22 am Reply

    Your notes helped me pass Dev401 last weekend! Do you have something similar for Advanced Admin? 🙂

  7. nj February 26, 2015 at 12:04 am Reply

    Can anyone give sample questions on scenario “Universal Container”?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: