Salesforce Blogs

Abhinav Gupta Abhinav Gupta

Adding New Fields can break Existing Visualforce Pages

I recently came across an interesting discussion where adding a new field to a Object broke some of the existing code. It’s strange right, mostly removing or renaming fields is risky, as they could break some String expressions or merge fields.

Read More
Abhinav Gupta Abhinav Gupta

Accessing Sobject Field Sets in Apex Code!

I recently came across a problem where I need to query the fields to be shown via FieldSet via Apex Code (no standard controller love). After struggling for a while with Apex docs, I googled for the same and found an idea posted for the same.

Read More
Abhinav Gupta Abhinav Gupta

Fixed – “Compile Error: Type is not visible: test”

“Error: Compile Error: Type is not visible: test at line…” was bugging one of my peer developer for a while. For us, it was coming at a line in the source code where Test.startTest() call is made, though it can come at any other use of any method from the “Test” class.

Read More
Abhinav Gupta Abhinav Gupta

Force.com Developer Console Navigation Trick

I never thought that working in a browser could be more fun than Eclipse IDE. But my thinking is changing these days. First, https://jsfiddle.net/ became my favorite playground for any HTML/JavaScript research.

Read More
Abhinav Gupta Abhinav Gupta

Yet Another Apex Trigger Template!

I know Trigger templates are previously discussed also in great detail. We have excellent posts available by Steve Andersen(Gokubi) and Mike Leach on the same. Here is my small journey on Triggers…

Read More