Salesforce Platform Developer II Transition Exam Takeaways

As part of my goals this year is to get the Technical Architect certification. I recently took the Salesforce Platform Developer II Transition Exam and I can say that it was fairly straightforward if you know your stuff. Having recently done the Platform Developer I transition exam last December then booked Platform Developer II exam for January. Because procrastinating is a bitch, the typical me waited till the last few days before getting serious studying.

Anyway I passed the exam. There are 35 questions, you are given 1 hour to complete. Get 63% correct and you will pass.

Here are some topics to pay attention to for your takeaway

  1. Read up on the Messaging class and it’s method
  2. Implementing Continuation and when best to use it
  3. Your SOQL and SOSL queries
  4. Know your objects and data types. What are types of compound fields and how to use them in queries
  5. Testing REST and SOAP
  6. Http callouts and named credentials
  7. Advanced Currency Management
  8. When to use declarative vs programmatic features
  9. @invocablemethod and @invocablevariable annotations
  10. Lightning components
  11. Testing best practices
  12. Developer Console
  13. Apex Charts
  14. Developer Console
  15. Visualforce best practices

2016 Highlights and 2017 Goals

2017 is just around the corner, 2016 may go down as my most memorable year. I have lost a very dear someone, but amidst all of that I have grown mentally stronger and I can say I have achieved most of the goals I have set.

Listing some highlights of my year.

  • Financial growth
    • achieved my target stock portfolio
    • paid house mortgage extra to decrease the monthly amortizations
    • increased my mutual funds and emergency funds
    • slowly achieving my retirement plan
  • Career growth
    • got promoted at work
    • grew my skills and looked up as being an expert
    • attended my first ever Dreamforce
  • Family and health
    • family is whole again as they have migrated to NZ and followed me here
    • been consistently fit as I have been to the gym religiously for the past two years(but still need to fix my diet). Got into 75KG bulk and cutting down to 73KG.
    • crossed off from my bucket list as family got a new SUV
    • and new baby on the way!!

Now setting some very ambitious goal for 2017. Goals without a plan simply a wish.

  • Build my way up to Technical Architect
  • Be a Salesforce MVP
  • Revamp my blog again(I say this every year)
  • Be a Youtuber – I want to get back to my basic roots and just be creative again, I’ll dabble back in graphics design and venture into video editing
  • Have another source of passive income

I’m going to Dreamforce

Dreamforce

After 6 years of doing Salesforce, I’m finally attending my first Dreamforce- the biggest software event in the world, where people gather from all over the world to share ideas, learn new skills, connect, and be inspired.

I have been fortunate enough to work for a company such as Davanti Consulting, a New Zealand premiere Salesforce Partner. They send people annually to attend Dreamforce but, they don’t just randomly select employees to send. There is a rigid set of requirements and anyone qualified needs to put up a case why they should be selected and what would the company gain by doing so. This was nerve racking as I have now to come up with a presentation that would stand out among the rest of my peers who are as qualified I am.

So how did I pull it off? For one, I was on top of recent news of Salesforce acquisitions of machine learning and AI companies so that kind of gave insights on what Dreamforce would be about this year. I’ve always been keen on exploring other technologies and having a play on them. Salesforce recently did restructuring on their product line and out came App Cloud, coming off from an engagement where I lead the mobile employee app using lightning and another client facing application on force.com. My pitch generally evolved around the idea that attending Dreamforce would upgrade my skills particularly on client facing apps and gain traction on IOT, get an insane amount inspiration and I’ll be bringing back the knowledge with a series of sessions. I got the nod from our senior team and choose me to go to Dreamforce. I’m just stoked as attending Dreamforce was on of my goals for the longest time.

Looking forward to do a series of blog post commencing the event. For now time to earn my Dreamforce badges via trailhead.

dreamforce-badge

Reference the External ID on Lookup

This post shows you how you can reference another object through it’s external id. This is useful if you do not know the Salesforce ID but know the external ID.

Example: You have an external field on the Account object with an API named myExternal_Id__c. You have an account record named “Burlington Textile of America” and let’s give the external ID a value of “X123”.

 

Issue is you want to create a contact record but do not know the account record id but know the external Id.

Check this snippet of apex code to accomplish this.

Account acc = new Account(myExternal_Id__c = ‘X123’);

Contact con = new Contact();

con.Account = acc;

con.LastName = ‘Pau’;

insert con;

The same concept is applicable for JSON files

{

“Account” : {“myExternal_Id__c” : “X123”},

“LastName” : “Pau”

}

 

How to Fix a Macbook Magsafe Charger (L Type)

IMG_1350My Macbook MagSafe charger for the past few months would occasionally stop charging. I would need to patiently wiggle the cord to a certain position to get it to start charging again. This is similar to the HP charger I issue I fixed several years ago.  I know from gut that there is a break inside the main magsafe and the cord. As I’m a DIY kinda of guy I’ve decided to fix it. Instead of buying a new charger of which will cost me $$.

Things you need to get this job done.

  • A pair of pliers,
  • thick cloth,
  • soldering iron,
  • soldering lead and
  • electrical tape.

Step 1: Wrap the pliers with cloth and clamp on the magnetic part and gently pull it from the body casing.
Step 2: Gently pull the innards out from the casing.

15_mashed

Step 3: Cut about an inch from the base.

15 - 6

Step 4: Unsolder from the base, if you can salvage those black shrinkage thing the better.

Step 5: Prepare the wiring then slightly cut the outer cover to reveal the wire and pull them aside. Then make another cut about a few cm on the inner cover to expose wiring.

15 - 7

Step 6: Push the insides back to the body casing and then start soldering back the base.

Step 7: Snap back the magnetic tip to the base. That should be it.

15_mashed2

 

15 - 16