• Jay Corriveau
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 1
    Questions
  • 2
    Replies
We keep getting this error:

Developer script exception from Company Name : createNewSOCOnNewRequest : createNewSOCOnNewRequest: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Contact__c]: [Contact__c] Trigger.createNewSOCOnNewRequest: line 22, column 1

Apex script unhandled trigger exception by user/organization: ORGNUMBER

createNewSOCOnNewRequest: execution of AfterInsert

caused by: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Contact__c]: [Contact__c]

Trigger.createNewSOCOnNewRequest: line 22, column 1

We aren't developers, and we haven't had any devs in there for a few weeks.  The error just started popping up a few days ago

We opened a support case with salesforce, but they sent us here saying that we'd get pro support here.

Any ideas?

Thanks!
HI there,

I have a visualforce email template that I would like to use Google fonts for.  My code looks like this:
 
<messaging:emailTemplate subject="{!if(RelatedTo.Site__r.State_Province__c='QC','Re: '& relatedTo.Site__r.Name_FR__c & ' ID:'& relatedTo.Name,'Your ' & relatedTo.Site__r.Name & ' Inquiry ID:' & relatedTo.Name)}" recipientType="Lead" relatedToType="Lead_To_Site_Association__c">
<messaging:htmlEmailBody >
    <html>
    <head><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:300,400,600,700&amp;lang=en" /></head>
            <body style="background-color:#ffffff;">
            <style>
            body{
            font-family: 'Raleway';}
            </style>

When I look at the template in the preview it appears fine.  When I send a test the email is received with Times New Roman and not the font I saw in the preview.

Any ideas?
HI there,

I have a visualforce email template that I would like to use Google fonts for.  My code looks like this:
 
<messaging:emailTemplate subject="{!if(RelatedTo.Site__r.State_Province__c='QC','Re: '& relatedTo.Site__r.Name_FR__c & ' ID:'& relatedTo.Name,'Your ' & relatedTo.Site__r.Name & ' Inquiry ID:' & relatedTo.Name)}" recipientType="Lead" relatedToType="Lead_To_Site_Association__c">
<messaging:htmlEmailBody >
    <html>
    <head><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:300,400,600,700&amp;lang=en" /></head>
            <body style="background-color:#ffffff;">
            <style>
            body{
            font-family: 'Raleway';}
            </style>

When I look at the template in the preview it appears fine.  When I send a test the email is received with Times New Roman and not the font I saw in the preview.

Any ideas?