C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, procedural, generic, object-oriented (class-based), and component-oriented programming disciplines.

learn more… | top users | synonyms

2
votes
1answer
14 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, ...
0
votes
0answers
5 views

Create Sendable Data Extension using FuelSDK (C#)

I have read and tried unsuccessfully the solutions in the two other posts regarding this subject, which appear to be focused on PHP. Create Sendable Data Extension using FuelSDK and Fuel SDK + PHP + ...
2
votes
1answer
34 views

Cannot find LeadSource in WSDL

As written here, a Lead object has a LeadSource property. I develop a C# application to automaticaly create Leads from forms on our websites. I need to fill the LeadSource depending on the form. My ...
0
votes
0answers
10 views

Fuel SDK Soap Envelope

Is there any property that contains the complete SOAP envelope that is sent to ExactTarget from a C# Fuel SDK TriggeredSend.Send call? Here is a code snippet: ET_TriggeredSend tsdSend = new ...
1
vote
1answer
22 views

How can I consume 2 web services with one class method?

I'm creating a .Net application to consume the Soap APIs I downloaded 2 partner wsdl files from 2 instances(production and sandbox). I then added the web references to a single application. When I ...
2
votes
1answer
26 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
45 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 ...
3
votes
0answers
82 views

ERROR: Maximum message size quota for incoming messages(65536) has been exceeded

Tried to retrieve an sobject: DescribeSObjectResult leadObjDesc; try { _sfClient.describeSObject(_sesHeader, null, null, "Lead", out leadObjDesc); } Got this exception: The maximum ...
0
votes
1answer
27 views

Deafult APIs for objects in Salesforce

Integrated Salesforce API into an ASP.Net form. And for that, I have created an Apex class, generated the WSDL and consumed it in the form. When user enters an emailid in the form and clicks on ...
1
vote
2answers
98 views

C# Examples don't working in Visual Studio 2013 Pro

I'm trying to get done the basics of C# and the SOAP API. My target is to create an ConsoleApplication which synchronise every dataset from my ERP System to Salesforce and backwards. For example every ...
3
votes
1answer
84 views

Dealing with 407 Proxy Authentication Required errors using the C# FuelSDK

I'm running into an issue where our proxy is occasionally requiring authentication when instantiating the ET_Client class in the C# FuelSDK. The problem will sometimes go away on it's own, or I just ...
1
vote
0answers
35 views

Send “Custom Attribute” when sending Email via TriggeredSend

I'm very new to the Exact Target SOAP API. I was wondering if someone could tell me how to send an attribute that isn't part of the subscriber object, via a Triggered Send. I've managed to ...
0
votes
1answer
111 views

C#.net SOAP API Upsert Person Accounts using External ID

I am currently working on a tool that manipulates various custom files, and merges the data into local C#.net lists. Once I have traversed these files I am creating records and uploading to ...
1
vote
2answers
100 views

Unable to cast type Metadata to type Layout

Does anybody have an idea why i get the mentioned exception on the following line of code: Layout layout = (Layout)service.readMetadata("Layout", new string[] {"Object__c-Object Layout"})[0]; ...
2
votes
1answer
282 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
22 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
38 views

What does Invalid_Field: mean?

I changed the App.Config file to login.salesforce.com instead of test.salesfoce.com, Ran the program and now i'm getting this error. It obviously logged in successfully because this error happens ...
2
votes
2answers
44 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
18 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
0answers
25 views

Fuel SDK Email Unique Identifier - How to set C#

I am using VS2012 C# and the Fuel_SDK to send triggered sends. I need to add a unique identifier to each email so that it can be retrieved and reported on but am not sure how to go about this. From ...
0
votes
0answers
42 views

Making users Active and In-Active

This worked one time. and one time only, I've restarted the program and still nothing. I've also tried to do the exact opposite, which was making users Active from Inactive status.. same exact code ...
0
votes
1answer
187 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
41 views

“List” property breaks retrieval of Send

The documentation on Send states I should be able to add a "List" property to learn from which list a user unsubscribed. However, when I use the List parameter, I receive "Error: The Request ...
2
votes
1answer
39 views

How do i Add a license to a user or see if they already have it?

I have the License ID with this code, but i dont know where to go from here. Brain fart for the last hour and google isnt my friend today. How do I first check to see if the user has this License? ...
1
vote
1answer
492 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
88 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
45 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 ...
1
vote
2answers
83 views

How to start a query activity using the API / DOTNET

I have this method: protected void PerformQuery() { string sStatus = ""; String requestId = ""; string sOverallStatus = ""; string sOverallStatusMessage = ""; ...
0
votes
0answers
35 views

Populating listbox from SOQL query

Im trying to to create this loop to return more than one ID, name, Role. I want this loop to return ALL active users and then i want it to be DISPALYED into my listbox. Can someone help me or fix my ...
0
votes
2answers
47 views

Creating users in Visual Studio and adding them to Salesforce

How do i send this set of unique data to Salesforce using Visual Studio 2013 and in C# if that helps. My code and a picture are below. Im kinda of lost. been trying to figure this out for a few hours ...
0
votes
1answer
61 views

How to Pull a list of employees from Salesforce into C# program

I've finally achieved Logging into my Salesforce Sandbox using the C# program i wrote in VS2013. Now im tweaking some things and i'm still new at this. Basically my question is, How do i Pull already ...
0
votes
0answers
22 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
1answer
50 views

Can this be done by clicking just one button? [closed]

Basically, I'm creating a user with specific default settings, I need them to have Group access, Queue Memberships, a specific license, etc.. I just want to know if i can do all this by clicking the ...
0
votes
1answer
74 views

FuelSDK connection error

I'm getting this error below, any ideas? Thanks! No connection could be made because the target machine actively refused it 50.18.179.4:443 Exception thrown from line 127 in refreshToken() method in ...
1
vote
0answers
34 views

Remove Test Email list from all email List of exact target

I am using Fuel API sdk for Exact target integrateion with Asp.net web application I am getting all list of email campaign through this code. List<ET_Send> sendList = new ...
0
votes
1answer
157 views

Submit data using post by attaching data from request body

How to submit data using post and attach to request body? Salesforce code: string jsonstring = {"User": "testuser"} HttpRequest req = new HttpRequest(); ...
0
votes
0answers
45 views

How can I retrieve ApexClass definitions?

I am trying to retrieve ApexClass definitions via a C# application using the Metadata API. I am able to call listMetadata for ApexClass types, however when I try to call readMetadata on those files I ...
0
votes
0answers
34 views

c# FuelSDK ET_Client token managment

We are using the C# Fuel_SDK to send emails to our customers – about ~1,000,000 emails per day. I’m using the ET_TriggeredSend object to execute Triggered Sends from several parallel threads (10-100). ...
1
vote
1answer
737 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; ...
0
votes
1answer
117 views

Salesforce toolkit for .NET await issue

Hopefully someone has used the Salesforce for .NET toolkit enough to point me in the right direction. Here is my code: private void btnOk_Click(object sender, EventArgs e) { ...
1
vote
1answer
78 views

Object Reference Error on “Automation” RetrieveRequest

I'm try to do some work with Automations from the Automation Studio using the API. Based on what I read in the documentation I should be able to get use the retrieve method in order to do this. When ...
1
vote
0answers
27 views

createmetadata/Updatemetadata/Upsertmetadata does not work for flowactions

I'm able to create new workflow rules but unable to create workflow flow actions (which are intended) to act as triggers to invoke flows via the Metadata API - Create/Update/Upsert calls. I don't get ...
2
votes
1answer
74 views

In ExactTarget SOAP API, how can you exactly tie a Subscriber.Attribute back to it's ListAttribute object?

I am successfully retrieving Subscriber records from the database. The Subscriber.Attributes property contains a list of all the Subscriber Attributes we created in the ExactTarget UI, plus the value ...
1
vote
1answer
43 views

In my request for ExactTarget API ListAttribute objects, why is RestrictedValues null?

In the code below, I'm asking for and receiving all of the ListAttributes I have that are named "Prefix". One of these is a Subscriber Attribute we created in the ExactTarget UI, and we created a long ...
0
votes
2answers
60 views

How to use 'Replace' function in SalesForce SOAP API in C#

I am using SalesForce SOAP Enterprise WSDL API in my C# application. What I came across is the need to use the SELECT query which includes REPLACE function. I tried Developer Console>>Query Editor by ...
0
votes
1answer
309 views

Change account owner with external id on user - partner wsdl (C#)

Using the partner WSDL Is it possible to update the owner of an Account by passing an external id through the Account.owner field? It is my understanding that this field is actually an Id field and ...
1
vote
1answer
517 views

REST API access always returns invalid access when requesting Access Token

I am developing a C# console application that needs to connect to my company's Salesforce sandbox via the API to pull data. After some searching, I am using the nuget package DeveloperForce.Force to ...
1
vote
0answers
52 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
63 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 ...