Interfacing to Salesforce from the Microsoft .NET Framework.

learn more… | top users | synonyms

0
votes
1answer
22 views

How to query Id of a field/Custom field from standard object using Tooling API in .net

How do I get the Id of the field on Standard object like Account, Opportunity & Custom Object and Custom Field Id using Tooling API in .net.
2
votes
2answers
27 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
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
93 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 ...
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
0answers
17 views

Checking “Authenticated Website” User Login/Pass from REST API

I am developing a .NET desktop application consuming the REST API with DeveloperForce.Force library. I want to check the username and password of "Authenticated Website" users for authentication. How ...
3
votes
2answers
29 views

Run Batchable class from .Net code

I have created a batch apex class and am able to run this from within the developer console using execute anonymous. I want to be able to trigger this batch to run from within a .net program. Is there ...
0
votes
0answers
10 views

How can i get the user image using force.com .net library

I use Force.com-Toolkit-for-NET Library(https://github.com/developerforce/Force.com-Toolkit-for-NET) well. i have some problem. I get the target user information but i can't display user photo. ...
1
vote
1answer
107 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; ...
1
vote
1answer
46 views

How to Query Custom Fields Which are not part of Enterprise WSDL in Salesforce?

I'm Querying Contact object From .Net but I'm unable to Capture the result. We've added some custom fields to Contact Object after Importing Enterprise WSDL in .NET. But I'm unable to capture the new ...
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 ...
1
vote
0answers
223 views

Need Help: Consuming WCF service within Salesforce

I am hosting an ASP.NET web service on a web server which communicates to a legacy SQL server. This web service is to be accessed by Salesforce. I've created the wsdl and imported it into Salesforce ...
0
votes
0answers
27 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 ...
1
vote
1answer
27 views

.Net Integration Timeout

When we use the following code for the authenticaiton, its gettign too much of time for get the result. is there any way to optimize the code? loginResult = SFDCServices.login(userName, ...
0
votes
1answer
35 views

When calling an object why do we have to initialize them to null (WSDL)

I have generated an Enterprise WSDL to use for a .NET application that we will be using to interact with Salesforce. When looking to some tutorials, see the snippets: Why this: SforceService ...
2
votes
1answer
281 views

OAuth JWT Token Bearer Flow returns Invalid Client Credentials

I am trying to use OAuth JWT Token Bearer Flow to connect to the Salesforce REST API from C#. I have configured a Connected App within Salesforce and uploaded the certificate used to sign the token ...
2
votes
1answer
84 views

Exacttarget send an email with a filter

I currently have a vb.net app that allows to send an email using (TriggeredSendDefinition) The problem I have, is that I need a specific date from a DataExtensionObject. I created a filter and I ...
0
votes
0answers
45 views

Manage Outbound Messages of multiple object in same .net project

I am working on an integration project, i have a different web service project for each object ie. account, opportuntiy, contact and some custom object. using System; using ...
0
votes
0answers
36 views

Batch Aborting on XML Query via SOAP Api

Our .net code has been working without issue for a few years now. Ever since Summer 14, the Delete batch job will abort on the Select Query. I do not have a lot of specifics but this is what I know: ...
1
vote
1answer
54 views

How to create UPSERT operation on CASE object in Salesfoce using .NET

I went through following link , it says , you can access SF objects using EnterPrise WSDL in .NET. .Net to Salesforce Integration My question is , what is the best method by which i can create and ...
0
votes
2answers
63 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; ...
5
votes
4answers
288 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 ...
3
votes
2answers
338 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
77 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 ...
2
votes
1answer
205 views

Exacttarget : .net/c# and API

So far i have been using SSJS and/or AMP script for Landing pages and others in Exacttarget. Am just wondering, how can i use C#/.net to do the same instead? How? where do you put it ? Dont mind if i ...
1
vote
1answer
82 views

Batch-sends based on triggers using TriggeredSendDefinition

Here is my questions: Possibility to use a different lists to be associated with the triggered type of sends in Exact target? Every time at least one subscriber has to be associated for the ...
0
votes
0answers
54 views

.Net code to retrieve the sent event returns null

I am trying to retrieve the sendlogs using retrive method using following .net code (using proper username and password) but I am getting a null/empty value in return. I tried passing a specific ...
1
vote
1answer
80 views

.Net to Salesforce Integration

I used EnterPrise WSDL for Salesforce integration. I was able to access the Account,Lead,Contacts, etc. objects. I need one help. Is it possible to get Apex Job Schedule from .Net?
6
votes
2answers
338 views

Sanitize a string before injecting it into SOSL

Is there a way through the .net framework or some other package to sanitize strings so that they can be safely used in sosl? Is there any larger standard that SOSL falls under? I was able to find How ...
0
votes
1answer
88 views

Exact Target API and .NET email creation

How can we make email that is being created by the ExactTarget API using .NET pick a layout from exact target to go around the HTML body? Here is my sample code for the new email: var email = new ...
0
votes
1answer
240 views

Using a single form to update multiple records [closed]

In our ExactTarget application we've used AMPscript and HTML to create forms which edit the data extensions. So far the edits have been to a single record per transaction. (edit the form content, ...
0
votes
1answer
45 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 ...
1
vote
0answers
15 views

How to add my .csv fie users into the list using import definition

I am able to create Import definition using .net code calling web API. here i am giving id.FileSpec = "85255-ZIP.csv", my csv having users , how can i add this csv users to my import definition . ...
4
votes
1answer
345 views

Apex scheduled job to call .net web services hosted in IIS periodically

I just wondering if someone could guide me to a document of how to perform Apex scheduled job – To call .net web service hosted in IIS of external server on a periodic basis. My requirement is every ...
0
votes
1answer
461 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
1answer
62 views

Retrieving email by id and but throwing an error

I am trying to retrieving the email below code and returned as error using SAOP API (.NET). Is there any code issue here ? What is the the minimum input is required to retrieve email object ? I am ...
2
votes
1answer
63 views

How to send an image from SFDC to .net application on the click of a button in .net

I have a requirement to show an image in .net application by making a query on Salesforce. As a work around, i did write a simple webservice call in SFDC, but at the .net end I am getting the URL of ...
2
votes
3answers
326 views

Can't set property value for SObject using setType function

I'll get my excuses in early: I'm a developer with some experience of working with APIs, but this is my first encounter with Salesforce. We've been given a spec to interface with a customer's ...
2
votes
1answer
102 views

exacttarget: subscriber is missing required attribute

I have created template in Exact Target account. Added below attribute data in template. City Name : %%CityName%% State Name : %%StateName%% From the code, I added below code in SOAP API (using ...
2
votes
2answers
124 views

Sending email using custom template and using TriggeredSend

I created a template in Exact Target account. How do I send an email by referencing template I created and using TriggeredSend object function from SOAP API (in .NET) ? Just to add, How to associate ...
2
votes
1answer
256 views

Received validation error from SOAP API

When I am testing TriggeredSend Functionality in the APIStarterKit project (with SOAP API and .NET), I got below error response from exacttarget after Update is called. How do I know what are those ...
1
vote
1answer
23 views

Regarding SendClassification.CustomerKey

This is regarding Exact Target API terminology. I am currently trying to test TriggeredSend in the APIStarterkit project in .NET. I am currently learning and testing samples. Can any body advice what ...
1
vote
1answer
39 views

Email.ID in Exact Target SOAP API

This is regarding Exact Target API terminology. I am currently trying to test TriggeredSend in the APIStarterkit project in .NET. I am currently learning and testing samples. Can anybody advise what ...
1
vote
1answer
119 views

Dynamic Templates passing using SOAP API

We have some templates in Exact Target Account. We need send an email to customers using templates. So we need to assign dynamic template to the subscriber. We are implementing code using SOAP API in ...
0
votes
1answer
44 views

Regarding sand box in our environment

Please send configuration/setup instructions to set up in our development (.NET) environment and also prerequisites to set-up sand box environment in our end ? Thanks
3
votes
1answer
218 views

Outbound message hits webservice continously

I have a webservice written in .net which gets the request from the outbound message and sends the response. But salesforce keeps hitting my application and it still waits in outbound queue. How do I ...