Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a custom menu action, declared like this:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="">
Title="Convert to ListItem"

Now I want to execute some code when the action is clicked. To be more clear, I need to copy a list item. What do I have to insert into the elements.xml to reach some code?

Thank you very much,


share|improve this question

1 Answer 1

up vote 1 down vote accepted

You need to specify the Url and pass tokens like ListID, ItemId etc in a child element called UrlAction as shown here:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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