Salesforce 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 ArticleSalesforce System Integration Interview Prep
Remote Process Invocation – Request and Reply Best solutions External Services – invokes a REST API call – allows to invoke externally hosted service in declarative manner. External REST service are...
View Article