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

Why are deleted Emails retrieved with the rest? Is there a way to filter them off?

So, I'm doing a retrieve for all the Emails from our account, but the result also retrieves contents that were previously deleted. Does anyone know of a Email Object Property that I can use to filter ...
0
votes
1answer
13 views

Send Exact Target email with attachment FuelSDK

I have a c# task which is using Fuel SDK to create and send a simple email. How do I attach a file to that email with tracking enabled when somebody opens the attachment.
0
votes
1answer
26 views

Creating an API ET_Email and ET_Send in Marketing Cloud using FuelSDK for C#

I am trying to create and send an email using the C# FuelSDK. I can successfully create the email. It shows up in the list of emails. I can also successfully use the API to send the email to an ...
0
votes
1answer
17 views

How to create encrypted data extensions using FuelSDK C#?

My application requirements need a set of encrypted data extensions replicated across multiple folders. I've managed to get data extension creation working but I haven't found any ways to specify ...
0
votes
0answers
23 views

There are bugs/Erros in Fuel SDK version .9 for C#

I am using ExactTarget's Fuel SDK version .9 for c# to send emails. Sometimes (randomly) I am receiving System.NullReferenceException: Object reference not set to an instance of an object. exception ...
0
votes
0answers
12 views

Salesforce web-to-lead code to save lead in SF via C# not saving data

I have this c# method with which I'm trying to save a lead in SF: public void sendDataToSalesforceWebToLead(string returnUrl, string firstName, string lastName, string userName, string roleOrTitle, ...
3
votes
2answers
23 views

Linking custom object to Lead using Force.com Toolkit for .NET

I'm using ForceClient in Force.com Toolkit for .NET to save a custom object with a link to a Lead record. private class Lead { public const string SObjectTypeName = "Lead"; ...
1
vote
1answer
24 views

Update row in data extension with SOAP API

I'm having trouble updating a row in data extension. Code I use: int businessUnitID; //Unit ID string dataExtensionCustomerKey; //Data Extension Customer Key DataExtensionObject row; //Data Extension ...
0
votes
2answers
36 views

How to get knowledge article publish via REST?

Reading https://resources.docs.salesforce.com/sfdc/pdf/salesforce_knowledge_dev_guide.pdf It looks to me like it should be possible to publish a master article and settranslation of articleversion ...
1
vote
2answers
27 views

DescribeAsync Method usage using C# .Net API

I need to get the label name from custom object. I'm using the C# .Net SalesForce API and try to use the DescribeAsync call on my Objects. It seems to be working, but I don't know how to parse the ...
0
votes
0answers
41 views

Multiple processes with FuelSDK C# console application

What happens in this scenario? I have a console application called TestConsole that follows this steps using ExactTarget Fuel SDK for C#: create .csv file upload the .csv file to SFTP server (wait ...
3
votes
1answer
45 views

Rest API Save multiple contacts to Task

I'm creating a new Task with multiple contacts and I know the WhoId works for one contact, but what about when you want to attach multiple contacts? Is there anything like TaskRelations available in ...
1
vote
2answers
21 views

Create a file using .NET toolkit

Is there a way to create a file using the .NET toolkit ? I can't find it when configuring my data services in visual studio 2015. I found Attachment and Document but I heard Attachment will be ...
0
votes
0answers
24 views

How to call liveagent.startChatWithWindow in C#

I am loading this string in a WebView in Windows Phone 8.1 App using C#: public string html = "<html><head><title></title></head><body><script>window.name = '...
0
votes
0answers
19 views

How to upload files to Salesforce Files Synced from C# using SOAP API?

I want to upload file to Salesforce Files (Files tab -> Synced ->) from C# and also I want to create new folder as well using SOAP API. Can anyone please point me to the document or provide me ...
3
votes
2answers
103 views

How do I do concurrent updates/lock and update records using C#

As I understand it, I cannot use FOR UPDATE keyword when selecting records via Salesforce SOAP API (wsdl) before I update them. How do I make concurrent updates on a record retrieved via API?
2
votes
1answer
49 views

UpdateAsync Force.com SDK

I am having a problem with Force.com SDK for C#. the UpdateAsync function is updating Lead owner automatically every time I update any field on the lead. Here's the code that I am using var success =...
1
vote
1answer
18 views

How to use the apexrest with C# [closed]

I developed a code to generate Accounts from the web in PHP but now I'm in front of a chlange to make it in C# for an emergency here is my PHP code, if you can help me how to do it ..... many thx &...
2
votes
1answer
38 views

Error with basic example C# SOAP API

I'm a little new to C# (okay... very new) I've created an empty website in VS and added a Webforms page (Default.aspx). I'm trying to use the SOAP API to get portfolio information from ExactTarget. ...
1
vote
0answers
32 views

WCF Salesforce SOAP Client switch endpoint

Is there a way to switch WCF client endpoint address after login call? I don't use app.config file: var binding = new BasicHttpBinding(BasicHttpSecurityMode.Transport); var endpoint = new ...
1
vote
2answers
194 views

Bulk delete data extension rows

I am using the C# Fuel SDK for the deletion of rows in a data extension, am I am trying to delete large(ish) volumes of records at once. The sample code only provides details of how to delete records ...
3
votes
2answers
115 views

Salesforce Metadata Api/ Tooling Api to build changesets

I was wondering if it was possible to use any of the API's provided by SF to build an external (C#, Java) application to manage building changesets. Building changesets is very tedious when trying ...
0
votes
0answers
65 views

Unauthorized error when sending SMS from Marketing Cloud MobileConnect messageContact API

I am trying to send an SMS to a phone number using an exacttarget messageContact API Post. I successfully get an auth token from my getAuth() call but I still get an 'Unauthorized' error when trying ...
1
vote
1answer
79 views

Getting Attachment Id with subquery using rest api in c#

Hey guys i am trying to get attachment Id in a subquery via the rest api in c# here is my query: SELECT Id, Name, First_Name__c, Middle_Name__c, Last_Name__c, (SELECT Id FROM Attachments WHERE Name = ...
1
vote
1answer
55 views

Force.com Toolkit for .NET : Specify Fields to Update

I don't want to update all fields on the object (Lead/Contact) I am updating, is there any way to avoid that? I am trying to avoid having to pull all the fields from Salesforce just to update them ...
2
votes
0answers
49 views

Create campaign, mails and schedule the send to subscribers lists with FuelSDK C#

I'm trying to schedule the sent of some mails with the FuelSDK (C#) in ExactTarget, but the documentation is really scarse and I'm not even sure how to begin. Basically what I have is a structure like ...
0
votes
1answer
76 views

Get all automations that exist using SOAP using C#

Goal: I'm attempting to get every automation in the system available to me under my account using the SOAP API in C#. It's also part of this guy's question. I know this has been asked but this is ...
0
votes
0answers
48 views

No such column 'Description' on sobject of type Lead

I have created a connected Web App written in MVC, and we have functionality which allows users to Create a Lead within the web app. I am using the latest version of the Developerforce Nuget package ...
0
votes
0answers
29 views

Exact Target: Using FuelSDK to send email to a campaign in salesforce

How do I access Salesforce campaigns as a recipient source while sending email using Exact Target FuelSDK C#?
0
votes
0answers
56 views

ExactTarget - Automation - SOAP API deserialization

When using the C# library and SOAP to retrieve an automation, the AutomationTasks property will always be null even though the SOAP envelop of the response actually contains the AutomationTasks Node. ...
0
votes
0answers
91 views

ExactTarget, Automations, Folders and API

This is a three-part question: In the Automation Studio, automations are arranged in folders. However, unlike with all other types of objects I have managed up until now with SOAP and Fuel using the ...
0
votes
1answer
58 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
37 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
23 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 Salesforce....
0
votes
0answers
24 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
37 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
44 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
34 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
77 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
61 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
31 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
39 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
17 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
25 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
146 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
55 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
38 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
54 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
84 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 ...