lundi 1 décembre 2014

Sharepoint 2010 : Custom List Context menu (ECB) editing and customizing with custom actions



I want to Add a custom Action or link as "Email to" in the EditControlBlock or the Context menu for custom list that i have created as shown in the Picture below.


This "Email to" button should send the list item as an email intended to a specific person. Every new item entry in the list will be also having attachments. I want to send the item with the body or description in the list with attachments linked with that item to some external person who cannot access the list as he will not be an employee and will not have permissions for the Intranet SharePoint site.


So basically the item to be sent in the email should have Title, Body, and the Attachments if any like a PDF or PPT or DOC or XLS file or any other documents attached. It should not send the link of the particular item in the email to the user as the user will not have any permissions for the Intranet site.


Could you please tell me how this can be achieved using JavaScript as i want it only for a particular list in the site collection and not for all site collections.


I am very much new to SharePoint so please it would be really helpful if anyone could share some custom code in JavaScript.


enter image description here








0 commentaires:

Enregistrer un commentaire