The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
19 views

Restforce Assistance

I'm new to ruby and I've managed to connect my SalesForce app via oauth. I was following a couple of examples in Restforce. And I made the following query: accounts = $cliente.query("select id from ...
1
vote
1answer
15 views

Salesforce download Document Body with Ruby and restforce gem

i try to download a file from Salesforce using restforce with Ruby. https://github.com/ejholmes/restforce sf_template = client.find("Document", "015b0000002oWdu") i get my document, but when i try ...
1
vote
1answer
41 views

ExactTarget Email List Programmatic Bulk Import

Here is the usecase: I have a rails based app which has powerful segmentation capability, this is much more useful than what's provided by ExacttTarget. Here is what I am looking to do: Create a ...
1
vote
0answers
31 views

Enable Lead field history tracking via api

I am using ruby gem restforce for salesforce api implementation. I am not finding a way to enable the Lead history tracking using api. Where as I can retreive the history if enabled from dashboard. ...
2
votes
1answer
58 views

Marketing Cloud Rest API Ruby add rows to Data Extension

I'm pretty new to Marketing Cloud. I'm trying to add some data to a data extension. I'm able to connect and get a token just fine but when I try to send even a blank request to what should be a valid ...
1
vote
1answer
57 views

Get record count using restforce

I'm running this query with restforce gem: SCHEDULER.every '2m' do |job| synergy = results results = client.query("SELECT Count(Id) FROM Opportunity Where Type='New Business'") ...
0
votes
1answer
34 views

How do I get data about a sent email from the FuelSDK (or otherwise)?

Calling FuelSDK::SentEvent.new returns a SendID. How do I use that to find information about the Email that was sent by this send event? I don't see any equivalent client objects in FuelSDK-Ruby ...
0
votes
0answers
55 views

FuelSDK Ruby : Data Extension creation

I'd like to create a Data Extension by API using Ruby, but I can't get it to work. Here is my code : dataextension = FuelSDK::DataExtension.new dataextension.authStub = myClient dataextension.props = ...
2
votes
2answers
91 views

How do I fetch data for app users offline / nightly?

I want to build a Salesforce Marketing Cloud HubExchange app. The app will schedule a task periodically to process recent event tracking data for each user in the installed base. How do I access ...
1
vote
1answer
73 views

Upsert from Ruby FuelSDK Gem

The documentation for the FuelSDK-Ruby gem says that you can use the Put method to do an upsert. However, this method doesn't appear to be implemented. Is there a way to do an upsert using the ...
4
votes
1answer
92 views

Is DATABASEDOTCOM Ruby gem affected by SFDC dropping SSL3.0 support?

SFDC recently stated they will not support SSL3.0 any longer. Notification goes on to say currently supported browsers all use TLS by default so the users are safe. My concern is an external ruby ...
1
vote
0answers
151 views

How to fetch data from search list via API

We created a simple search list and saved it under "Saved Searches" which contains lots of user information. (` 5K users) I would like to retrieve user information (Name, Title ..) using an API call. ...
2
votes
0answers
116 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
1answer
86 views

how do i link a Fuel SDK client to an account on mc.exacttarget.com?

I created an account on code@exacttarget that provides a client id and secret, but i don't get how i can use that to then access an account on mc.exacttarget.com. I'm trying to use the Fuel SDK (ruby ...
1
vote
0answers
164 views

Fuel SDK - Ruby Client - Delete a row from a data extension

I'm using the FuelSDK, ruby version. The retrieve rows function worked fine for me, but the function to remove a row from a data extension gives me an error. This is what I'm doing: client = ...
3
votes
1answer
263 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
441 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 ...
0
votes
1answer
65 views

Retrieve group subscribers

Using the exacttarget API, how can one retrieve the subscribers for a group? There is a 'Subscribers' attribute on the 'Group' object, however when I include 'Subscribers' in the retrieve request I ...
1
vote
0answers
67 views

integration with ExactTarget using Fuelsdk-Ruby

Intergration with ExactTarget using fuelsdk, ruby 1.9.3. The integration works as well but we face with responses slowness. each response takes more than 10 seconds! Is this to be expected?
2
votes
0answers
105 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 ...
2
votes
1answer
375 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 ...
4
votes
1answer
134 views

Salesforce streaming API v 29.0 and Delete Action

I'm using streaming API v 29.0 + restforce gem. I created a push topic and subscribed to changes. If I create a record in Salseforce datebase via Salesforce web interface, I receive message when this ...
4
votes
1answer
343 views

Is it better to cache a large number of records on client side, or do multiple smaller requests to Salesforce?

In an application I'm developing in Ruby, I want to create a pagination system so that on the first page, the first 10 results show up, then the second 10 on the 2nd page, and so on. I know I can ...
4
votes
3answers
2k views

What characters do I need to escape when doing a SOQL query?

I'm attempting to create a Ruby on Rails application using Restforce, but the query method doesn't support prepared statements. So I need to escape each input that I put into the query myself. What ...
3
votes
2answers
2k views

How do I perform a query to the salesforce bulk API with the salesforce_bulk_api gem?

I'm trying to perform a bulk query to salesforce with the salesforce_bulk_api gem. I am connecting successfully and doing the query with no problems but I can't get the actual results. This is what I ...
5
votes
2answers
3k 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
4k 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. ...
3
votes
2answers
377 views

Ruby : how to import contact to salseforce from a yaml file

I need to parse a yaml file and import it to salseforce contacts... I know how to create new users using the databasedotcom gem, but i don't want to create new users from a rails generated html ...
3
votes
3answers
1k views

SOAP API Request with body larger than 16 Kilobytes results in Timeout Exception

I stumbled upon an interesting limitation, it seems that SOAP API endpoint handles requests larger than 16Kb differently --- whenever body is larger than that request just times out. We're using ...