Groupios-folderShape

How to Create a Custom Required Block for a Visualforce Page

By Barkha Jain   While working on Visualforce (VF) pages, we generally make some fields required on the page using the Apex tag “<Apex:inputField>” as shown below: <apex:inputField value=”{!Account.Name}”  required=”true” /> This works perfectly in most cases and is a great VF attribute. Unfortunately, the validations get fired on those fields with every Ajax call […]

How to Access Large Document in Chunks from SpringCM Using Apex

By Satyanarayan Choudhary SpringCM is a cloud-based enterprise content management system that lets you manage contracts, documents, and all types of content in Salesforce. SpringCM provides access to content for desktop, web, and all mobile platforms. How to use SpringCM for all standard or custom objects We can add SpringCM to any Salesforce standard or […]

How to Create a Multi-Sheet Excel Workbook from Apex

By Neeraj Gupta and Rohit Sharma We often need to generate reports in Salesforce — sometimes for a single object, sometimes for 2 or more objects. Some organizations needs data analysis calculated using different objects in the same document, separately, along with charts. Of course, the most common way to do this is in using […]

Sending Emails without a targetObject ID in Apex

By Shailendra Shingh The Salesforce1 platform has some robust functionality around emailing. Email templates are especially helpful in making sure emails look the way they need to look. Yet, when you implement Salesforce for enough clients, you will run into use cases for email functionality the platform can’t handle out of-the-box. For example, a company […]

Chatter in Apex: Using the Connect API

By Bryan Leboff One of the lesser publicized development features in the last few Salesforce releases has been Chatter in Apex or the Connect API.  These apex classes give you access to chatter in through apex in much the same way as the REST API allowing you to create and customize your own chatter feeds […]

REST with APEX Service in native iOS Apps

By Igor Androsov, Technical Architect The other day I was working on a mobile app and needed to call a custom APEX service. After looking through SDK documentation and searching the web, I realized that a lot is written about REST APIs, mobile development and Salesforce Mobile SDK, but none give good examples of how […]

Create a Ranking/Sorting Framework for a list of sObjects

Create a Ranking/Sorting Framework for a list of sObjects

by Kerensa E. Jablonka, Appirio Do you want data presented in a certain sequence that cannot be solved by sorting the results of a SOQL query?  If a customer searches a catalog for ‘DOOM’, would you want to be able to return a list of DVDs, books, games that matched ‘DOOM’, plus other products that are […]

Salesforce and Decimal Places

Salesforce and Decimal Places

by Glenn Weinstein, Appirio@GlennWeinsteinWe learned recently that Salesforce enforces decimal points specified in field definitions only at the user interface (UI) level, not at the database or API level.For example, define a custom currency field, say, “Salary.”  Give it length = 16, and decimal places = 2.   You might think that you’re restricting the […]

Relationship Lookup Objects in Triggers are NULL?

Relationship Lookup Objects in Triggers are NULL?

Jeff Douglas I see this question once in awhile on the Salesforce.com message boards so I thought I’d put something together. So in this scenario you have a Sales_Order__c custom object which has a lookup relationship to Opportunity. When processing the Sales_Order__c records in your trigger, you want to access some fields on the Opportunity […]

close-link
close-link
Subscribe to our blogs

close-link
Subscribe to our blogs