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
9 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 ...
3
votes
2answers
41 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
0answers
13 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
15 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
36 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
20 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: ...
1
vote
1answer
31 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
9 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 ...
3
votes
1answer
35 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
55 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
1answer
34 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
44 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
0answers
27 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
42 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
52 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
39 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 ...
1
vote
1answer
72 views

Adding object through REST API not appearing on chatter?

So my problem is that when i create an item, for example a new contact, which is related to an Account, the action of creating that object doesn't get shown on the chatter feed for that account. I ...
4
votes
1answer
31 views

How to Tie OpenEvent/ClickEvent to a particular email a subscriber actioned?

I'm looking for some assistance on how to tie an OpenEvent or ClickEvent in Fuel SDK to the actual email that they took that action on. I can pull back OpenEvent's and ClickEvent's just fine, but ...
1
vote
0answers
42 views

Find the field is mandatory or not

I am developing an application for Salesforce integration. My requirement is to get all the validation rule and Mandatory fields from Lead category like we have lead status as mandatory in salesforce ...
1
vote
2answers
227 views

Solved! Update Salesforce records from .Net(c#) based on SQL query

I need to update some Salesforce records from .Net(c#) based on the SQL query. Below is my table (vendors in sql). I need to update Salesforce Object(NRProducts__c) with the data in the SQL. The ...
0
votes
1answer
91 views

Update Salesforce record from .NET using Enterprise WSDL

For those who are looking for an example to update salesforce records from .Net(c#) Here is an example: I am trying to update a field(TestAccount__c) from the object Account in Salesforce, I have the ...
2
votes
1answer
388 views

Retrieve session ID using OAuth Authentication

I am implementing salesforce in my ASP.Net application and currently I am able to have login process as Username & password but now I want to change it to OAuth authentication. So i am able to get ...
1
vote
1answer
134 views

How to login and get a list of accounts from C#

I am trying access the Salesforce API from an external application. I've done the following: I've gone to the API tab and generated the WSDL. I then ran the .NET framework's WSDL tool to generate ...
1
vote
1answer
62 views

Retrieve Installed packages using partnerWSDL

I am creating an application for Salesforce Integration. I am trying to retrieve the installed packages from a particular account as I am able to do by using APEX class but now I want to retrieve the ...
1
vote
1answer
97 views

Updating a field to empty string

I'm trying to update a custom field. It's called Name2 which is filled using the enterprise soap api. Now I have an object where Name2 is set to __TEST__. Now I want to update this field to contain ...
1
vote
1answer
23 views

Not getting Lead Class inside PartnerWSDL

I am integrating Sales force in ASP.NET application so here I am using PartnerWSDL for integration but when I quering SOQL language for Lead then how can I retrieve the data from that because I am ...
0
votes
1answer
35 views

Updating field issue

This is my Code, It modifies the inner text, pulls the correct inner text but doesn not save. Am I missing something? String queryString = "SELECT Comments__c FROM ts2__Application__c WHERE ...
2
votes
1answer
859 views

INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session

I am integrating salesforce in my asp.net application. I am using partner WSDL from my account lets say I am having a developer account XYZ@gmail.com and I have downloaded partner WSDl from that ...
0
votes
1answer
84 views

Information about WSDL in salesforce

I am integrating salesforce in my ASP.NET application and I am bit confused with the WSDL file they are having. My requirement is like I want to make an ASP.NET so that it can support all the ...
0
votes
0answers
26 views

Retrieve LeadSource, Leadrating using Apex

I am integrating Salesforce in to my ASP.NET aplication. I am trying retrieve the default lead Source, lead rating and industry from users account. If I am using SOQL query like "select LeadSOurce ...
2
votes
1answer
76 views

Scheduled Send API method works for 1 account, but not another. Any guesses as to why?

I've been trying to troubleshoot a Delayed (scheduled) Send function on an email campaign managing program that I have inherited maintenance of. The method in place for these Scheduled Sends works ...
3
votes
1answer
70 views

Check managed app is installed or not

I am integrating Salesforce with ASP.NET application using APEX code. Currently I want to know how can I fetch either the particular managed app is installed in this account or not. As I am not able ...
0
votes
0answers
63 views

Add custom field in Activity Section

I am integrating salesforce in my application and got struck at one point how can we create a custom field in Activity (Calendar event) using C#. Currently I am able to create the custom field in ...
0
votes
1answer
50 views

Make request using Access_Token in WSDL

I am using Enterprise WSDL for salesforce integration. Currently I am able to authenticate user with salesforce account and able to get the Refresh_Token & Access_Token successfully. Can any one ...
1
vote
0answers
100 views

(C#/API) DescribeSObjects call returning only 250 fields

When calling describeSObjects on any sObject that has more than 250 fields, I am only receiving back 250 fields and I am not sure what to do about it. I know that there is a hard limit on the number ...
0
votes
1answer
212 views

.net How to update value of a field

public void MssSetClientComments(RCSForce_SessionRecord ssSessionToken, string ssSearchesId, string ssComment, string ssContactId) { String queryString = "SELECT Comments__c FROM ...
1
vote
2answers
284 views

MALFORMED_QUERY: unexpected token: UPDATE

String queryString = "UPDATE Comments__c " + "SET Comments__c = Comments__c + '" + ssComment + "'" + "FROM ts2__Application__c " + ...
0
votes
2answers
88 views

Salesforce Case Creation

Ok this is a stab in the dark but I figured I would ask here since i'm not sure when my salesforce ticket will be answered. This is also live not sandbox. Here is the error "A workflow or approval ...
4
votes
3answers
101 views

How access to field from second table in joint statement

I try to join 2 tables in SOQL that I am using in C#. not sure how get the value from second table that is contact table. This is my query: SOQL = "select Name,FirstName,LastName,BillingCity,Id, ...
8
votes
2answers
659 views

How to pass a variable to the SOQL where clause?

I am using Salesforce API with C#. In the query that I am writing I am not sure how to pass a parameter to the select statement. My query works when it looks like this: SOQL = "select AuthorId,Name, ...
2
votes
0answers
86 views

Unique Custom field in Custom Field in Salesforce not getting created using metadata api

I am creating a unique custom field in Salesforce Lead Object Here is the working code that i have written CustomField cf = new CustomField(); cf.unique = true; ...
2
votes
2answers
49 views

Authorize in my app as salesforce user

I have an asp.net website. I want to give an access to my website to the users, that are already authenticated in salesforce. According to the tutorials, i should use OAuth or something similar, but i ...
1
vote
0answers
119 views

Salesforce REST API Time-out after 4 callouts

Good day. I really need help on this issue. I have tries every possible option here. I use the Salesforce REST API using C#. The works 100% fine but after a couple of calls out to SF i keep on ...
3
votes
1answer
177 views

How do I revoke a Salesforce.com token from a .NET app

This should be easy, but it isn't. I have a .NET app were users sign in to salesforce.com using REST, logging in works fine, I'm getting back the session Id and proceed without problems. But when the ...
3
votes
3answers
193 views

Upsert INVALID_FIELD

I have a custom object which is a child object of Account. Account has an external ID field called Customer_ID__c. I have the following C# code which worked fine as a regular "create" when I was ...
1
vote
1answer
140 views

Update Business Unit Subscription List - Unsubscribe Subscriber from List

I have the list in my business unit. There are lots of subscribers. I need to be able to change the opt in opt out preferences for any subscriber from API call. I found the next article ...
8
votes
1answer
207 views

Which API should I use to perform periodic data synchronizations (other than streaming)?

I have the need to synchronize the data in certain Salesforce tables (user, account, opportunity, lead, task, contact, etc.) to a local database. For reasons that I won't go into here, I can't use the ...
0
votes
1answer
1k views

“unsupported_grant_type” error when trying to authenticate

I am using the following code to try to get an authenticate. This is in C#, using the RestSharp library: public string GetAuthToken(string code) { var client = new ...
2
votes
1answer
75 views

Learning resource or documentation for salesforce xamarin sdk

I am reviewing salesforce xamarin sdk , Gone through the sample app accounts. Need more learning resource about the c# classes, methods for Salesforce namespace. So that I can implement more ...
3
votes
2answers
70 views

How can I select group Name and count of FeedPost

I want to get (select) VersionData field of ContentVersion Table with C#. It is possible? I can select the other fields in the table, but I failed to select VersionData. There is a blocking of ...