Return to Snippet

Revision: 41145
at February 13, 2011 03:17 by petrdamborsky


Updated Code
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns=http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="GUID"
        Location="EditControlBlock"
        RegistrationId="1x0104"
        RegistrationType="ContentType"
        Title="Google this item"
        >
    <UrlAction Url="http://www.google.com/search?q={ItemId}" />
    </CustomAction>
</Elements>

Revision: 41144
at February 13, 2011 03:16 by petrdamborsky


Updated Code
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns=http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="GUID"
        Location="EditControlBlock"
        RegistrationId="1x0104"
        RegistrationType="ContentType"
        Title="Click me"
        >
    <UrlAction Url="http://www.google.com/search?q={ItemId}" />
    </CustomAction>
</Elements>

Revision: 41143
at February 13, 2011 03:14 by petrdamborsky


Initial Code
<code>
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns=http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="GUID"
                              Location="EditControlBlock"
                              RegistrationId="1x0104"
                              RegistrationType="ContentType"
                              Title="Click me"
                              >
    <UrlAction Url="http://www.google.com/search?q={ItemId}" />
    </CustomAction>
</Elements>
</code>

Initial URL


Initial Description


Initial Title
SharePoint 2010 custom action

Initial Tags
sharepoint

Initial Language
XML