Persistent Systems at Salesforce CloudStock Event
Visit Persistent Systems (www.persistentsys.com) at booth number 31C to learn how Persistent Systems can help you build a Social Enterprise. Come learn about the projects that Persistent are currently...
View ArticleSalesforce Sites.com vs Force.com Sites
Site.com Sites.com is meant for business users as there is no coding mandatory. Business users can easily create their own websites and it uses a Sites.com Guest User License. Public (unauthenticated)...
View ArticleSalesforce Apex check field updated trigger
The code below show how you can use oldMap.get to get the previous value of a field after an update has been made in Salesforce. In this case I calculated how many days a specific date has been updated...
View ArticleSalesforce Update Product Schedule from Opportunity using Apex Trigger
The tutorial below shows how you can use Salesforce Triggers to update the CloseDate of an opportunity and the associated Product Schedule. First thing is we must create a product Trigger, below is the...
View ArticleSalesforce Update Product Schedule from Opportunity Product using Apex Trigger
Update the Product ScheduleDate when the Opportunity Product ServiceDate changes. First we create an OpportunityProduct Trigger to see when ServiceDate changes and parse the amount of days difference...
View ArticleWeb-to-Lead Lead Not being Created – Capture Page: Not available.
If you Web-to-Lead form is not creating leads you may want to enable debugging in your form. Add the following lines to your html page: <input type="hidden" name="debug" value=1> <input...
View ArticleApex Code: Visualforce Google Maps Address mapping
Below is the code to display Google map of the Billing Address of an Account. Add the Visualforce page to your page layout. <apex:page standardController="Account"> <head> <script...
View ArticleJava Code: Salesforce Export into Excel
Export Salesforce records into Excel. In my example I read records from Excel and also from Salesforce. Reuse my code by providing your own username and password to your Salesforce org to create more...
View ArticleJava Code: Apex Bulk Loading MySQL
Creating a bulk sync between MySQL and Salesforce using the Salesforce Bulk API. I created a Bulk Loader that connects to MySQL exports data to CSV and imports it into Salesforce. In this example I am...
View ArticleCloudSole Salesforce REST Feed
I was looking at building a easy way to POST information from your salesforce org to my Public Feed. This feed can be used to publish and data from you salesforce org to the public. Below is some code...
View ArticleSalesforce Streaming Api using Spring MVC
Check out my Salesforce Streaming Spring MVC project http://cloudsole-streaming.herokuapp.com/ Find the code here: https://github.com/thysmichels/cloudsole-force.com-streaming-web Using Salesforce...
View ArticleSalesforce Integration JUnit Testing Using Spring
Spring Configuration to test integration to Salesforce using PartnerConnection, EnterpriseConnection and BulkConnection. Create a properties file called salesforcesync.properties with all the login...
View ArticleSalesforce List View converted to Tab
Converting a List View to a Salesforce Tab is as easy as to create a Visualforce page. Just specify the list view Id and add a custom Visualforce tab:Filed under: Salesforce Tagged: converted, List...
View ArticleSalesforce WSC Partner Connection Session Renew when Session Timeout
Implement SessionRenewer Test SessionRenewerFiled under: Force.com, Java, Salesforce Tagged: connection, Partner, Renew, salesforce, session, timeout, WSC
View ArticleSalesforce Export Database Records to CSV for Batch Upload
Exporting of Database records to csv can be done using: 1. OpenCSV CSVWriter 2. FileWriter 1. OpenCSV CSVWriter 2. FileWriterFiled under: Force.com, Java, Salesforce Tagged: Batch Upload, CSV, Export...
View ArticleApache Camel Salesforce Integration
1. Setup SalesforceLoginConfig 2. Setup SalesforceCamelEndpointConfig 3. Setup SalesforceCamelComponent 4. Setup SalesforceCamelRouteConfig 5. Run SalesforceCamelIntegrationTest 1. Setup...
View ArticleSalesforce Chatter Attaching Files to SObject
There are different ways you can use salesforce to attach a file to an SObject using Chatter. Apex Code Chatter REST Api Some limitations using this is using Blob for version.VersionData =...
View ArticleCreate a Salesforce EventBus
Create a new Planform Event Object and give it a name App Metadata (App_Metadata__e) which will also be the name of the topic. Create some fields you that you would like to listen to. In Apex add the...
View ArticleSalesforce export metadata to csv
Exporting salesforce metadata to csv, iterate through SObject and fields and show Label, API Name, FLS, Custom/Standard field. OutputFiled under: Java, Salesforce Tagged: CSV, export, metadata, salesforce
View ArticleSalesforce Platform Events Streaming using Spring Boot
Create EmpConnector connection The first thing is to create a configuration that on startup will connect to the EmpConnector and start listing for incoming events on a specific topic. 1. Set all your...
View Article