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
23 views

Is there a way to get email notification when Email Send Definition is performed and Send job is complete?

Note: I am using FuelSDK with C# For example, When Import Definition is completed there is an option to receive email notification showing that import was successful and if there is any error then it ...
1
vote
1answer
16 views

Force.com Toolkit for .NET Custom Field Naming

I'm trying to update an Account record using the Force.com Toolkit for .NET. The Account record has custom fields. I thought the toolkit allowed the [DataMember] attribute to be used, but its not ...
2
votes
1answer
18 views

No access to portal

I am trying to add a "Customer Community Plus User" profile user with the Salesforce .Net api. I have not done any configuration changes to this profile. //Try to add user with a contact ...
0
votes
0answers
9 views

sending bulk email by c# class library

Our requirement is to upload the excel data in sales force and send email to that excel uploaded email filed with dynamic design template .is there any code document available with c# class library
0
votes
0answers
15 views

Consume REST Service SaleForce Outbound Message

Hi I am sending my data to my endpoint url via this apex class, I have written a trigger on update in account. How will i consume it on my end ? Is there some example where i can make a rest service ...
0
votes
1answer
24 views

Receiving timeout from ET_SentEvent object when filtering by EventDate

I'm using the ET_SentEvent object to get data after a particular date and the only field I can see that is of any use in this object for filtering by date is the 'EventDate' field. I've written this ...
0
votes
1answer
23 views

How can I retrieve the ID of an email that was sent

The results from an ET_SentTracking call don't appear to mention what the email ID was that was sent, how do I get that data using the Fuel SDK in C#.
2
votes
1answer
30 views

Chimera Scanner testing server with no login credentials

I've been looking into the Chimera Security Scanner and it mentions that you have to provide test credentials and the URL of your service and, Chimera will handle the rest. The only issue that we ...
2
votes
1answer
36 views

How to query userlicences that have remaining licenses

I need to identify licenses that have remaining licenses. Referring to UserLicense object, I need to write a query to retrieve license that returns where (TotalLicenses - UsedLicenses) > 0. I am ...
1
vote
0answers
19 views

Send User-Initiated Email using Fuel C# SDK with Data Extension and Publication List

I would like to send a user-initiated email using API calls through the Fuel C# SDK. The user-initiated emails have been set up using the UI and data extensions are used for the addressees. I chose to ...
0
votes
1answer
23 views

How do I query notes with SOQL?

If I have the following notes in salesforce: How do I query it with SOQL? I cannot get the data with the following query: "SELECT Body, IsDeleted, IsPrivate, OwnerId, ParentId, Title FROM Note" ...
0
votes
0answers
15 views

Not recieving the correct LastDateModified

I have an c# app that updates a field in Salesforce. Using the same binding, and just after the Update, I'm doing a select of this field for see the new "LastModifiedDate" but I'm not getting it ...
1
vote
0answers
13 views

c# api to salesforce

My app does queries to the SF, after a select I got some objects, when I do this: string id = Object.Id; User a = Object.CreatedBy; I can see how the "id" variable give me the Id of the record ...
2
votes
1answer
57 views

Implementing sObject.get(String fieldname) when using the Partner API

Recently I have been trying my hand at using the SOAP API (C#) to automate a data-migration between two SFDC instances. Because the destination instance is still being built, I am trying to use the ...
1
vote
2answers
26 views

Query data with SalesforceSharp

I can extract data from SalesForce with the following code: namespace SalesForceExtractCsv { public class Account { public string Id { get; set; } public string Name { get; ...
0
votes
2answers
29 views

Error on retrieve() in salesforce soap api using c#

I need to retrieve records of Lead based on lead id,then I used retrieve() in salesforce Soap api and it shows error {"INVALID_FIELD: \nLead\n ^\nERROR at Row:1:Column:17\nmalformed ...
0
votes
0answers
28 views

Problem encountered while binding Salesforce with .NET C# using Partner wsdl

I am trying to bind my .NET solution with Salesforce. I want to fetch Lead informations based on a particular email ID. I have added partner wsdl as web service reference with the name ...
1
vote
1answer
13 views

Getting/Setting CaseComment Privacy

According to the API documentation, in order to get/set the CaseComment privacy, you need to use the IsPublished field. However, whenever a comment is posted into Salesforce, it always seems to ...
1
vote
1answer
43 views

using C# to send httprequest in order to get access token in SSIS [closed]

How to use Salesforce Marketing Cloud API to connect with my SQL server database. I need to use C# to do HTTP POST request to acquire an access token, but I have no idea how to do it. I need to run ...
3
votes
2answers
71 views

Determine if instance has Multi-Currency Enabled

Is there a way to check if an instance has Multi-Currency enabled through the API? I know that when enabling Multi-Currency, a CurrencyType object and multiple other fields are added on to each ...
4
votes
1answer
58 views

Generated SforceService.cs file from enterprise.wsdl is enormous. How to condense?

I've generated a C# file with classes wrapping the Salesforce Enterprise API by downloading the enterprise.wsdl file from my organization's Salesforce website to my PC, and running .Net's wsdl.exe ...
0
votes
0answers
21 views

API c# doesn't insert number fields

I have an app that create news account in my SalesForce. All the fields are okay, unless the number fields, "int" and "double", don't throw any kind of error, just doesn't appear in SalesForce. Some ...
0
votes
1answer
116 views

Cannot implicitly convert type 'Salesforce.Common.Models.SuccessResponse' to 'string'

I'm attempting to use this Simple console example on github as suggested in this answer here. sorry for coming here so much, I just need to make progress. There is a link of the code that keep ...
1
vote
0answers
16 views

Warning with newtonsoft.json version

I'm attempting to connect a C# console app with Force.com using a connected service. I'm totally new to this framework and am really groping in the dark, so please bear with me. First up I need to ...
0
votes
0answers
28 views

Is there a way to Retrieve the subscriber status on the “All subscribers” list/ master subscriber list

This code: APIObject[] Results; string requestID; RetrieveRequest rr = new RetrieveRequest { ObjectType = "ListSubscriber" }; var sf = ...
0
votes
1answer
39 views

Query a DataExtensionObject on the business unit level

This is the code I have: APIObject[] results; RetrieveRequest rr = new RetrieveRequest { ObjectType = "DataExtensionObject[" + "NameOfDataExtension" + "]", Properties = new string[] { ...
2
votes
0answers
21 views

ExactTartget Import Subcribers to list

Hi i'm new to exact target api what i'm trying to implement is import subscribers to list using API. i couldn't find a way to implement that. i only found add one subscriber to list like this using ...
0
votes
1answer
46 views

C# partner wsdl binding.QueryOptionsValue.batchSize not being set

So I have a C# program that does an automated backup of all custom objects in are org in the login method which I have posted below I set the querybatch size private bool login() { ...
0
votes
0answers
22 views

Triggered send with unsub link that creates user on a publication list as “Unsubscribed”

I have a triggered send email with and unsubscribe link. How do have have this link create a new entry in a specific publication list?
0
votes
1answer
144 views

etAPI dll. Where can I find it?

Finding information on this is not easy. I have tried searching online etAPI with many search string various with no real results. The documentation references this dll without bothering to mention ...
0
votes
0answers
19 views

Managing publication lists via c# soap api

I have implemented the code found in the documentation: EmailSendDefinition esd = new EmailSendDefinition(); esd.Email = new Email(); esd.Email.ID = 12345; //The ID of the email I wish to ...
0
votes
0answers
17 views

Any idea why ampscript “ContentArea(”“)” will not read xml data from ApiController subclasses but will from a Controller subclass?

I have tried every XML formatting variation. I can copy and paste the XML output from the ApiController and hardcode it in the ampscript and it works but whenever it attempts to read from a live URL ...
0
votes
0answers
36 views

Getting timeout in FuelSDK

I'm trying to get a list of all of the subscribers within a list. The list is approx 32,000 email addresses. Below I have my code that makes the first request and it typically succeeds in getting ...
0
votes
0answers
21 views

Triggered send to single user via c# api does not send

I have this code: public void Send(string email) { CreateResult[] results; string requestId; string status; var t = new ...
1
vote
0answers
153 views

Authorizing soap c# request errors

https://help.exacttarget.com/en/technical_library/api_overview/ In the above link it states "This element contains the customer's API username. A customer who uses the API creates a special user in ...
2
votes
1answer
25 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
1answer
49 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
51 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
31 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
63 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
42 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
115 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
1answer
542 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
56 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
329 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
328 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
59 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
235 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
130 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
780 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 ...