Do not show the web part of the SPList in SharePoint 2007 - sharepoint

I have a programmatically created SPList with custom content type and it is added to the quick launch. Every time I click on the link on the quick launch, the page appears with a web part that shows the content of the list.
I do not want that... I wanted the web part gone so when I visit the page, there is no web part on it at all. Is there any ways of doing this programmatically? I do not want to have to manually delete the web part.
Thanks.

You can specify false for "on quick launch" in the list definition, or from code, if you don't want to have the list view page link in quick launch. Why not just create a web-part page without the list view web-part on it, and add a link to that page to quick launch? Do you need to change the allitems page?

Related

Not able to add any WebPart on the site page

I have created a "Team Site" on SharePoint online. When I edit a site page, I am not able to view any option of adding a web part on the page. All I can see are following options. Please click the link to see the options. I don't see any web part option there.
I believe there are some features that need to be activated on this site collection. Does anybody know which features need to be activated here to enable web parts on the page?
Unfortunately, WebPart doesn't work in New Experience. You need to be in Classic View to add the WebPart.
You can't add web part to New experience mode Sharepoint page. At least not for now. But you can create a page in Classic mode, it's the same as it was in SP2013.
How to do it - Read this article

SharePoint 2013 online customize personimmersive page

I want to customize the SharePoint 2013 online(office 365) "About me" linked page (personimmersive.aspx) to a custom look and feel.
Even clicking on any SPUser name, for ex in a list item modified by is "John Smith" if we click on it goes to about me page.
This page resides under mysite but I cannot see this page is SharePoint 2013 designer to edit, but modifying SharePoint pages in designer is not always the best way.
Can I just create a new page and redirect all Profile page request to that custom page?
IF I create app parts and edit the page I cannot edit the top portion of the page.
redirecting may not be a feasible approach, specially on the online versions
you can try to take advantage of web parts and css to do what you can
The biggest change is that you can’t edit the entire top portion of
the page. These used to be in a web part zone, and you could choose to
add/remove the web parts. Now they are fixed, with no ability to move
them around or change the parts.
We had removed the Activity Feed web part previously because we were
using Yammer newsfeeds and group feeds embedded throughout the site,
and this part always showed “No activities”. Now this is back again,
with no way to remove it, short of editing the page in SharePoint
Designer.
There are still web part zones on the bottom, but really the problem
is no control over the display of most of the top of the page.
http://weshackett.com/2014/04/office-365-new-profile-page/
There is personImmersive.aspx in SharePoint Designer, you should be able to find it in All Files. Just make sure you connect to [your_domain]-my.sharepoint.com instead of [your_domain].sharepoint.com.
you can't customize the page completely.However you can add custom web part and custom css to change the look and feel to a great extent.
#tiago duarte you can still remove the activity web part.This can be done using script editor webpart and hiding the complete block/div.

How to make document library in top level visible to subsites

I'd like to ask if you came up with a solution that will allow for subsites to access a centralized document library at the parent level. I'm still trying to no avail. I've tried doc library templates, views, Doc Center and the best method i have OOTB is a page view web part on the subsites page display a view from the parents library. (by the way to remove the ribbon, append ?IsDlg=1 to the url and the ribbons hidden) cool tip. Say will you give be a Y/N on a solution that will allow one to keep a set of documents in the doc center and surface them in the sub-site.
There are another option without such hard coding. You can open any view of your document library, as mentioned earlier AllItems.aspx for example with SharePoint Designer. Open it for editing in advanced mode (there are option when you click right mouse button on file in SP Designer). Then just point mouse cursor inside web part and chose in ribbon web parts, Add to Site gallery, see the picture. Fill in name of new web part. That is all, now you can add this web part on any page on any web site from webpart gallery through the user interface or through the SP Designer by clicking Insert, Web Part in the ribbon on any page.
You can do this by editing the AllItems.aspx (or other view page) and scraping off the WebPartPages:ListViewWebPart and pasting it into a page on the subsite.
This will give you an error "List does not exits The page you selected contains a list that does not exist."
Then you need to get the WebID for the root site (where you took the ListViewWebpart from and replace the part of the webpart that looks like this:
<WebId xmlns="http://schemas.microsoft.com/WebPart/v2/ListView">00000000-0000-0000-0000-000000000000</WebId>
with (for example)
<WebId xmlns="http://schemas.microsoft.com/WebPart/v2/ListView">7b04dee8-b120-4dee-abea-28b77316ec7d</WebId>

How to add a webpart to a listview in sharepoint 2010?

I have to add a "Content Editor" web part to a list view. The "Content Editor" is required to implement some java script and a html textbox.
The problem is that after adding the web part to the list view the dropdown to switch your current view gets lost. It doesnt matter where you add the web part or if you try it with the designer or IE.
Do you have any ideas on how to solve this? Or is there another way to implement java script into a listview without adding a new web part?
This is the dropdown I mean:
Its a known issue with SharePoint 2010.
You can modify the page using SharePoint Designer to put it back.
http://vintentou.wordpress.com/2010/08/03/missing-dropdown-menu-for-choosing-of-views/
My company has also produced a free add-on that will do this for a whole site.
http://www.pentalogic.net/sharepoint-products/free-stuff/view-rescue

Accidentally deleted a webpart, how can I get it back

I have deleted "New comment" webpart on the Blog Post detailed Page on the my SharePoint blog site, I am unable to find it in the webpart list.
How can I get undo / add the webpart back.
If you have clicked the X button in the top-right corner of the web part, it is simply closed. You can get it back as follows:
Click on Actions, Edit Page
Click Add a web part
Click Advanced Web Part Gallery in the top bottom-right corner of the dialog
Click on Closed Web Parts in the tool pane on the right
Drag the closed web part from the tool pane back onto the page
If you have actually used the drop-down menu on the web part and clicked Delete, it really is deleted. If you have check-in/out available to the page you can go back to a previous version to restore it. Otherwise you will need to restore from backup if you have one.
A very usefull way to see all web parts on the page, including closed ones, is the Web Part Maintenance Page, which is accessed by simply adding '?Contents=1' to the page address
I faced the same problem (it was my mistake :(), but I am able to get my “New Comment” webpart back on the page by using SharePoint Designer.
Steps to get “New Comment” webpart back on the page
Create New blog site just to get “New Comment” list form Webpart
Open Newly created blog site in SharePoint designer and address]/ Lists/Posts/Post.aspx page and
Copy the full XSLT code of “New Comment” list form Webpart
Go back to your production blog site and place the copied XSLT just after “comments” list view Webpart on the page
Provide “your comments list GUID” under List Name property of the copied XSLT
Save and close.
That’ it. Your “New comment” Webpart is back on the page
Regards,
Moorthy Annadurai
"If you have actually used the drop-down menu on the web part and clicked Delete, it really is deleted."
Here is a solution that does not require SP Designer and fixes the problem in a couple minutes.
In fact, it is only the Default View associated to the webpart that is deleted. Click on View All Site Content. Then on the defective library link. It will open the listedit.aspx page. Go down to the Views section. Select another view or create a new view and make it the one by default. That's it. You are back in business. Of course, you need to correct the library link in the Quick Launch section.
Regards,
Pierre Audette
In my case it was a "Summary Link Web Part" that was added to a Document Library and the user accidentally "x'd" out off it. I found the "closed" web part by doing the following:
Click on "Site Actions | Edit Page"
Click on "Add a Web Part"
In the "Categories" list box on the left the last folder is "Closed Web Parts". Select the Web Part and re-add it.

Resources