• debasis jena 35
  • NEWBIE
  • 233 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 9
    Replies
I am using a Mydomain enabled dev org on gs0 (Winter 16) and going throught the exercise in Trailhead. 

Follwed every step and when i click on Preview it takes me to my app (looks right) - https://skypeforbiz-dev-ed.lightning.force.com/c/Sfb.app

But it errors out with -

Lightning components require My Domain. Please contact your system administrator for more information.

Any idea what I might be missing? My org is defenitely provisioned with MyDomin.
There are specific data that needs to render in all caps in the VF email template. How do I write that into the VF email template?

This is section of code that needs be outputted in all caps. 
<th>CUSTOMER INFO</th><th> </th>
        <tr>
               <td><b>Company:</b></td>
           <td>{!relatedTo.Contact.Account.Name}</td>
            </tr>
           <tr>
               <td><b>Address:</b></td>
           <td>{!relatedTo.Contact.MailingStreet}</td>
            </tr>
       <tr>
               <td><b>City:</b></td>
           <td>{!relatedTo.Contact.MailingCity} </td>
            </tr> 
       <tr>
               <td><b>State:</b></td>
           <td>{!relatedTo.Contact.MailingState}</td>
           </tr>
           <tr>
               <td><b>Postal Code:</b></td>
           <td>{!relatedTo.Contact.MailingPostalCode}</td>
           </tr>
           <tr>
               <td><b>Country:</b></td>
           <td>{!relatedTo.Contact.MailingCountry}</td>
            </tr>
           <tr>
Here is the entire code of the VF email template:
<messaging:emailTemplate recipientType="Contact"
  relatedToType="Case"
  subject="RMA ON DEMAND - {!relatedTo.CaseNumber} - {!relatedTo.ThreadID__c}">
  <messaging:htmlEmailBody >
    <html>
     <table align="left" width="640px" border="0" cellspacing="0" cellpadding="0">
      <head>
      <apex:image id="Logo" value="https://c.cs16.content.force.com/servlet/servlet.ImageServer?id=015f0000000GJGr&oid=00Df0000003cHuJ&lastMod=1440092921000"/>
      </head>
      <body>
      <STYLE type="text/css">
          table {border-collapse:collapse; table-layout:fixed; width:600px;}
          table td {border:solid 1px #CCCCCC; width:100px; word-wrap:break-word;}
          H3 {color: #004488}
          TH {font-size: 14px; font-face: Tahoma; color: #004488; border: solid #CCCCCC; background: #dfdfdf;
               border-width: 1;  text-align: left } 
          TD  {font-size: 13px; font-face: Tahoma } /
          TABLE{border: solid #CCCCCC; border-width: 1}
          TR {border: solid #CCCCCC; border-width: 1}
        </STYLE>
        <font face="Tahoma" size="2">   
            <br></br>
            <div>Hi Gayle,</div> 
            <br></br>
            <div>Please process the following <b>RMA</b>. If there are any questions, please reply all.</div>
            <br></br>
          <table border="1" >
            <tr> 
               <th>RMA INFO</th><th> </th>
            <tr>    
               <td><b>RMA Type:</b></td>
           <td>{!relatedTo.RMA_Type__c}</td>
            </tr>
            <tr>    
               <td><b>Case Number:</b></td>
           <td>{!relatedTo.CaseNumber}</td>
           </tr>    
            <tr>
             <th>CUSTOMER INFO</th><th> </th>
        <tr>
               <td><b>Company:</b></td>
           <td>{!relatedTo.Contact.Account.Name}</td>
            </tr>
           <tr>
               <td><b>Address:</b></td>
           <td>{!relatedTo.Contact.MailingStreet}</td>
            </tr>
       <tr>
               <td><b>City:</b></td>
           <td>{!relatedTo.Contact.MailingCity} </td>
            </tr> 
       <tr>
               <td><b>State:</b></td>
           <td>{!relatedTo.Contact.MailingState}</td>
           </tr>
           <tr>
               <td><b>Postal Code:</b></td>
           <td>{!relatedTo.Contact.MailingPostalCode}</td>
           </tr>
           <tr>
               <td><b>Country:</b></td>
           <td>{!relatedTo.Contact.MailingCountry}</td>
            </tr>
           <tr>
               <td><b>Contact Name:</b></td>
           <td>{!relatedTo.Contact.Name}</td>
            </tr>
           <tr>
               <td><b>Contact Phone:</b></td>
           <td>{!relatedTo.Contact.Phone} </td>
            </tr>
           <tr>
               <td><b>Contact Email:</b></td>
           <td>{!relatedTo.Contact.Email}</td>
            </tr>
           <tr> 
               <th>PART INFO</th><th> </th>
            <tr>    
               <td><b>Model Number:</b></td>
           <td>{!relatedTo.Model_Number__c}</td>
            </tr>
           <tr>    
               <td><b>Outbound Part Number:</b></td>
           <td>{!relatedTo.Outgoing_Part__c}</td>
            </tr>
             <tr>    
               <td><b>Outbound Serial Number:</b></td>
           <td>{!relatedTo.Outgoing_Serial__c}</td>
           <tr>    
               <td><b>Inbound Part Number:</b></td>
           <td>{!relatedTo.Part_Number__c} {!relatedTo.Part_number_2__c} {!relatedTo.Part_number_3__c}</td>
            </tr>
           <tr>    
               <td><b>Inbound Part Serial Number:</b></td>
           <td>{!relatedTo.SN__c} {!relatedTo.Serial_number_2__c} {!relatedTo.Serial_number_3__c} {!relatedTo.Serial_number_4__c}</td>
            </tr>
            <tr>    
               <td><b>Chassis Serial Number:</b></td>
           <td>{!relatedTo.Chassis_Serial_Number_1__c} </td>
            </tr>
           <tr>    
               <td><b>Problem Description:</b></td>
           <td>{!relatedTo.Detailed_Problem_Description_1__c} </td>
            </tr>
         </tr>
      </tr>
     </tr>
     </tr>
    </table>
    <br></br>
    <div>Thanks,</div>
    <div>{!relatedTo.Owner.Name} </div>
   </font>
  </body>
  </table>
 </html>
</messaging:htmlEmailBody>  
</messaging:emailTemplate>

Thanks!

Beth
 
On all standard accounts, contacts, leads, etc. there is a related list called "Notes & Attachments." I have been trying to figure out how to edit the list properties, but I can't find it anywhere within setup. 

I need to remove the "new note" button for all users except system admins. I still want to allow everyone to attach a file, just not have the ability to add a "note" since we use our system different to track activities and notes associated with any record.

The related list is not editable when I go into page layout - I can only delete the list from the layout altogether, which is not what I want to do. 

Can anyone please guide me as to how to find how to edit this list? I know it's a standard feature, but I need to control it.

Thanks!