The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
14 views

Restricting users to access rails app authenticated via Salesforce

We are having a rails app and the authentication is based on Salesforce OAuth. Salesforce OAuth is used as our app requires salesforce objects. When we create a connected app in salesforce and use it ...
1
vote
1answer
17 views

Undefined default value for custom accounts fields

I have a custom field in accounts section of salesforce. As far as I have seen under its configuration, there is no default value set for this field but whenever a new account is created, the value is ...
0
votes
0answers
63 views

Restforce using wrong OAuth base URL during reauthentication?

I'm using Restforce to authorize via OAuth2 in a Rails app. After the oauth_token expires, when creating a new Restforce client, during the attempt to re-authorize via Restforce's authenticate!, it ...
1
vote
1answer
52 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
45 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
40 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
119 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
47 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
133 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
47 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
98 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 ...
1
vote
0answers
84 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
165 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
193 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 ...
1
vote
2answers
296 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 ...
4
votes
1answer
316 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
132 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
81 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
172 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
285 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. ...