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

3
votes
1answer
17 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
23 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
56 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
87 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
102 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
13 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
36 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
36 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
19 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
26 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
89 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
30 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
35 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
237 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
60 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
34 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
68 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
22 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
40 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
39 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
18 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
42 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
61 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
30 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
89 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
39 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
30 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
335 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
75 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
65 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
22 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
60 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
36 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
43 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
208 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
376 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
38 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
43 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
79 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
70 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
60 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
44 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 ...
2
votes
1answer
387 views

How to get the Profile name form the userinfo

I have integrated with the .net and I want the profile name from the login result. Is there any possible? Question 2: When we query the opportunity record in c#, i want the modified ...
0
votes
0answers
97 views

Get list of all report names

I would like to obtain a list of all SalesForce reports under all folders - the ones available by default (ex - All reports under Accounts and Contact Reports folder) and also the custom reports. At ...
3
votes
1answer
2k views

Ensuring my application complies with SSL3.0 being disabled?

I have developed an application in C# that makes use of the Salesforce API via a WSDL and need to ensure that the upcoming disabling of SSL3.0 will not affect functionality. I have never had to do any ...
0
votes
0answers
33 views

Error getting when creating instance of MetadataService Class

Cannot convert type 'MetaDataAPI.MetadataRefrence.QuickActionLayoutItem[]' to 'MetaDataAPI.MetadataRefrence.QuickActionLayoutItem' MetadataService service=new MetadataService (); I am getting error
0
votes
1answer
118 views

FIELD_INTEGRITY_EXCEPTION Must specify a nameField of type Text or AutoNumber

when i am creating salesforce custom object in C# using salesforce metadata api i am getting following error: FIELD_INTEGRITY_EXCEPTION Must specify a nameField of type Text or AutoNumber CODE: ...
-1
votes
2answers
79 views

Get ALl Contact Views of Salesforce using c# Soap API

How can I get List of All Views in Contact tab of salesforce. and contacts of each views. Please help