Interfacing to Salesforce from the Microsoft .NET Framework.

learn more… | top users | synonyms

0
votes
1answer
31 views

Salesforce Integration Error

We are seeing this error whenever our .net developer is trying to insert a record into salesforce custom object. sObject type 'xyz__c' is not supported. If you are attempting to use a custom object, ...
1
vote
1answer
16 views

Force.com Toolkit for .NET Custom Field Naming

I'm trying to update an Account record using the Force.com Toolkit for .NET. The Account record has custom fields. I thought the toolkit allowed the [DataMember] attribute to be used, but its not ...
1
vote
1answer
38 views

Relationship Query issue

i need your help to understand my problem with a relationship query. I want to get all users with the role "ceo" so i tested the following query in the workbench: SELECT Id,Email,Name FROM User ...
0
votes
0answers
10 views

Salesforce Toolkit for .Net with silverlight 5

I am creating a application with Silverlight 5 in which I have to communicate with Salesforce APIs. Currently I used Salesforce toolkit for .net (version 1.2.1) by I am gettting error after using ...
1
vote
1answer
32 views

Bulk Upsert with Salesforce .NET API

I'm using the Salesforce .NET API to perform upserts of my data. So far I have been doing this by retrieving records I wish to upsert from a SQL backend and then upserting them one at a time. This ...
2
votes
1answer
26 views

Authenticating Salesforce users via JWT against ASP.net Web Application

We are setting up a Salesforce Community and would like our community members to be able to login using the credentials on an ASP.net website for which they have an account and are most likely already ...
-1
votes
1answer
24 views

How to bring salesforce report in .Net website?

I want to display salesforce report/dashboard in my website. or any way to get report data with partner api? Can any one help me? Thanks, Bhavesh
0
votes
0answers
22 views

How to read and verify Signed Request in MVC, ASP.NET?

I am working on Single sign on with .net application with MVC and trying to read request context which will give me signed request. But not getting canvas app context values in asp.net, getting ...
0
votes
1answer
23 views

How do I query notes with SOQL?

If I have the following notes in salesforce: How do I query it with SOQL? I cannot get the data with the following query: "SELECT Body, IsDeleted, IsPrivate, OwnerId, ParentId, Title FROM Note" ...
0
votes
0answers
66 views

System.CalloutException: IO Exception: External server did not return any content

I am trying to make a webservice callout. I am getting the below error. System.CalloutException: IO Exception: External server did not return any content. The webservice is publicy accessible and it ...
3
votes
1answer
30 views

SalesForce Rest API Mapping to .NET object

I have the following C# code:- string query = @"select Unique_Contact_ID__c" + ",Account.Account_Unique_ID__c" + ",FirstName" ...
1
vote
2answers
26 views

Query data with SalesforceSharp

I can extract data from SalesForce with the following code: namespace SalesForceExtractCsv { public class Account { public string Id { get; set; } public string Name { get; ...
0
votes
1answer
30 views

Query timeout - A Task was canceled

I suspect I am getting a timeout running a query but I am not sure how to increase the timeout The query is retrieving about 17,000 records (40 columns per record) My .NET code is as follows:- ...
1
vote
1answer
13 views

Getting/Setting CaseComment Privacy

According to the API documentation, in order to get/set the CaseComment privacy, you need to use the IsPublished field. However, whenever a comment is posted into Salesforce, it always seems to ...
1
vote
1answer
42 views

using C# to send httprequest in order to get access token in SSIS [closed]

How to use Salesforce Marketing Cloud API to connect with my SQL server database. I need to use C# to do HTTP POST request to acquire an access token, but I have no idea how to do it. I need to run ...
4
votes
1answer
58 views

Generated SforceService.cs file from enterprise.wsdl is enormous. How to condense?

I've generated a C# file with classes wrapping the Salesforce Enterprise API by downloading the enterprise.wsdl file from my organization's Salesforce website to my PC, and running .Net's wsdl.exe ...
0
votes
1answer
114 views

Cannot implicitly convert type 'Salesforce.Common.Models.SuccessResponse' to 'string'

I'm attempting to use this Simple console example on github as suggested in this answer here. sorry for coming here so much, I just need to make progress. There is a link of the code that keep ...
3
votes
1answer
67 views

Accessing salesforce data from a VS console app

Ok I have a really basic question. I'm am still very confused trying to use this platform. So I'm asking those types of questions that would not be well received on Stack Overflow. I want to become a ...
0
votes
0answers
22 views

Am I using wrong version of SalesForceAPI? [duplicate]

One of our data Provider who happens to be on SuccessFactor/SalesForce world, gave us SOAP URl to call to work with salesForce. Now, I added the WSDL as a Web Reference and now I have a client to ...
0
votes
2answers
54 views

How do I use SessionID for subsequent requests after successfully logging in

One of our provider has a salesforce system in place and they have send us the URL. I added the reference as a Web Reference since adding it as a Service Reference had some issues. Now, I am able to ...
0
votes
1answer
229 views

Cannot Set LoginResult.serverUrl - UNKNOWN_EXCEPTION: Destination URL not reset. The URL returned from login must be set in the SforceService

I've been successfully using integrations to the SFDC using c# solution. So far I added the web reference and used it without any issues. But then I started add the Service Refference, by downloading ...
0
votes
1answer
46 views

C# partner wsdl binding.QueryOptionsValue.batchSize not being set

So I have a C# program that does an automated backup of all custom objects in are org in the login method which I have posted below I set the querybatch size private bool login() { ...
2
votes
0answers
32 views

How can I upload data containing DateTime and Boolean values into Exact Target Data Extension

I have written .NET code to upload data into Exact Target Data Extension. My Data Extension contains multiple fields of types Text, Number, Boolean, Date. How can I upload the data with Date and ...
1
vote
1answer
62 views

Using Address type with Force.com Toolkit for .NET

I am trying to insert a new Person Account using the Force.com Toolkit for .NET (which is working brilliantly for everything but this so far). The insertion works except for the Mailing Address field ...
2
votes
1answer
25 views

Set Login History Application in External .NET Application

Is it possible to set the application in the Login History object when logging in from a external .NET Application? As you can see the application gets set to Browser when its a browser login, ...
2
votes
1answer
42 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
114 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
171 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
79 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
60 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
31 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?
1
vote
2answers
267 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
124 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
685 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
16 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
69 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
125 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
776 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
1answer
37 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
234 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
71 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
28 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
456 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
2k 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
132 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
64 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
26 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
18 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
44 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
43 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 ...