Reply
Trusted Contributor
Rajesh Shah
Posts: 296

Send Email Override

Hi,
I need to override the Standard functionality Send an Email with a SControl. The look and feel of the SControl will be the same as Standard Send Email page. However there will be a button 'Find' added on the SControl besides CC and Additional To Textareas. This button calls another SControl will allows the user to search through their contacts and add their email addresses.
In order to implement it I have copied the source of the page in a SControl and called that SControl on clicking the Send Email button. I added the button 'Find' and its functionality is working fine. But since I have just copied the source, the standard functionality like Send Template and Attach File no longer work
 
When I select a template from the Template Selector page, it refreshes the Page of Send Email.
The code for that is given below :
 
<form  action="/_ui/core/email/author/EmailAuthor"
 
I don't want the page to refresh so I removed the action part but then the template subject and body doesn't gets filled up.
 
Similarly the Attach File functionality is not working, as it redirects the user back to the standard Send Email page.
 
Is there any way to solve this?