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

0
votes
0answers
13 views

Why primitive types have different size? [on hold]

Some languages has different range or size. What's the better explanation for it ?
-4
votes
0answers
29 views

Bi-directional Sync between TFS and Salesforce [closed]

I am looking for a tutorial on how to sync Salesforce to TFS bi-directionally
2
votes
1answer
24 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
26 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
22 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
64 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
39 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
27 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
78 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
95 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
202 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
16 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
37 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
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
12 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
20 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
28 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
123 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
35 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
36 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
343 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
40 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
72 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
24 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
44 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
54 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
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
1answer
47 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
65 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
32 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
128 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
42 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
33 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
501 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
86 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
68 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
24 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
67 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
38 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
50 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
258 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
445 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
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
51 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 ...
2
votes
1answer
86 views

WSDL: getting the records from a child List<object> of a parent list in .NET

Is there a way to output a specific value in an list object of a list? I tried this but getting the range just returned int, so I can't actually returned an object. List<SaveResult> ...
2
votes
2answers
72 views

WSDL: Is there a way to get the records that have errors in .NET

By calling the update calls, I saved all the success and failed records. I notice that for success you can get the id of the particular records, however not in those failed records. How am I able to ...
0
votes
2answers
71 views

WSDL: getting the SaveResult in .NET for successful and failed records

Is there a way to make this one? I want to get the result for successful and failed records, however I updated not the one object but two, and one of the object (Ph) has update records and create ...
0
votes
0answers
46 views

How do I create a filtered data extension via FuelSDK?

Is it possible to create a filtered data extension via the ExactTarget/FuelSDK API? I need to create an extension and specify the Source (another data extension), Type (filtered) and Query (where ...