0

We have a custom web part to add new item to SharePoint 2010 list. I want to open the page on which i have added the web part on the click of new item from SharePoint ribbon. I don not want to create a custom list definition just for the sake of modifying the new item URL of ribbon. Is there any other workaround to achieve the same.

0

You need to create New/Edit form for list using Sharepoint Designer and insert your web part to this page. Then set this form as default and all ribbon buttons and other menu items wich go to creation form will lead you to the your page by default.

In SPD go to List -> Your list -> Create New List Form -> Check "New item form" radio.

  • are you suggesting to add the .webpart file code on the newitem form created in SP designer – SiD Apr 14 '17 at 5:06
  • Yes, try to go this way – Semushin Dmitrii Apr 14 '17 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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