Summary:
The purpose of this article is to provide instruction on how to add an e-mail address to the company entity. There have been several articles written on this before. I am going to attempt to combine these other articles and simplify the topic and focus on a very specific area of adding an email address to the company entity. Jeff Richards has written an article on the DPP BLOG “Working with a persons address type” http://dpp.sagecrm.com/blogs/hints_tips_and_tricks/archive/2009/04/14/working-with-a-person-s-address-type.aspx and another article titled “Email and Phone Numbers in CRM” http://dpp.sagecrm.com/blogs/hints_tips_and_tricks/archive/2007/07/16/email-and-phone-numbers-in-crm.aspx. These articles provide insight into the process we are about to go through. So, this article will not discuss the why and what for’s the previously mentioned articles have addressed these areas. This article will apply these two concepts to the email address block on the company entity. This article is a part of a 3 part series, part one is “How to Add a e-mail address Part 1 - To the person entity” and finally part two is “How to Add a e-mail address Part 2 - To the company entity”.
The logic presented here can also be used for additional email addresses as well. If you have ever tried to add an email address to the company email address block you have found it impossible to do so. This block is not editable and is basically hardcoded into SageCRM’s eware.dll. So, if this block is hard coded how can another email address be added to the block? Will a field can NOT be added to the email block. But then we really don’t want to add a field we want to use the same behavior of the email address for the company and have another option available or Selection list value available for users to enter. The email address block is simply presenting on the screen the options available for the company email address that are stored inside of the table for the email address and in the translations table.
For step by step instructions with pictures please download the associated pdf file here.
Assumptions:
During this discussion I will be presenting how to add the New Email Address we added in Part 1 of this series to the NEW Company Entry Screen using SageCRM 6.2 WITHOUT adding an actual field to the SageCRM database.
Prerequisites:
SageCRM 6.2
Installation Instructions:
There are 3 steps to this process:
Step 1: Define the pattern of the existing person email addresses on the New Company Entry screen.
Step 2: Adding a new translation of “Google G-mail” on to the Personal Email Details Panel of the New Company Entry Screen
Step 3: Verifying that the Person Email address type of “Google G-mail” appears on the New Company Entry screen.
Step 1: Define the pattern of the existing person email addresses on the New Company Entry screen.
1. Navigate to Administration | Customization | Translations.
2. Enable Inline Translation Mode.
3. Navigate to Main Menu | New | Company. (If deduplication is enabled enter a made up company name and click the button to enter company details, we will not be saving the company record.) We just need to view the company entry screen.
4. Scroll until you find the Personal Phone Details and Personal Email Details Panels (i.e. Blocks) on the New Company Entry Screen. (They are past the Person panel.)
Notice that on this screen there is only one Personal E-mail address available. While on the Person’s Phone/E-mail panel there are Business, Private, and Google G-mail (the email address that was added in part one of this series).
5. Back on the New Company Entry Screen select the star under score next to the label for the Business email address. A pop-up screen will then be presented with the relevant information for the translation you just clicked on.
6. Note that the following values:
Caption Code = Business
Caption Family = Link_PersEmail_Comp
Caption Family Type = Links
Caption Order = 0
Us Translation = Business
7. Close the Inline Translation window that popped up.
8. Step 1 is now complete please proceed to Step 2.
Step 2: Adding a new translation of “Google G-mail” on to the Personal Email Details Panel of the New Company Entry Screen.
1. Now we take this information and navigate back to Administration | Customization | Translations.
2. Disable Inline Translation Mode.
3. Within the Translation Finder on the same screen type in the Caption Family of “Link_PersEmai” and click the find button on the right.
4. The results should show you at least 3 translations:
Business
Google G-mail
Private
Business (repeated)
Do you notice a pattern here? Notice that the Business email address shows up twice. Why is that? Will the answer is that the second Business email address is the address we just looked up for the New Company Entry Screen. But the difference is that now we know the pattern of how to add OTHER person email address fields to the New Company Entry Screen.
5. So logic dictates that if we add ANOTHER translation following the same naming convention then we should be able to add another person email address to the New Company Entry screen.
6. Lets add the custom email address we created from part one “Google G-mail” to the New Company Entry Screen.
Click on the New button next to the Translation finder.
7. Once the screen appears type in the following values:
Caption Code = GoogleCompanyPerson
Caption Family = Link_PersEmail_Comp
Caption Family Type = Links
Caption Order = 3
US Translation = Google G-mail
8. Click the Save button once all the values are entered.
9. Click the Continue button.
10. Step 2 is now complete please proceed to Step 3.
Step 3: Verifying that the Person Email address type of “Google G-mail” appears on the New Company Entry screen.
At this point we need to verify that the translation was added to the custom_captions table and that it appears on the New Company Entry Screen.
1. Before leaving Translations the finder should have refreshed after clicking the continue button.
2. At this point 5 translations should appear with the Caption Family of “Link_PersEmai”.
3. This verifies that the translation has been successfully added to the custom_captions table.
4. The second part of this verification step is to check and make sure the new Person Email address type appears on the New Company Entry screen. Navigate to Main Menu | right click on New | Select Company.
5. Scroll down to the Personal E-mail Details Panel.
6. The “Google G-mail:” option should now just appear in the list of Email addresses.
7. If you see field on the screen you are done. If not go back through your steps and verify that you added the translation correctly and repeat the necessary steps to correct the error.
with
no comments