The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
30 views

How to set Local Time when creating lead through API

I have a rails app that needs to occasionally add leads to our salesforce account. I got it to work just fine using the databasedotcom gem. Just one thing isn't working correctly, when I add a lead ...
1
vote
1answer
18 views

API Call Count Limit with Ruby on Rails App

We have a Ruby on Rails application that query data from Salesforce and displays the data to about 5 different public static pages. Our daily limit of API call is 15000. We have about 1000 users ...
0
votes
0answers
20 views

Fastest REST API login method

I have a ruby on rails application that is using Restforce. I currently have a config file of environmental variables that I access everytime I submit a request. I'm using the username/password method ...
1
vote
1answer
39 views

How to escape Salesforce search query

I'm using the Salesforce ruby gem to do the following @client.search("FIND {#{@email}}") @email returns the user's email address. During testing, I had an email address like test+test@example.com ...
0
votes
0answers
29 views

Mapping Rails app users with Salesforce Contact records

I have a rails app connecting to Salesforce through restforce gem. I am trying to map Rails users with Salesforce contact records—so when they log in to my rails app it pulls the record from ...
1
vote
1answer
67 views

How best to secure client_id + secret using - Rails + Restforce

I've successfully managed to set up an app using my developer account - it is currently making use of Ruby on Rails 4.2.beta2, ejholmes most excellent gem restforce and the very helpful tutorial and ...
0
votes
0answers
35 views

Library to convert SF Fields into HTML input fields

Does anyone know of a library that converts SF fields into HTML elements? I want to build an HTML form for Contacts but I'd like to do it more dynamically. I'm iterating over all of the fields ...
2
votes
0answers
73 views

What is the best way to handle an Outbound Message with Ruby on Rails?

I have an outbound message being set into a Ruby on Rails Application. What is the best way to handle an incoming message? I have read a few posts that suggest using a gem such as Savon to handle the ...
0
votes
0answers
17 views

Error making continue request from FuelSDK in Ruby

I am unable to get more than 2,500 results from the FuelSDK::Subscriber call in ruby. It looks like the 'continue' API call might not be implemented. Am I missing something? creds = {"client" => ...
1
vote
0answers
65 views

Rails form that saves data to Salesforce and local DB

I have a user registration form that requires certain fields to be saved to different locations. Fields such as email and name need to be used to create a new salesforce object (Account). Email, ...
2
votes
2answers
136 views

User signup Exact Target (Ruby)

I have been trying to find examples of using the Savon gem with Rails to connect to the SOAP endpoint. Before Exact Target recomended the Fuel SDK but this doesn't seem to be supported anymore. It ...
3
votes
1answer
126 views

Issues with a Query within the main Query using DatabaseDotcom Ruby gem

I'm having a issue with pulling the data out of what would be a array of object data in my SFDC query. Im using the databasedotcom gem. Code def self.data_query #@client is defined at a class ...
0
votes
0answers
80 views

undefined method `model_name' for Force::SObject:Class when using form_for and force.rb

I am using the force.rb gem to connect with salesforce. In my edit views I am able to successfully create a form using form_for with fields that show data from salesforce as the textfield data and I ...
1
vote
2answers
196 views

Ruby on Rails Example

I have a Rails app from which I would like to convert a lead and merge it with an existing account. Does anyone have some sample code using Ruby? I have found C# and Java examples and understand the ...
3
votes
1answer
223 views

Using Restforce gem with SalesForce API and Oauth 2.0

I'm trying to use Restforce (https://github.com/ejholmes/restforce) to set up integration with my Rails app to SalesForce's API using Oauth 2.0. Restforce describes the initialization process as ...
1
vote
0answers
92 views

cannot update custom salesforce object with databasedotcom and databasedotcom-rails gems

I am attempting to use the databasedotcom and databasedotcom-rails gems as part of an app I'm building in ruby on rails and for some reason I am getting an error when attempting to update custom ...
1
vote
0answers
72 views

Filter Not Working For List

I'm trying to start using the Fuel SDK in Rails, but I can't seem to get a simple filter to work. Retrieving without a filter works fine, and returns the whole set (all 36 or whatever lists). I need ...
0
votes
1answer
135 views

Problem using Salesforce API over OAuth with Rails

I use the databasedotcom gem, and at first everything works fine (I am able to list Salesforce resources and perform queries on them), but then at random it drops the connection and gives me ...
2
votes
1answer
194 views

Best way to manage Custom Object layouts through API?

I have a Ruby on Rails application. I am asking the user for the object name that they use for invoices, i.e. "Invoice__c". With use of the metaforce gem the app creates the field "PDF_Link__c" on ...
5
votes
2answers
2k views

REST API: How to retrieve active values for picklist?

I am trying to access just the "Selected" picklist values for a field using the REST API via the databasedotcom Ruby gem. In the normal SFDC interface, a user can navigate to "Campaigns > Record ...
4
votes
4answers
3k views

What's the best gem for calling into a Salesforce org from a Ruby on Rails app?

I am going to be doing some work connecting a Ruby on Rails app into a Salesforce org to create some new data. Right now there isn't any complex logic, just straight forward data sending into SFDC. ...