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
20 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
11 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
32 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
33 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
32 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
12 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
36 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
29 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
24 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
51 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
84 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
20 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
20 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
57 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
50 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
41 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
31 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
94 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
41 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
1k 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
19 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
69 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
47 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
45 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
37 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
71 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
60 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
35 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
269 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 ...
0
votes
1answer
45 views

ExactTarget/FuelSDK-CSharp implementing objects not included in the SDK

There are examples for using objects that are included in the SDK (eg. ET_List). How would I go about using an object that is not implemented, like AccountUser?
0
votes
1answer
147 views

Retrieving custom fields via QueryResult

I'm new to using SOQL and QueryResult. I'm using C# and the sample code from here: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_quickstart_steps_walk_through_code.htm I'm trying ...
0
votes
2answers
204 views

How to get http status code for server down time error in salesforce?

While update the leads in salesforce, at that time any exception coming from salesforce side. I want to check that exception came for salesforce server down. Also i want how to get the status code for ...
0
votes
2answers
58 views

How to use SOSL in c# for salesforce integration

I have used the SOQL to get the salesforce record. sforce.SforceService SFDCSer; qr = SFDCSer.query('select id,name from account'); sforce.sObject[] queryresutls = qr.records; ...
0
votes
0answers
69 views

Unable to call C# web service

I am trying to invoke an asmx web service via button click in a visualforce page. But i am getting that error: Access control configuration prevents your request from being allowed at this time. ...
0
votes
0answers
36 views

C# Api compare to ApexDataloader

I am trying to load table from salesforce into excel cvs, for that used, I tested the ApexDataLoader and found out that to load whole lead table for my organization take around 4~5 min, and have ...
5
votes
4answers
211 views

C# DateTime Serialization to CST for ExactTarget SOAP API

I have contacted Exact Target support for this but they sent me here. I can't seem to get results back from the API that match my date time filters. I think they are telling me that my DateTime needs ...
1
vote
1answer
43 views

Response issue in FuelSDK in c# for exact TargetAPI

I am getting this error. An error occurred while receiving the HTTP response to https://webservice.s7.exacttarget.com/Service.asmx. This could be due to the service endpoint binding not using the ...
2
votes
1answer
83 views

Layout must contain an item for required layout field: Name

I am trying to add a custom field to layout. but it is giving me an error like "Layout must contain an item for required layout field: Name". I have already created the field ...
1
vote
0answers
54 views

Response not returning result

Hi I m using FuelSDK for Exact Target API integration. When I m running code of ET_SentEvent then it return proper value. but again when i m running same code it return zero result. after 30 min or ...
1
vote
2answers
121 views

How do I use the SOQL IN keyword in the API? (C#)

I'm building something in which I get a list of parent objects, then would like to get a list of child objects whose parent account ID appears in the first list. Normally I would do something like: ...
2
votes
1answer
104 views

Version 31.0 metadata is breaking my app

I decided to switch to v31.0 metadata, needed to update some code to make it compile, but that's fine. However, now it's not working the way it used to. My code is in C#, it was used to retrieve page ...
0
votes
0answers
72 views

EndPoint Error in ExactTarget API integration

Hi I using Websevice for integration ExactTarget into my asp.net pages. I added refernce of "https://webservice.exacttarget.com/Service.asmx" and using its classes. I am simply using this code ...
4
votes
1answer
203 views

Request was made to the incorrect endpoint

I added a refernce of ParenerAPI in my projects. and calling SoapClient by passing its user name and password. But I am getting an error " Request was made to the incorrect endpoint." Is there any ...
4
votes
3answers
82 views

Check managed app installation using PartnerWSDl

I am integrating salesforce in my ASP.NET application. I am able to every operation using partnerWSDL but needs to check managed application installed in an account. Like I am having a LMA on ...
3
votes
2answers
267 views

Sending a triggered send to multiple To/CC/BCC recipients via the API

I'm working on a console application that uses the ExactTarget API to send out emails. I'm trying to add a CC to the emails but for some reason I can't get it to work. I am basically creating the ...
3
votes
1answer
135 views

Programattically changing the Owner of a Case object

I am working on a front-end for our Support staff to simplify managing of SalesForce cases. I am trying to implement a "take ownership" button, where a user can assign a case to themselves out of a ...
3
votes
1answer
67 views

How to find the number of TriggeredSends sent between a date by the name of the Trigger?

I need to pull all TriggeredSends with the word "Confirmation" in the name of it that were sent between a specified date. The reason I need to pull by the name, and not an ID is because this is going ...
1
vote
1answer
139 views

Export Data Extension to FTP server via API

Looking for a faster solution to download data extension data. Currently we have a solution similar to this ... ...
0
votes
1answer
152 views

C# SOAP Client code to send out a simple trackable email with ExactTarget APIs

Honestly, I am so lost in the definitions of ExactTarget APIs, and while I was able to figure out how to create email, I find the process of actually sending the email, quite convoluted. Does anyone ...
0
votes
0answers
108 views

a task was cancelled exception

I have integrared the salesforce .Net toolkit with my application. When i authendicate it is redirected to login.salesforce.com . I have given the user id and password .after successful login it is ...