Inserting a web part into SharePoint page without designer
In the article “Inserting a web part into SharePoint Page without designer”, we have discussed about inserting a web part in New/Edit/Display from.aspx in without using designer the lower versions of SharePoint (WSS 3.0 and MOSS 2007).
Now, in this article we will discuss about inserting a web part into the New/Edit/Display form.aspx page without designer in SharePoint 2010.
Now, suppose that we have custom list named “City”
Now, go to the List Settings of the custom list “City”
Under General Settings -> Advanced Settings
In the advance settings, we have an option for the Launching the forms in dialog when click on NEW for inserting a new value in a list.
Here, now we will disable that option by selecting NO in launch forms in a dialog as shown below:
Now, we will click on “New Item” for inserting a new item in the custom list
Now, we will be navigated to the newform.aspx without popup dialog since we have disabled it.
The URL in the address bar will be as below:
In the above URL delete the URL before NewForm.aspx, we will have
In this URL in the address bar, append “?ToolPaneView=2”
Click Go in the address bar, then you will see the Add Web Parts option for inserting into the newform.aspx page.
In the similar way, we can insert the web part into editform.aspx and displayform.aspx