Views:

Question


How do I use a Customised image within a Signature Configuration?

Customised images could be a font, headshot image or a special graphic for your qualifications. All these images can be extracted and included in your Mail signature using the image library.
 

Solution

 

1. Create images of the signature name in the following format "Firstname_Lastname.gif" 
 

Example:



 

Please NOTE that the format of the file must be the same as the above, Proper Case, "_" separator, .gif.

 

Initially, creating 2 - 3 gifs should be ok.
 

2. From the Signature Configuration Menu: Go to "Images" > "New Folder" > Add description and Save Changes


 


3. Open the newly created Image Folder "Crossware Images" and add the .GIF Image by clicking Upload an Image / Upload Image.


 


4. The Newly Created Images should appear



5. From the "Admin Menu": Go to "Fields" > "Formula" > "Create image field" 


6. Settings for the Signature Image Formula Field Look Up

Lookup Name: SigImageFormula

Type: Formula


Copy and paste the below C# code snippet into the Formula (C#) editor:

string strFirstName = "(!FirstName!)";
string strLastName = "(!LastName!)";

string fileName= strFirstName + "_" + strLastName +".gif";

return fileName;

 


7. Click SAVE & CLOSE to save the changes made then, click the "Send Test Email" button to Validate


Verify the format of the File Name generated is the same as the file name created in Step 1



8. From the "Admin Menu": Go to "Fields" > "Image" > "Create image field" > Select image
 

FieldValue
Field NameCrosswareImages
Where is the Image StoredMail Signature Library
Image NameSelect image & Compute from another field
Image Field SettingsHTML Attributes - border="0"
Exclude from cache Off



 
NOTE: Image will be validated at run-time

9. "Send Test Email" button to Validate

 

10. Verify the correct image has been sent through

11. Use this look up in your signature configurations
 
 
 
 
Related Products: CMS GWS, CMS M365, CMS MSE v5, Designer 6 (for CMS M365)