• Getlin
  • NEWBIE
  • 50 Points
  • Member since 2009

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 20
    Replies

Hi,

 

I try to get information about users and roles(i need get role's name for each user)

 

This query doesn't work:

select u.Id, u.Name, ur.Name  from User u, UserRole ur where u.UserRoleId = ur.Id

 

Is there other way to get this information ?

 

Thanks!

  • October 01, 2010
  • Like
  • 0

Hi all,

 

I need to deploy a trigger to production environment. There are some invalid triggers and test classes in production environment. So if I run test for existing code this test will fail. But when I try to undeploy this invalid code Salesforce try to run tests for this invalid code. 

 

So, is it possible to undeploy invalid code without running tests to it ?

 

Thanks!

Hi guys,

 

I have a simple issue with deployment. I have a trigger and a test class for it. While i'm trying to deploy only my trigger  deployment process  runs all test.

And some of these test are failed. Is it possible to deploy only my trigger with running only my test for it ?

 

 

Thanks for your responses!

Hi all!

 

I need to send email to some account programmatically from my application.

Is it possible to do it via web service API ? For email message I need to use some existing templates. This templates i can get from EmailTemlate object. Maybe it's possible to send email in the same way as I make for example a task for some users via web service API.

 

Thanks !

  • February 26, 2010
  • Like
  • 0

Hi,

 

I have such error during getting response:  '', hexadecimal value 0x1F, is an invalid character. Line 1, position  

I've had this error.But it was caused by invalid login and password. Now these parameters are ok.

About a week ago it worked good. 

 

This error occurs here:

 

public override WebResponse GetResponse()

{

return new GzipWebResponse(wr.GetResponse ());

}

 

I use Gaiaware library. 

 

 

Does anybody know what this error caused by ? 

 

 

Thanks 

Message Edited by Getlin on 01-05-2010 02:04 AM
Message Edited by Getlin on 01-05-2010 02:04 AM
  • January 05, 2010
  • Like
  • 0

Hi all,

 

We have a web site (this site is working in a web farm) and we are developing integration with Salesforce. This integration have been working for many month. But now we've faced with INVALID_SESSION_ID error.

 

Anybody know why this error occurs ? 

 

P.S. "Lock sessions to originating IP" is turned off.

P.P.S. This error doesn't occur in the test environment.

 

Thanks 

  • December 16, 2009
  • Like
  • 0

Hi all,

 

Could anybody explain what does this error "CANNOT_UPDATE_CONVERTED_LEAD - Message:cannot reference converted lead" mean ? This error happens during assigning a task to a SF user.

 

Thanks! 

  • December 03, 2009
  • Like
  • 0

Hi,

 

I use Salesforce WebService API for integration (.net). For integration we need additional information in Account. So, I've created custom field (picklist) and define some values for this field.  When I 've created new Account - it's all ok, new account object has the correct value of my custom field. But when I try get this Account (within web service api) this field was undefined (other field are ok). Where I'am wrong ?

 

Thanks. 

Hi,

 

I try to get information about users and roles(i need get role's name for each user)

 

This query doesn't work:

select u.Id, u.Name, ur.Name  from User u, UserRole ur where u.UserRoleId = ur.Id

 

Is there other way to get this information ?

 

Thanks!

  • October 01, 2010
  • Like
  • 0

Hi all,

 

I need to deploy a trigger to production environment. There are some invalid triggers and test classes in production environment. So if I run test for existing code this test will fail. But when I try to undeploy this invalid code Salesforce try to run tests for this invalid code. 

 

So, is it possible to undeploy invalid code without running tests to it ?

 

Thanks!

Hi guys,

 

I have a simple issue with deployment. I have a trigger and a test class for it. While i'm trying to deploy only my trigger  deployment process  runs all test.

And some of these test are failed. Is it possible to deploy only my trigger with running only my test for it ?

 

 

Thanks for your responses!

Hi all!

 

I need to send email to some account programmatically from my application.

Is it possible to do it via web service API ? For email message I need to use some existing templates. This templates i can get from EmailTemlate object. Maybe it's possible to send email in the same way as I make for example a task for some users via web service API.

 

Thanks !

  • February 26, 2010
  • Like
  • 0

Hi,

 

I have such error during getting response:  '', hexadecimal value 0x1F, is an invalid character. Line 1, position  

I've had this error.But it was caused by invalid login and password. Now these parameters are ok.

About a week ago it worked good. 

 

This error occurs here:

 

public override WebResponse GetResponse()

{

return new GzipWebResponse(wr.GetResponse ());

}

 

I use Gaiaware library. 

 

 

Does anybody know what this error caused by ? 

 

 

Thanks 

Message Edited by Getlin on 01-05-2010 02:04 AM
Message Edited by Getlin on 01-05-2010 02:04 AM
  • January 05, 2010
  • Like
  • 0

Hi all,

 

Could anybody explain what does this error "CANNOT_UPDATE_CONVERTED_LEAD - Message:cannot reference converted lead" mean ? This error happens during assigning a task to a SF user.

 

Thanks! 

  • December 03, 2009
  • Like
  • 0

Hi,

 

I use Salesforce WebService API for integration (.net). For integration we need additional information in Account. So, I've created custom field (picklist) and define some values for this field.  When I 've created new Account - it's all ok, new account object has the correct value of my custom field. But when I try get this Account (within web service api) this field was undefined (other field are ok). Where I'am wrong ?

 

Thanks. 

I'm trying to update a custom field for a Lead. However, the field isn't updating. I'm not quite sure if I'm trying to update the Lead correctly.

Lead updateThisLead = new Lead();

updateThisLead.Id = idOfLeadToUpdate;
updateThisLead.UpdateThisField__c = "Updated value";

SforceService sfdc = new SforceService();
string usr = "xxxxxxx";
string pwd = "xxxxxxx";

LoginResult lr = sfdc.login(usr, pwd);

sfdc.Url = lr.serverUrl;

sfdc.SessionHeaderValue = new sforce.SessionHeader();
sfdc.SessionHeaderValue.sessionId = lr.sessionId;
sforce.GetUserInfoResult userInfo = lr.userInfo;

sObject[] records = new sObject[] { updateThisLead };
SaveResult[] sr = sfdc.update(records);