-2

I done adding an custom button in grid view of customized entity , from here how to set action for that button to send email for selection of associated records.

thanks in advance.

Vishnu
  • 1,029
  • 4
  • 14
  • 24

1 Answers1

1

Create a workflow to send email, and then use javascript to trigger that workflow when you click the custom button.

nixjojo
  • 617
  • 8
  • 22
  • thanks @ nixjojo , but is it possible to get "To field (email from selected records)" in workflow for sending email. – Vishnu May 09 '13 at 02:50
  • @Vishnu Yes, you can get selected records guid via javascript, and then you retrieve the email address of that record. You need to create email pragmatically in your workflow activity. – nixjojo May 09 '13 at 06:10