Interfacing to Salesforce from the Microsoft .NET Framework.

learn more… | top users | synonyms

1
vote
0answers
26 views

Create Opportunity Using rest API; Error : 400 bad request in response

Example for creating Opportunity curl https://na1.salesforce.com/services/data/v20.0/sobjects/Opportunity/ -H "Authorization: Bearer token" -H "Content-Type: application/json" -d @newrecord.json -X ...
1
vote
0answers
16 views

ASP.net HTTP request with patch method

Example for creating Account curl https://na1.salesforce.com/services/data/v20.0/sobjects/Account/customExtIdField__c/11999 -H "Authorization: Bearer token" -H "Content-Type: application/json" -d ...
0
votes
1answer
15 views

How to create opportunity Using Connected App Callback URL

I have used bellow URL to get opportunity list using SOQL Query in .net Web application : token.instance_url +"/services/data/v33.0/query?q=SELECT+Id,Name+FROM+Opportunity" In SQL Query we can write ...
0
votes
0answers
15 views

Do i use an Arraylist or Array for this to store my data from Salesforce? [closed]

Alright ladies and germs. The way i had this set up before i created the "Wanna-Be" 'Arraylist lstEdit'. I was pulling data using this SOQL Query and simply dumping it to a list box. The list box ...
0
votes
0answers
8 views

Open activity of a send Email issue,ExactTarget Fuel API sdk

Hi I m using this code to get Open activity of a Send Email. First time when i run the code it return open activity, but when I again run same code it doesn't return any open activity. public ...
0
votes
0answers
3 views

Fuel API of Exact Target does'nt return OpenActivity

Hi I m using this code to get Open activity of a Send Email. First time when i run the code it return open activity, but when I again run same code it doesn't return any open activity. please help ...
0
votes
0answers
12 views

Checking “Authenticated Website” User Login/Pass from REST API

I am developing a .NET desktop application consuming the REST API with DeveloperForce.Force library. I want to check the username and password of "Authenticated Website" users for authentication. How ...
3
votes
2answers
28 views

Run Batchable class from .Net code

I have created a batch apex class and am able to run this from within the developer console using execute anonymous. I want to be able to trigger this batch to run from within a .net program. Is there ...
0
votes
0answers
9 views

How can i get the user image using force.com .net library

I use Force.com-Toolkit-for-NET Library(https://github.com/developerforce/Force.com-Toolkit-for-NET) well. i have some problem. I get the target user information but i can't display user photo. ...
1
vote
1answer
57 views

INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session. Session not found

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Services.Protocols; using SFDC_DATAUPLOAD.Importservice; using SFDC_DATAUPLOAD.enterprise; ...
1
vote
1answer
36 views

How to Query Custom Fields Which are not part of Enterprise WSDL in Salesforce?

I'm Querying Contact object From .Net but I'm unable to Capture the result. We've added some custom fields to Contact Object after Importing Enterprise WSDL in .NET. But I'm unable to capture the new ...
1
vote
0answers
24 views

SendMail() from .NET custom html combined with templateId

Is there any way to use sendMail() via SOAP API but combine using VisualForce template within Salesforce and passing additional an object to it or additional html from my .NET app. At present I'm ...
1
vote
0answers
122 views

Need Help: Consuming WCF service within Salesforce

I am hosting an ASP.NET web service on a web server which communicates to a legacy SQL server. This web service is to be accessed by Salesforce. I've created the wsdl and imported it into Salesforce ...
0
votes
0answers
24 views

salesforce .net toolkit relationship query serialization

I created strongly type classes to use when using the toolkit to query salesforce public class SFAccount { public string Id { get; set; } public string Name { get; set; } public ...
1
vote
1answer
24 views

.Net Integration Timeout

When we use the following code for the authenticaiton, its gettign too much of time for get the result. is there any way to optimize the code? loginResult = SFDCServices.login(userName, ...
0
votes
1answer
33 views

When calling an object why do we have to initialize them to null (WSDL)

I have generated an Enterprise WSDL to use for a .NET application that we will be using to interact with Salesforce. When looking to some tutorials, see the snippets: Why this: SforceService ...
2
votes
1answer
236 views

OAuth JWT Token Bearer Flow returns Invalid Client Credentials

I am trying to use OAuth JWT Token Bearer Flow to connect to the Salesforce REST API from C#. I have configured a Connected App within Salesforce and uploaded the certificate used to sign the token ...
2
votes
1answer
75 views

Exacttarget send an email with a filter

I currently have a vb.net app that allows to send an email using (TriggeredSendDefinition) The problem I have, is that I need a specific date from a DataExtensionObject. I created a filter and I ...
0
votes
0answers
41 views

Manage Outbound Messages of multiple object in same .net project

I am working on an integration project, i have a different web service project for each object ie. account, opportuntiy, contact and some custom object. using System; using ...
0
votes
0answers
33 views

Batch Aborting on XML Query via SOAP Api

Our .net code has been working without issue for a few years now. Ever since Summer 14, the Delete batch job will abort on the Select Query. I do not have a lot of specifics but this is what I know: ...
1
vote
1answer
48 views

How to create UPSERT operation on CASE object in Salesfoce using .NET

I went through following link , it says , you can access SF objects using EnterPrise WSDL in .NET. .Net to Salesforce Integration My question is , what is the best method by which i can create and ...
0
votes
2answers
61 views

How to use SOSL in c# for salesforce integration

I have used the SOQL to get the salesforce record. sforce.SforceService SFDCSer; qr = SFDCSer.query('select id,name from account'); sforce.sObject[] queryresutls = qr.records; ...
5
votes
4answers
261 views

C# DateTime Serialization to CST for ExactTarget SOAP API

I have contacted Exact Target support for this but they sent me here. I can't seem to get results back from the API that match my date time filters. I think they are telling me that my DateTime needs ...
3
votes
2answers
304 views

Sending a triggered send to multiple To/CC/BCC recipients via the API

I'm working on a console application that uses the ExactTarget API to send out emails. I'm trying to add a CC to the emails but for some reason I can't get it to work. I am basically creating the ...
3
votes
1answer
73 views

How to find the number of TriggeredSends sent between a date by the name of the Trigger?

I need to pull all TriggeredSends with the word "Confirmation" in the name of it that were sent between a specified date. The reason I need to pull by the name, and not an ID is because this is going ...
2
votes
1answer
194 views

Exacttarget : .net/c# and API

So far i have been using SSJS and/or AMP script for Landing pages and others in Exacttarget. Am just wondering, how can i use C#/.net to do the same instead? How? where do you put it ? Dont mind if i ...
1
vote
1answer
76 views

Batch-sends based on triggers using TriggeredSendDefinition

Here is my questions: Possibility to use a different lists to be associated with the triggered type of sends in Exact target? Every time at least one subscriber has to be associated for the ...
0
votes
0answers
53 views

.Net code to retrieve the sent event returns null

I am trying to retrieve the sendlogs using retrive method using following .net code (using proper username and password) but I am getting a null/empty value in return. I tried passing a specific ...
1
vote
1answer
75 views

.Net to Salesforce Integration

I used EnterPrise WSDL for Salesforce integration. I was able to access the Account,Lead,Contacts, etc. objects. I need one help. Is it possible to get Apex Job Schedule from .Net?
6
votes
2answers
322 views

Sanitize a string before injecting it into SOSL

Is there a way through the .net framework or some other package to sanitize strings so that they can be safely used in sosl? Is there any larger standard that SOSL falls under? I was able to find How ...
0
votes
1answer
86 views

Exact Target API and .NET email creation

How can we make email that is being created by the ExactTarget API using .NET pick a layout from exact target to go around the HTML body? Here is my sample code for the new email: var email = new ...
0
votes
1answer
231 views

Using a single form to update multiple records [closed]

In our ExactTarget application we've used AMPscript and HTML to create forms which edit the data extensions. So far the edits have been to a single record per transaction. (edit the form content, ...
0
votes
1answer
45 views

Updating field issue

This is my Code, It modifies the inner text, pulls the correct inner text but doesn not save. Am I missing something? String queryString = "SELECT Comments__c FROM ts2__Application__c WHERE ...
1
vote
0answers
14 views

How to add my .csv fie users into the list using import definition

I am able to create Import definition using .net code calling web API. here i am giving id.FileSpec = "85255-ZIP.csv", my csv having users , how can i add this csv users to my import definition . ...
4
votes
1answer
324 views

Apex scheduled job to call .net web services hosted in IIS periodically

I just wondering if someone could guide me to a document of how to perform Apex scheduled job – To call .net web service hosted in IIS of external server on a periodic basis. My requirement is every ...
0
votes
1answer
448 views

.net How to update value of a field

public void MssSetClientComments(RCSForce_SessionRecord ssSessionToken, string ssSearchesId, string ssComment, string ssContactId) { String queryString = "SELECT Comments__c FROM ...
1
vote
1answer
62 views

Retrieving email by id and but throwing an error

I am trying to retrieving the email below code and returned as error using SAOP API (.NET). Is there any code issue here ? What is the the minimum input is required to retrieve email object ? I am ...
2
votes
1answer
63 views

How to send an image from SFDC to .net application on the click of a button in .net

I have a requirement to show an image in .net application by making a query on Salesforce. As a work around, i did write a simple webservice call in SFDC, but at the .net end I am getting the URL of ...
2
votes
3answers
306 views

Can't set property value for SObject using setType function

I'll get my excuses in early: I'm a developer with some experience of working with APIs, but this is my first encounter with Salesforce. We've been given a spec to interface with a customer's ...
2
votes
1answer
99 views

exacttarget: subscriber is missing required attribute

I have created template in Exact Target account. Added below attribute data in template. City Name : %%CityName%% State Name : %%StateName%% From the code, I added below code in SOAP API (using ...
2
votes
2answers
119 views

Sending email using custom template and using TriggeredSend

I created a template in Exact Target account. How do I send an email by referencing template I created and using TriggeredSend object function from SOAP API (in .NET) ? Just to add, How to associate ...
2
votes
1answer
241 views

Received validation error from SOAP API

When I am testing TriggeredSend Functionality in the APIStarterKit project (with SOAP API and .NET), I got below error response from exacttarget after Update is called. How do I know what are those ...
1
vote
1answer
22 views

Regarding SendClassification.CustomerKey

This is regarding Exact Target API terminology. I am currently trying to test TriggeredSend in the APIStarterkit project in .NET. I am currently learning and testing samples. Can any body advice what ...
1
vote
1answer
39 views

Email.ID in Exact Target SOAP API

This is regarding Exact Target API terminology. I am currently trying to test TriggeredSend in the APIStarterkit project in .NET. I am currently learning and testing samples. Can anybody advise what ...
1
vote
1answer
117 views

Dynamic Templates passing using SOAP API

We have some templates in Exact Target Account. We need send an email to customers using templates. So we need to assign dynamic template to the subscriber. We are implementing code using SOAP API in ...
0
votes
1answer
44 views

Regarding sand box in our environment

Please send configuration/setup instructions to set up in our development (.NET) environment and also prerequisites to set-up sand box environment in our end ? Thanks
3
votes
1answer
209 views

Outbound message hits webservice continously

I have a webservice written in .net which gets the request from the outbound message and sends the response. But salesforce keeps hitting my application and it still waits in outbound queue. How do I ...
3
votes
1answer
609 views

Unable to deserialize json data accessed from salesforce object in asp.net

I need to access data records from salesforce object. I got the json response.The json document is given below, { "totalSize":2, "done":true, "records": [{"attributes": { ...
1
vote
1answer
310 views

Update Business Unit Subscription List - Unsubscribe Subscriber from List

I have the list in my business unit. There are lots of subscribers. I need to be able to change the opt in opt out preferences for any subscriber from API call. I found the next article ...
8
votes
1answer
328 views

Which API should I use to perform periodic data synchronizations (other than streaming)?

I have the need to synchronize the data in certain Salesforce tables (user, account, opportunity, lead, task, contact, etc.) to a local database. For reasons that I won't go into here, I can't use the ...