You need to sign in to do that
Don't have an account?

Creating standard Send Email functionality using Visualforce.
Hi,
I created a VF page that provides the standard functionality of the "Send Email" in Salesforce using Registered service. The page basically allows to send email to the users through a registered service. The VF page will look like standard "Send Email" page of SF. I created the custom button "Select Template" and when user clicks on select template button standard Salesforce pop up window also opens up, listing various templates to select.Now as the pop-up which opens up is in *.Salesforce.com domain and our Visualforce page is in *.force.com domain, so the browser security settings doesn’t allow the pop-up window to communicate the template selected action back to parent window (i.e., our vf page). Browser prevents cross server interactions.
Please advice.
If you are trying to leverage the standard applications functionality by "hacking" into the URL, you are out of luck. This is probably one of the reasons that visual force pages are served froma different domain.
You will have to build the "Select a template" functionality yourself. I would try to work with the OOTB functionality unless there's a specific reason you cannot.
Hi Aashika, just cusirous as am looking to build a similar functionality, were you able to implement this? If yes, can you please share the code with me, thanks.
Ajay
Hi Ajay,
Even we are looking for the same above implementation please share us it will be of great help .
Thanks