SharePoint 2010 custom action


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Elements xmlns=http://schemas.microsoft.com/sharepoint/">
  3. <CustomAction Id="GUID"
  4. Location="EditControlBlock"
  5. RegistrationId="1x0104"
  6. RegistrationType="ContentType"
  7. Title="Google this item"
  8. >
  9. <UrlAction Url="http://www.google.com/search?q={ItemId}" />
  10. </CustomAction>
  11. </Elements>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.