Interfacing to Salesforce from the Microsoft .NET Framework.

learn more… | top users | synonyms

2
votes
1answer
21 views

Retrieving events from web services API

I am trying to call the Web Services API to retrieve events using the code examples on the following pages: ...
2
votes
1answer
26 views

programmatically selecting picklist item dependent value

I am writing a program which reads data from CSV text files and attempts to upload data into my organization's Salesforce account. I am writing this console application in C# and with my ...
1
vote
2answers
27 views

.NET, CustomObject named in package.xml but was not found in zipped directory

I have successfully retrieved my package with the metadata api. If I deploy said package with deployOptions.singlePackage=false, I get a successful deployment, with 0 components deployed. I've also ...
0
votes
0answers
32 views

Receiving Callout Exception when calling a .NET service

Background of the service: The service is written in .NET and the service is also IP protected. The issue: The WSDL contains a ref="s:schema" element and a s:any element. I have removed the s:any ...
1
vote
1answer
26 views

Set Organizational ID and record type for created entity

I am using toolkit for .net to create leads, but I was asked to set two more things - Organizational Id and Lead Record Type when creating leads. Those two things don't have their own field, so how ...
2
votes
1answer
24 views

Retrieve available fields of leads with .net toolkit

Well, the title says all, I need to retrieve all available fields of leads? how can that be done using developer tools for .net?
0
votes
1answer
34 views

Failing with async methods

I am testing this toolkit capabilities, but my code are failing fro mtime to time in different places. Sometimes on UsernamePasswordAsync method, sometimes deeper in code with error: An exception of ...
1
vote
2answers
81 views

SOQL query not returning results

I'm querying Salesforce data via the API using the query : SELECT Id, field FROM User Where field IN ('value1','value2',....'value500'). This does not return any results, despite the character ...
2
votes
1answer
43 views

Create Lead using DeveloperForce toolkit for .Net

I am wondering how to use toolkit for .net to create new leads, because most examples I can find on the net are created using wsdl. I want to know what do I need to do before defining lead, hot to ...
0
votes
4answers
146 views

Rest API - SOQL Query : Want to get Only Current user's Record

Rest API - SOQL Query : When I Query i am able to get all user's record instead of mine only. Is there any way to filter for get records of current user only.
0
votes
0answers
13 views

Is there (or will there be) a .Net version of the Force.com Web Services Connector (WSC)

I'm wondering is there (or will there be) a .Net version of the Force.com Web Services Connector (WSC)? Reading this page might suggest there is a .Net version of the library.
0
votes
0answers
32 views

A connection with the server could not be established

I am creating a connection to salesforce from Delphi. I am able to login to salesforce and get issue details when doing it as an application. After this I created a windows service to do the login . ...
2
votes
1answer
47 views

Cannot Update empty Fields Using SOAP

I'm using the Enterprise WSDL in .NET and trying to run binding.update(sObject[]) on an Account record that I previously loaded through the SOAP client. Basically, I'm comparing and setting values on ...
2
votes
1answer
212 views

Update 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/0AASSFGSEID -H "Authorization: Bearer token" -H "Content-Type: application/json" -d ...
1
vote
0answers
17 views

How do i get SessionID using SingleSignOn enabled account

I have singlesignon enabled account. Using Authentication WSDL we are able to authenticate user now we need our application(C#) to search contact,Open new contact page in salesforce Before ...
0
votes
1answer
84 views

How to query Id of a field/Custom field from standard object using Tooling API in .net

How do I get the Id of the field on Standard object like Account, Opportunity & Custom Object and Custom Field Id using Tooling API in .net.
2
votes
2answers
41 views

Is It Possible to get Field List Using API?

I want SalesForce All Fields List including Custom Fields Using API call. Is It possible using API?
0
votes
0answers
15 views

How to create Multiple Opportunity Using .net Code & Salesforce Connected APP Callback URL

I want to create Multiple Opportunity Using .net Code & Salesforce Connected APP Callback URL. I have tried using Rest API but Rest API Only Allow insert One record At Time.
0
votes
1answer
133 views

How to create bulk record using rest API?

Example for creating an Opportunity : curl https://na1.salesforce.com/services/data/v20.0/sobjects/Opportunity/ -H "Authorization: Bearer token" -H "Content-Type: application/json" -d @newrecord.json ...
1
vote
1answer
361 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
80 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
41 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
21 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
10 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
26 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
34 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
10 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
534 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
83 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
45 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
537 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 ...
1
vote
0answers
53 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
34 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
44 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
407 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
107 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 ...
1
vote
0answers
54 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
42 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
70 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
80 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
346 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
502 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
88 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
266 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
95 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 ...
1
vote
1answer
95 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
413 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
95 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
262 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
50 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 ...