• SFDCpassion
  • 30 Points
  • Member since 2011

  • Chatter
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 9

Double N = math.random()*1000000000;
Long l = integer.valueof(N)*100;
string SNumber = string.valueof(l);


I have to insert that in a Text (External Id) fields.





I am having problem with action region,


Action region contains a picklist field and on change of value action support rerenders another picklist outside the action region. But if form is refreshed the picklist value in the action region is becoming null!


Is this the wired behavior of apex:actionregion ?


Please help me...

Hi Everyone,

i want to create a button which should look like image or image on the button.

My entire team and I are receiving the same error message when trying to merge a document.
"BLOB is not a valid UTF-8 string Error is in expression '{!init}' in component in page lod4:googledocs: (lod4) An unexpected error has occurred. Your solution provider has been notified. (lod4)"

It started out with my property and is now affecting sister properties within my companies network. It there a system setting that can correct the problem? 

I called and was told to open a case. I opened a case (11287865) and was sent an email that the case was closed. Directed to this board for some help. 
A Sales Manager requires the ability to view all of his teams open activities within the Salesforce 1 Mobile app. Is this native functionality? Based on my research, a user can only see activities that they own. Please confirm.
Need some guidance on Test Class as the code coverage not happening properly.

Trigger and Class below.


trigger SendEmailtoMRO on COI_Expertise__c (after update) {
    string text1='Unclear if COI Exists';
for(COI_Expertise__c ci:trigger.new){
  if (ci.Conflict_of_Interest__c.equals(text1)){
        }  Here test__c is ID as we are using the template using ID

public class SendEmailHandler {
    public static void sendEmail(id targetid){
        Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
    //checking condition
   //Template to select from the list of email templates available
          EmailTemplate et=[Select id from EmailTemplate where DeveloperName=:'Unclear_if_COI_Exists'];
     system.debug('The ETID is' + et);
          Messaging.SendEmailResult [] r = Messaging.sendEmail(new Messaging.SingleEmailMessage[] {mail});   



I get a error saying target is empty

Can someone help in writing a test case for this.

Double N = math.random()*1000000000;
Long l = integer.valueof(N)*100;
string SNumber = string.valueof(l);


I have to insert that in a Text (External Id) fields.







 Please help me out with my issue


I have a call report object where call plan is attached to it, whre the corresponding accounts are displayed in a pdf, but my issue wen i create a new call report on today's date along with the existing call report created on todays date , the accounts are getting displayed twice with the same name , where i want it to be displayed only once.




I have a text field which holds numeric values like 1, 2, 3, 12,13 etc. Visualforce page displays these values as







how can I sort them as 1,2,3,12, 13.... Guess I can't use lpad in soql.


We currently have a opening for  "Salesforce.com (SFDC) Developer, with 2-3yrs experience" at our Bangalore Office.  Appreciate if you could send us your updated resume with the current CTC and also do refer your friends or colleagues with this skill set for this below position.
Skills Required :
- APEX triggers
- S-Control
- VisualForce
- Email Services
- Some Java and C++, .net Dev exp.
- Webservices


Thanks and Regards,