Posts

Showing posts from June, 2015

Adding Item to ECB (Edit control Block) menu

Image
Add Item in Ellipsis menu. Steps Step1: Edit List Page and Add Script Editor web part. Step2: Add this Script to Script editor web part <script type="text/javascript"> function Custom_AddDocLibMenuItems(m, ctx) {  var strDisplayText = "Publish to Market Research"; //Menu Item Text  var strAction = "alert('Hello World')"; //Menu item action  var strImagePath = ""; //Menu item Image path  // Add our new menu item  CAMOpt(m, strDisplayText, strAction, strImagePath);  // add a separator to the menu  CAMSep(m);  // false means that the standard menu items should also be rendered  return false; } </script> Add Item in ECB Menu Step1: Edit List Page and Add Script Editor web part. Step2: Add this Script to Script editor web part <script type="text/javascript"> SP.SOD.executeFunc("callout.js", "Callout", function () {  var i...

Adding item to welcome menu in SharePoint

 Adding item to welcome menu here  are the link for adding item to welcome menu using element.xml 1. http://sandeepnandey.blogspot. in/2013/08/adding-custom-menu- item-in-welcome-menu.html 2. http://ranaictiu- technicalblog.blogspot.in/ 2010/09/sharepoint-2010-add- custom-menuitem-to.html 3. http://ranaictiu- technicalblog.blogspot.in/ 2010/09/sharepoint-2010- development-with-visual.html

Retention policy for announcement list

Image
Step For Retention  policy Step 1 - Go to List Setting  Step 2 -Select Information management policy setting  Step 3 -Select content type (announcement list) Step 4-Enable Retention Check box Step 5-Add Retention Stage and Rules Step 6 Got to Central Admin -> Monitoring ->Timer Jobs Step 7- Select Review Job Definition Step 8 -Select Expiration Policy For Specific Site  Step 9 -Edit Timer Job (select  Recurring Schedule time duration and run it)