Admins Guide to the Developer
Console
Francis Pindar
Technical Architect
www.radnip.com
@radnip
Forward-Looking Statements
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any
of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking
statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for
future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts
or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible
mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our
employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com
products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most
recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information
section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not
be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Admins Guide to the Developer
Console
Francis Pindar
Technical Architect
www.radnip.com
@radnip
An Admins guide too…
What is the Developer Console?
Debugging & Troubleshooting
View Logs, Set and View Checkpoints in Apex Code
Editing and Navigating Source Code
Browse Packages, Source Code Editor, View & Edit: Classes, Triggers, Lightning Components & VisualForce pages
Testing and Validating Performance
Test Apex Code, Inspect Logs (Save Order, Limits etc) and Performance Issue checking
Executing SOQL and SOSL Queries
Edit and Execute SOQL and SOSL Queries, View Query Results
1
2
3
4
What’s in it for the Admin?
Debugging & Troubleshooting
View Logs, Set and View Checkpoints in Apex Code
Editing and Navigating Source Code
Browse Packages, Source Code Editor, View & Edit: Classes, Triggers, Lightning Components & VisualForce pages
Testing and Validating Performance
Test Apex Code, Inspect Logs (Save Order, Limits etc) and Performance Issue checking
Executing SOQL and SOSL Queries
Edit and Execute SOQL and SOSL Queries, View Query Results
1
2
3
4
Salesforce Execution Order (some of the 20+ steps)
Validation checks
Checks compliance with Page Layout rules (required rules, maximum field lengths etc) & Validation Rules
Execute Before Apex Triggers
Execute any code that has been written in a “before” trigger (before the record is saved to Salesforce)
Execute Duplicate Rules
Checking if a record is a duplicate
Saves the record to the database
(but not committed)
Execute After Apex Triggers
Execute any code that has been written in a “after” trigger (after the record is saved to Salesforce)
Execute Rules
Assignment Rules then Auto-Response rules then Workflow Rules (and re-runs if required).
Execute Processes
Flows / Process Builder are run
1
2
3
4
5
6
7
Salesforce Execution Order (some of the 20 steps)
Escalation Rules
Entitlement Rules
Roll up Summaries on Parent record?
Update parent record
Roll-up Summaries on Grandfather record?
Update grandfather record
Commit the record to the database
Execute any post logic
Eg sending emails
8
9
10
11
12
13
Salesforce isn’t that simple…
Salesforce isn’t that simple…
Salesforce isn’t that simple…
List of Log Event Types
CALLOUT_REQUEST – Sending something to an external system outside Salesforce
VALIDATION_RULE, VALIDATION_PASS, VALIDATION_FAIL – Validation Rules
WF_CRITERIA_BEGIN, WF_ACTION, WF_EMAIL_SENT – Standard Workflow
WF_FLOW_?? or FLOW_?? – Flow running
DUPLICATE_DETECTION_?? – Duplicate Management Rules evaluating
SLA_?? – Case Milestone evaluation
…
AppExchange Demo Jam Admin Keynote
Salesforce Connect &
Custom Adapters
Time: Fri 8.30am – 9.10am
Location: Moscone West - 2002
Time: Wed 12-1pm
Location: Hilton Plaza Ballroom
Time: Thu 5.00pm – 6pm
Location: Moscone West - 2002
My other presentations
Any Questions?
www.radnip.com
@radnip
Francis Pindar
Technical Architect
What else is in Developer Console?
Debugging & Troubleshooting
View Logs, Set and View Checkpoints in Apex Code
Editing and Navigating Source Code
Browse Packages, Source Code Editor, View & Edit: Classes, Triggers, Lightning Components & VisualForce pages
Testing and Validating Performance
Test Apex Code, Inspect Logs (Save Order, Limits etc) and Performance Issue checking
Executing SOQL and SOSL Queries
Edit and Execute SOQL and SOSL Queries, View Query Results
1
2
3
4
An Admin's Guide to the Developer Console by Francis Pindar

An Admin's Guide to the Developer Console by Francis Pindar

  • 1.
    Admins Guide tothe Developer Console Francis Pindar Technical Architect www.radnip.com @radnip
  • 2.
    Forward-Looking Statements Statement underthe Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3.
    Admins Guide tothe Developer Console Francis Pindar Technical Architect www.radnip.com @radnip
  • 4.
  • 7.
    What is theDeveloper Console? Debugging & Troubleshooting View Logs, Set and View Checkpoints in Apex Code Editing and Navigating Source Code Browse Packages, Source Code Editor, View & Edit: Classes, Triggers, Lightning Components & VisualForce pages Testing and Validating Performance Test Apex Code, Inspect Logs (Save Order, Limits etc) and Performance Issue checking Executing SOQL and SOSL Queries Edit and Execute SOQL and SOSL Queries, View Query Results 1 2 3 4
  • 8.
    What’s in itfor the Admin? Debugging & Troubleshooting View Logs, Set and View Checkpoints in Apex Code Editing and Navigating Source Code Browse Packages, Source Code Editor, View & Edit: Classes, Triggers, Lightning Components & VisualForce pages Testing and Validating Performance Test Apex Code, Inspect Logs (Save Order, Limits etc) and Performance Issue checking Executing SOQL and SOSL Queries Edit and Execute SOQL and SOSL Queries, View Query Results 1 2 3 4
  • 9.
    Salesforce Execution Order(some of the 20+ steps) Validation checks Checks compliance with Page Layout rules (required rules, maximum field lengths etc) & Validation Rules Execute Before Apex Triggers Execute any code that has been written in a “before” trigger (before the record is saved to Salesforce) Execute Duplicate Rules Checking if a record is a duplicate Saves the record to the database (but not committed) Execute After Apex Triggers Execute any code that has been written in a “after” trigger (after the record is saved to Salesforce) Execute Rules Assignment Rules then Auto-Response rules then Workflow Rules (and re-runs if required). Execute Processes Flows / Process Builder are run 1 2 3 4 5 6 7
  • 10.
    Salesforce Execution Order(some of the 20 steps) Escalation Rules Entitlement Rules Roll up Summaries on Parent record? Update parent record Roll-up Summaries on Grandfather record? Update grandfather record Commit the record to the database Execute any post logic Eg sending emails 8 9 10 11 12 13
  • 11.
  • 12.
  • 13.
  • 23.
    List of LogEvent Types CALLOUT_REQUEST – Sending something to an external system outside Salesforce VALIDATION_RULE, VALIDATION_PASS, VALIDATION_FAIL – Validation Rules WF_CRITERIA_BEGIN, WF_ACTION, WF_EMAIL_SENT – Standard Workflow WF_FLOW_?? or FLOW_?? – Flow running DUPLICATE_DETECTION_?? – Duplicate Management Rules evaluating SLA_?? – Case Milestone evaluation …
  • 44.
    AppExchange Demo JamAdmin Keynote Salesforce Connect & Custom Adapters Time: Fri 8.30am – 9.10am Location: Moscone West - 2002 Time: Wed 12-1pm Location: Hilton Plaza Ballroom Time: Thu 5.00pm – 6pm Location: Moscone West - 2002 My other presentations
  • 45.
  • 46.
    What else isin Developer Console? Debugging & Troubleshooting View Logs, Set and View Checkpoints in Apex Code Editing and Navigating Source Code Browse Packages, Source Code Editor, View & Edit: Classes, Triggers, Lightning Components & VisualForce pages Testing and Validating Performance Test Apex Code, Inspect Logs (Save Order, Limits etc) and Performance Issue checking Executing SOQL and SOSL Queries Edit and Execute SOQL and SOSL Queries, View Query Results 1 2 3 4

Editor's Notes

  • #3 Key Takeaway: We are a publicly traded company. Please make your buying decisions only on the products commercially available from Salesforce. Talk Track: Before I begin, just a quick note that when considering future developments, whether by us or with any other solution provider, you should always base your purchasing decisions on what is currently available.
  • #9 Code is being pushed away
  • #47 Code is being pushed away