Interfacing to Salesforce from the Microsoft .NET Framework.

learn more… | top users | synonyms

3
votes
1answer
34 views

Why are deleted Emails retrieved with the rest? Is there a way to filter them off?

So, I'm doing a retrieve for all the Emails from our account, but the result also retrieves contents that were previously deleted. Does anyone know of a Email Object Property that I can use to filter ...
3
votes
2answers
23 views

Linking custom object to Lead using Force.com Toolkit for .NET

I'm using ForceClient in Force.com Toolkit for .NET to save a custom object with a link to a Lead record. private class Lead { public const string SObjectTypeName = "Lead"; ...
1
vote
1answer
15 views

How to connect to ConnectApi in visual studio

I am in Visual Studio 2015 and I can connect to Salesforce using the Salesforce.Commmon, Salesforce.Force, and Salesforce.Chatter namespaces, but I can not use the ConnectApi namespace shown here, on ...
1
vote
2answers
27 views

DescribeAsync Method usage using C# .Net API

I need to get the label name from custom object. I'm using the C# .Net SalesForce API and try to use the DescribeAsync call on my Objects. It seems to be working, but I don't know how to parse the ...
1
vote
1answer
28 views

How to Import large amount of data to Marketing Cloud

I am trying to build a web service in visual studios required to send large amount of data to Marketing Cloud by using API. Can some one point me to the right direction how can I accomplish that
1
vote
2answers
21 views

Create a file using .NET toolkit

Is there a way to create a file using the .NET toolkit ? I can't find it when configuring my data services in visual studio 2015. I found Attachment and Document but I heard Attachment will be ...
4
votes
1answer
45 views

How to capture the nested fields on a lead object?

I am using .NET toolkit for integration with salesforce.com One of the queries I have is Select Id, Name, ConvertedOpportunityId, ConvertedOpportunity.Amount , ConvertedOpportunity.Name, ...
2
votes
0answers
40 views

Canvas SDK and server side OAuth (.net)

I am attempting to connect our C# MVC application with Salesforce to use within Salesforce record pages (e.g. opportunity details) and a Visual force page. Using the Force.com-Toolkit-for-NET I can ...
3
votes
2answers
43 views

SoapClient.login requires four parameters

I am rewriting a web app that uses the SalesForce API for .NET 2.0. When I run the app it works using the 2.0 API, so the username and password I'm using must be good (the SoapClient.login method has ...
1
vote
1answer
55 views

Force.com Toolkit for .NET : Specify Fields to Update

I don't want to update all fields on the object (Lead/Contact) I am updating, is there any way to avoid that? I am trying to avoid having to pull all the fields from Salesforce just to update them ...
0
votes
1answer
41 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
37 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
50 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
1answer
32 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
88 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
56 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
43 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
51 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
39 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
1answer
210 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
73 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
55 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
60 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
86 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
122 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 ...
1
vote
1answer
298 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
121 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
81 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 ...
1
vote
1answer
810 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
60 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
58 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
85 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
40 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
48 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: http://help.exacttarget.com/en/technical_library/web_service_guide/technical_articles/...
3
votes
1answer
210 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 organization'...
1
vote
2answers
298 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
107 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
99 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
37 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?
2
votes
2answers
395 views

SOQL query not returning results

I'm querying Salesforce data via the SOAP API using the query : SELECT Id, field FROM User Where field IN ('value1', 'value2', ....'value500'). The above does not return any results, despite the ...
2
votes
1answer
179 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
1k 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
122 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
164 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
1k 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
71 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
329 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
135 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?