• saraA
  • NEWBIE
  • 20 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 18
    Replies
Hi - 
I'm creating a VisualForce email template to be sent out via a workflow.

The users would like certain words "Bolded", and others "Italicised".

I have searched and tried lots of things, so far all unsuccessful.  I thought this would be easy!

If anyone can help, i'd really appreciate it!  I copied the basic parts from a working email.  I'm just not getting my formatting (see my *** notes below).  I am pretty good at figuring out how to make my specifics work from a solution that has similar results, but I'm really stuck here.

Here's some of what I have so far:.  

<messaging:emailTemplate subject="New Instrument Ownership" recipientType="Contact" relatedToType="Class_Order__c">
<messaging:htmlEmailBody >

<html>
            <style type="text/css">
            body {font-family: arial; size: 12pt;}  *** I’m not getting Arial text; I’m getting Courier

            table {
            border-width: 5px;
            border-spacing: 5px;
           
            border-color: #FF0000;
            background-color: #FFFFFF;
        }

        td {
            border-width: 1px;
            padding: 4px;
            border-style: solid;
            border-color: #000000;
            background-color: #FFEECC;
        }

        th {
            color: #000000;
            border-width: 1px ;
            padding: 4px ;
            border-style: solid ;
            border-color: #000000;
            background-color: #FFFFF0;
        }
        </style>



<apex:image value="http://na15.salesforce.com/servlet/servlet.ImageServer?id=015i0000002yU39&oid=00Di0000000kwwg" />
<br/>
<br/>
Order Number: {!relatedTo.Name}


Dear {!RelatedTo.ChargentOrders__Billing_First_Name__c},
<br/>
This letter is to certify that {!relatedTo.Student_Name__c} is enrolled in: <br/>
        Class:  {!relatedTo.Class__c}<br/>  *** They want the variable “Class” BOLDed
        Days:  {!relatedTo.Days__c}<br/>  *** They want the variable “Days” BOLDed
<br/>
Thank you,<br/>
Your Counselor<br/>  ***  They want this text “Your Counselor” italicized.
<br/>
</html>
</messaging:htmlEmailBody>

Thanks!
Sara

Hi - 
I have a few picklists that I have to get the value (if there is one) and perform some simple calculations.  I am getting #Error becuase some of the values are Numeric, some are alpha and some are blank.
 

The following 2 formula are returning "Error":
VALUE(TEXT(Scholarship_Discount_value__c ))

AND
( Scholarship_Annual_Value__c )*4 + Discount_Value_4_Year_Scholarship_Total__c

This formula works, but I think that's because it's only selecting certain values:
CASE( Scholarship_Discount_Type__c ,
"Presidential Scholar", 12000,
"Deans Scholarship", 10000,
"Founders Scholar", 7000,
"Leadership", 5000,
0)

Can anyone fix these formulas for me?  
Thanks!
Sara

Hi -

I'm cleaning up some data and I need to delete a Picklist value.  But I get the message:

The picklist value you attempted to delete is the last value for the following record types. This picklist must contain at least one value. Either add another value to the picklist or to the following record type.

 

How do I fix this?


thank you -

Sara

HI  -

I created a text field and now I want to have it default to "no".  There's no data in it yet, so is there a way to edit the field and set the Default value?

I feel like I've done this before, but I can't remember or find it.

 

Thanks -

Sara

Hi -

I'm trying to create a formula (in a workflow)-

 

If the Length of field "Invoice Line Number" is 1,

make the field "Invoice_Number + "-0" + "Invoice Line Number" (add a zero to Invoice line number in front)

otherwise, just make the result "Invoice_Number + "-" + "Invoice Line Number"

 

My formula:

 

IF(LEN(TEXT(Invoice_Line_Number__c)),1, ("0"+ TEXT(Invoice_Line_Number__c)), (Invoice_Line_Number__c))

 

I keep getting Syntax errors, such as

Error: Incorrect parameter type for function 'IF()'. Expected Boolean, received Number

 

I have tried all sorts of changes, like putting the "1" in quotes, I have counted the parenthesis, and nothing is getting this right.

 

Thank you!!

Sara

Hi -

I have an SSN field - it's encrypted for most users and for most applications/profiles.


However, one application needs to see the SSN, so I gave them access to view encrypted fields.

 

Now, they want to view it formatted as SSN, and they want it printed, like on their insurance forms, formatted as SSN - with all the numbers and the dashes.


How can I do this?

 

Thank you in advance -

Sara

hi -

I just created a new app and have selected it. I have a page layout, assigned to that Record type, but I'm not seeing the record in the new record type layout.


I know I've done this before - I don't know what I forgot to do!

 

 

Thanks

Hi -

I'm fairly new to SF, and watched the video on the new "Smart Search".  I don't, however, see this in my account, and I think this would solve a problem we're having.

 

Can anyone tell me how to "activate" Smart Search? Or why I don't see it?

 

Thanks -

Sara