• Nila
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 13
    Questions
  • 7
    Replies
Hi There,
I have moved my application from one developer account to another developer  account.
when I try to run application from another account I am getting this error
API is not enabled for this Organization or Partner
Any idea?
 
Hi There,
I am trying to store session in database in .Net project
 
when I run application I am getting this error  "'salesforce_payment.SforceService' in Assembly 'App_WebReferences.ldeop_29, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable." i.e. Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted.
 
How can I make salesforce wsdl(web service) serializable?
 
Thanks in advance
Cheers
Nila
 
Hi There,
I have custom s-control to send email to User . Before it was working suddenly it stops working I can not see anything wrong . Any idea? Do I need to change any setting in salesfoece?
 
Code looks like
var singleRequest= new sforce.SingleEmailMessage();
singleRequest.toAddresses =contactEmail;
singleRequest.htmlBody = strBody;
singleRequest.bccAddresses = user;
singleRequest.subject = "test";
singleRequest.replyTo = user;
try
{
var sendMailRes = sforce.connection.sendEmail([singleRequest]);
alert('Email sent to user id: ' + contactEmail);
}
catch(err) {
alert(err)
}
Hi There,
I am trying to update selfservice user contactID through code its giving me error like "Unable to create/update fields: ContactId. Please check the security settings of this field and verify that it is read/write for your profile"
where can I change contactId security settings?
I tried from security controls -> field security -> contacts object but there is not contactid field for contacts object?
can you please help me?
Thanks,
Nila
Hi There,
I am trying to export data using Custom S- control. I can get all data but I dont know how to export all data to Excel?
Any idea?
Thanks,
Hi There,
I am trying to create s-control for email . I can send single email without template. If I try to send email with template its not worikng.
Any idea?
code looks like
 
var user = sforce.connection.getUserInfo().userEmail;
var queryResponse = sforce.connection.query("select id from emailtemplate where name = 'test'");
var records = queryResponse.getArray("records");
var templatedId = records[0];
var request = new sforce.MassEmailMessage();
massRequest.saveAsActivity = false;
request .templateId = templatedId ;
var ids = new Array(1);
  ids[0] = "{!Contact.Id}";
massRequest.targetObjectIds = ids;
massRequest.subject = "sent through ajax test driver";
massRequest.replyTo = user;
var sendMailRes = sforce.connection.sendEmail([massRequest]);
Error is
faultcode 'soapenv:Client', faultstring:'Unexpected element {urn:partner.soap.sforce.com}type during simple type deserialization