• Home
  • About
  • Portfolio
  • Hire me
  • Templates
blog.lopau.com

Just Another Dang Blog

A tech blog about web development, graphic designs, freelancing, cloud computing, mobile development, innovations and seo.
Welcome to lopau.com - a digital playground, online portfolio, web experiments and blog of Paulo Orquillo
Preparing for the Advanced Force.com Developer Exam


Apr 21
Preparing for the Advanced Force.com Developer Exam

I just wanted to share that I took the Advanced Force.com Developer exam and passed the first part of the test which is the multiple choice 69 question exam. The exam test your knowledge on advanced topics covering triggers, execution context, visual force pages, standard and custom controllers, running unit test, development lifecycle, data migration tools among others.

You really need to know these topics in detail and the amount of materials to study is quite a lot too. I suggest about 1-2 months to prepare for the exam.

Below are the links to the docs and guides you need read from start to finish.
1. Get the Study Guide to know the full coverage of topics for the exam
2. Download and do the tutorial for Apex Workbook to start
3. Next go over the tutorial Visualforce workbook
4. The two tutorials above should get you started. Next is download the detailed document guide Apex Code Developer’s Guide and the Visualforce Developer’s guide. Its kinda long and requires patience to finish.
5. Also covered is using the Force.com Migration Tool
6. Development Lifecycle
7. Metadata API Guide
8. Apex CheatSheet
9. And another valuable resource Study Notes
10. And ofcourse use flashcards go to StudyBlue.com

That was the resource I used to pass the first part of the exam. I’m just waiting for the programming assignment.

Posted in Force.com, SalesForce, Tutorials, Visualforce | No Comments »

Dec 23
Getting the Google Data Authentication for Force.com working

Just sharing some information which I hope some would find useful.

I’ve been tinkering around with the Google API Toolkit for Force.com.

For starters, these are basically client libraries built on Apex for Force.com that connect to Google API like Google Docs API, Blogger API, Google Calendar API among others.


The method for authentication on the toolkit is built around the AuthSub authentication which as I found out is already deprecated, it is advised to use OAuth 2.0 for authentication & authorization. What this authentication models do is that you authorize your Google Account/Data to be accessed by an external service using a token. The token can be used as is which expires after 24 hours or you can exchange the token for a multisession token which does not expire. Please read up more on this topic from the links above.

I have a related post on how to get the Google Toolkit API installed on your Mac.

Back to the Google API Toolkit, it has a visualforce page with a controller that when accessed, will make token request to Google with a callback URL. However there are some issues when I tried them. I get the following errors.

The site “http://force.com” has not been registered.

Solution here is I had to hardcode the return URL to be capital Force.com on the visualforce page.

Got that to work but the next issue it seems is that there seems to be new kind of restriction for putting Google Data on an iframe. I got the following error.

Refused to display document because display forbidden by X-Frame-Options.

What I had to do is, let the called page load on its own instead of putting it in an iframe. I did this by window.location then the return url.

Resource:
https://groups.google.com/forum/?fromgroups=#!topic/google-contacts-api/H8X8ukHOgFQ

Posted in Force.com, Google, Google Docs API, SalesForce | No Comments »

Sep 10
Setting up Force.com Toolkit for Google Docs API on Mac OS X

This guide will help you setup Mac OS X Mountain Lion for the Force.com Toolkit for Google Docs API.

I assume you already have Eclipse and the Force IDE installed. If not you can follow this route first, then come back here to setup the toolkit.

This setup caused me some headache so I’m blogging the steps I did and some troubleshooting. This would be the major guide to follow but going over the first few step to get Subclipse installed requires some troubleshooting.

http://wiki.developerforce.com/page/Google_Data_APIs_Toolkit_Setup

1. First thing you need is to download and add Subclipse plugin so we can download the toolkit hosted on the Google Repository

http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA

Adding the plugin won’t work just yet. You’ll get error about missing JavaHL.

2. Subclipse plugin requires JavaHL which you can install via MacPorts.org or via HomeBrew

I went went to the MacPorts route and installed the pkg for Mountain Lion here.

http://subclipse.tigris.org/wiki/JavaHL

3. After you got the Macport installed you can now install JavaHL, but running the following though command

sudo port install subversion-javahlbindings +no_bdb +universal

If you don’t have XCode installed you’ll get some nasty errors, which for my solution I had to update to the latest XCode version 4.4.1. Go to the AppStore and download XCode.

Error: The installed version of Xcode (2.0orlower) is too old to use on the installed OS version. Version 4.1 or later is recommended on Mac OS X 10.8.

Then after XCode install you need to download additional tools. Launch XCode and go under Preferences and choose Downloads and click Install for the Command Line Tools.

Once done you can finally run the command and it would start fetching and installing a bunch of dependency files.

Finally you can go to Eclipse and continue with the initial steps to Checkout.

Posted in Force.com, Google Docs API, SalesForce | No Comments »

Aug 28
Solving Error: SObject row was retrieved via SOQL without querying the requested field:

Got this tricky bug with my simple setup. I have a Visualforce page displaying one custom field(Percent) form to set a new value. I’m using a StandardController on the Quote object with an extension for other custom logic. Once value is passed a new visualforce page displays the new data.

It works fine like validation if value is non numeric or below 0 or higher then 100, but further testing such as adding two blanks spaces then an integer like 1 causes the error.

It would throw the SObject Exception error:

SObject row was retrieved via SOQL without querying the requested field: Quote.Name

Turns out to be a common problem as reference to

http://blog.jeffdouglas.com/2010/12/28/neat-salesforce-urlfor-trick/ and

http://forums.sforce.com/t5/Visualforce-Development/error-referencing-field-using-standard-controller-extension/m-p/83237

As for the fix simply adding the error field being reference, in my case the I added {!quote.name} in my Visualforce page solved the problem.

Posted in SalesForce, Visualforce | 1 Comment »

Aug 24
Move WordPress site from shared hosting to Amazon EC2

This is a followup post from last week when I moved this blog from shared hosting on Bluehost.com to Amazon Web Services EC2 Micro instance.

Basically the steps are straightforward for your old host
1. First is backup all your files
2. Backup the database.

Next series of steps are for the AWS side, first is to create an account
3. Create an account by signing up at aws.amazon.com and go through all verification to get your account activated.
Read the rest of this entry »

Posted in Amazon Web Services, Linux | 4 Comments »

« Previous Entries
Next Page »
  • Popular Posts

    • Fixing power problems with your LG Flatron Monitor (LG1753S)
    • Finally passed my Force.com Certified Developer Exam
    • DIY: HP Laptop Power Adapter Repair
    • Fix: Installer User Interface Mode Not Supported
    • How to Setup PHP, MySQL and phpMyAdmin on Mac OS X Snow Leopard
    • Setup EC2 and FileZilla with PPK file on Mac OS X
    • Got my 2nd Salesforce Certification

    Recent Comments

    • GangsterMan: i have changed my name but i still see the old name but when i try to delete the useraccount it says do...
    • EC2 support: Amazin’ Amazon AWS now merges with Cloud Support’s assurance. No need to worry or spend a dime for your...
    • Mona: Hi……… I am planning to take Dev 401 certification within 15days.anyone who has dumps share...
    • lopau: thanks for dropping by. sometimes on new images and instances the apache is not installed, verify that apache...
    • Maryan Pelland: Hey thanks for this helpful step-by. I did everything thru step 9, and have found that when I go to...
    • R4DK0: Ian, thank you so much for your guide for fixing L246WH, thanks to you, my monitor is working again! The blown...
    • Recent Posts

      • Preparing for the Advanced Force.com Developer Exam
      • Getting the Google Data Authentication for Force.com working
      • Setting up Force.com Toolkit for Google Docs API on Mac OS X
      • Solving Error: SObject row was retrieved via SOQL without querying the requested field:
      • Move WordPress site from shared hosting to Amazon EC2
    • Blogroll

      • Abiel Online
      • Abiel's Tech Blog
      • Copongcopong’s Notes from Walk the walk
      • Javi’s Go Blog
      • The Passionate Pilgrim’s Musings and Ramblings
      • Tinokla’s Scribbles and Doodles
    • Links

      • LS Blogs
      • Pampanga Province Websites
      • Top Blogs Philippines
      • Travel and Gobble
    • Proudly Pinoy!
    • Add to Technorati Favorites
    • Web Development & Design - Top Blogs Philippines

    • Sponsored Ads

      Summer Savings! $7.49 .com
    • Categories

      • Adsense
      • Airsoft
      • Amazon Web Services
      • Android
      • apple
      • Blogs
      • Browsers
      • Certification
      • Cloud Computing
      • CSS
      • Desktop Publishing
      • Facebook
      • Firefox
      • Flex
      • Fonts
      • Force.com
      • Free WP Templates
      • Freelance
      • Google
      • Google Docs API
      • Hardware
      • HTML 5
      • iOS
      • Ipad
      • iPhone
      • IT
      • Javascript
      • Linux
      • microsoft
      • Mobile Development
      • Online Scams
      • Others
      • Personal
      • Personal Finance
      • Photography
      • Photoshop
      • PHP
      • Political
      • Projects
      • SalesForce
      • Security
      • SEO
      • Social Marketing
      • Travelling
      • Troubleshooting
      • Tutorials
      • Visualforce
      • WAMP
      • Web Resources
      • Wordpress
    • Tags

      Adsense among ed andriod apache apple blogging Blogs Cloud Computing CSS cuil development earn online enable gd library Firefox Fonts force.com Freelance godaddy Google google analytics government increase traffic internet fraud internet scams iPhone knol knowledge content Money mysql online purchase page rank pagerank PHP politics pr search engines SEO social media content social networks text browser themes web traffic western union Wordpress zend certification

    Just Another Dang Blog is proudly powered by WordPress
    Entries (RSS) and Comments (RSS).
    Valid XHTML 1.0 Transitional Valid CSS!