Archives

Apex Dynamic Object Mapping for REST endpoints

Writing rest endpoints in Apex can be hard and exposing Salesforce fields to external application may not make allot of sense as custom fields end with __c and some fields are not writable or systems fields. I have worked on creating a Serializer that could serialize a Salesforce object mapping and translate that back to […]

Rate this:

Read More

Salesforce 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 = attachment.Body; will run into Apex String length exceeds maximum: 6000000. Chatter Rest API POST https://cs43.salesforce.com/services/data/v35.0/connect/communities/0DB63000000003jGAA/chatter/feed-elements/batch HEADER Authorization         Bearer {sessionToken} Content-Type […]

Rate this:

Read More

Activiti REST Client Example

Activiti REST Client Activiti REST Client Test

Rate this:

Read More

Java REST Client with Basic Authentication

This Java Client can be used to invoke any RESTful endpoint by proving a baseURL, username and password.

Rate this:

Read More

My Dreamforce 2013 Developer Theater Presentation

Exposing Force.com RESTful Services using Swagger. Try it live: http://force-com-rest-swagger.herokuapp.com Fork my project https://github.com/thysmichels/force.com-swagger-rest-spring-mvc Here are some photos from the event: Presentation attached: DF13_Exposing Salesforce REST Service using Swagger Youtube video:

Rate this:

Read More

Apigee as Force.com REST provider

Apigee has an extensive Force.com REST interface to interact with Salesforce. Follow this tutorial to create an app in apigee, create a remote connection in Salesforce, add a user to the app to get your smart-key. Complete the tutorial below to get the information needed to run this class: http://developer.apigee.com/salesforce_tutorial.html You will need the following […]

Rate this:

Read More

Force.com REST Swagger Spring MVC

Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services. The overarching goal of Swagger is to enable client and documentation systems to update at the same pace as the server. The documentation of methods, parameters, and models are tightly integrated into the server code, allowing APIs to […]

Rate this:

Read More

CloudSole 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 sameples on ways to POST to the Public Feed: curl: Apex code: Note: Make sure to […]

Rate this:

Read More