I want to open Custom WebPart on click of "add new item" link (as shown in above image) in SharePoint list Programmatically.

2 Answers 2


You can edit the default new form.

  1. Go to list ribbon and click on Form Web Parts. From drop down click on Default New Form.

enter image description here

  1. This will open New form in Edit mode. enter image description here
  2. Add your custom webpart on the form and hide the original webpart.

This is possible by adding a custom action that can be to the Style Library. You would need to design your custom form programmatically in this custom action - JavaScript file and associate to this list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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