0

I have very specific requirement. Before i explain, please note that i can not use server side object model. I have to complete the task using client side and Designer.

Below are the things which i need to achieve : 1.) Create a button(will prefer ribbon button) on the list view page which will get enabled on multiple items selection. 2.) When the button will be clicked an email has to be sent. the body of the email will contain details of the items which are selected.

I know this could be done with single item selection using Designer Workflow but as sharepoint does not support to start single workflow on multiple items, i am stuck.

Regards

2
  • the email will go to which user?
    – Unnie
    Mar 21, 2014 at 5:53
  • It will be sent to AD Group. Mar 21, 2014 at 6:00

1 Answer 1

1

Create another list which will store ItemIds (id's of the list item whose details needs to be in mail.This field can be multi look up), and the user/group to whom the email needs to be sent and another column EmailBody(contains the details of the items selected).

Attach a workflow to this list which will send mail to the user/group with that EmailBody column data as body of email.Trigger this Workflow on item added.

You can follow this msdn article for creating ribbon button.

On click on this link open a modal dialog where the user can specify to whom mail needs to be send.Then on button click save it to a list with EmailBody containing the details of the items selected in html format, which will trigger email workflow.

Alternatively you can try another approach where on click of the ribbon button specify to 'ToEmailId' and then using javascript open an instance of outlook send email where the Toaddress , email body will be populated by javascript and the user will have to click the Send button.See this Post for more details on this.

1
  • Thanks for your reply. It sounds like an option. I will try. Mar 21, 2014 at 7:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.