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
1answer
32 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
26 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
10 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
12 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
21 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
43 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
26 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
29 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
92 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
32 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
22 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
52 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
20 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
30 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
27 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
10 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
5 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
38 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
44 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
26 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
40 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
29 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
24 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
104 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
43 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
49 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
20 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
46 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
31 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
40 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
2answers
119 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
255 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
26 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 ...
0
votes
0answers
26 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
77 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
65 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
50 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
36 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
210 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
71 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
27 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
94 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
64 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
2
votes
1answer
52 views

Fuel SDK - Subsequent ET_BounceEvent() calls with same parameters returns empty Results

I'm using the C# Fuel SDK to fetch BounceEvents created on a given date. On an initial request, I receive back a GetReturn with a Status of true and an expected batch of APIObjects in Results. ...
0
votes
0answers
48 views

How to update the list of record in C#.net

I have integrated the salesforce in c# and i wan to update the record. but i got the error in the below code. List<account> accList= new List<account>(); for (int i = 0; i ...
1
vote
1answer
86 views

c # :: retrieve multiple data at once fuel SDK -Exacttarget

first i query : ET_OpenEvent oe = new ET_OpenEvent(); oe.AuthStub = myclient; oe.SearchFilter = new SimpleFilterPart() { Property = "EventDate", SimpleOperator = SimpleOperators.greaterThan, ...
1
vote
1answer
66 views

Retrieving Subscribers via C# SDK, results always empty

I am brand new to ExactTarget and their C# SDK/API. I am having no luck on what should be the simplest of tasks. I am trying to use the FuelSDK-CSharp objsamples project to simply retrieve a ...
1
vote
0answers
40 views

Extact Target- Import subscriber to data extension using C# [closed]

I want to move the newly subscribed/unsubcribed users from my web application to Exact Target system daily.I have a CSV file exported from my web application.I want to import this CSV file to Exact ...
1
vote
1answer
418 views

Connection closed error when calling SOAP API from C#

I am calling Salesforce SOAP API from C#. There are multiple instances of the .NET process running which results in concurrent SOAP API calls being made to Salesforce. Some of the calls are failing ...