I'm sure this is a really simple setting I'm having trouble finding. If I delete a web part then add it again, there is a number in brackets after the title that goes up by 1 each time. How do I get rid of this?
-
SharePoint adds the number in tittle, if you have same title for multiple webparts. This number cannot be seen in Webpart properties For ex: add a content editor webparts on your page, the default title is "Content Editor", try adding more than one Content Editor webpart , then you can see "Content Editor[1] and Content Editor[2]..." change the title of each webpart to get rid of number. Goto Appearence section and set chrome type as "None" if you do not want to see the Header section at all– Shekar ReddyCommented Aug 3, 2015 at 18:41
5 Answers
Just edit the web part title to remove it. If you are deleting the web part and adding it back, it sounds like it is caching the values. Typically when you add the same list view web part multiple times, it appends an instance number in brackets signifying the number of list view web parts on the page as they can't have the same title.
It sounds like a caching problem in that it thinks there is the same web part already on the page. Save the page, do a shift F5, and go back into edit mode and change the title.
It could also be that there is a list view that is closed on the page with the same title. You would need to add ?contents=1
to the end of your page url to see any web parts on the page that are closed. From there they can be deleted.
This is the behavior that surfaces when 2 web parts exist on a page with the same title.
-
1When I go to edit web part, under appearance, the number isn't in the title.– AndrewCommented Aug 3, 2015 at 15:11
-
Are you sure there aren't any closed web parts on the page? Try appending contents=1 to your url and delete any closed instances of the web part. Commented Aug 3, 2015 at 15:17
-
There aren't any other closed web parts. It's the only web part on the page right now. Where exactly would I append contents=1?– AndrewCommented Aug 3, 2015 at 15:23
-
To your page, so if it is mytenant.sharepoint.com/sites/thesite/sitepages/page.aspx you would make it mytenant.sharepoint.com/sites/thesite/sitepages/… Commented Aug 3, 2015 at 15:26
-
It's not working. I don't know how this isn't a basic setting change.– AndrewCommented Aug 3, 2015 at 15:37
Having just been through this pain, I thought I'd expand on the answer from @Eric Alexander in the comments above to help anyone else that finds their way here via a search.
The number in square brackets increments each time you add an instance of a web part to the page.
So, say you have a document library called 'Working Docs'. You add it to the page, everything is fine. You add a second instance to the page, you get the incremented number. Where it gets confusing is, if you delete both instances, then add a new instance you still get the next increment. This is because you've not actually deleted the association, you've just removed it from the visible page.
There are two fixes.
- The right one, as indicated by Eric above is to navigate to the web part maintenance ui. This is typically intuitive (NOT...) Go the the address bar of your browser and append ?content=1 to the URL (immediately after the .aspx). Get rid of the 'ghost' web-parts and your numbers should disappear.
- The cludge approach is to edit the page, go to the web-part properties and, under appearance, edit the title. So, for example, in this example, you could change 'Working Docs' to 'Working Documents' The numbers then go away.
Ok, I found a solution.
Stay at the page that you can see "XXX [Number]"
Click the "Page" button at the top-left corner
Click the "Edit Properties" button
Click the text(possibly blue) "Open Web Part Page in maintenance view"
Check the duplicate web parts you want to remove and click the "delete" button above.
(If you are NOT sure which are the web parts you want to keep, please delete them all and re-add the web parts you need. Otherwise, you might end up with some white space on the web part page.)
Even better, you can do the above but check out this link to get more info on how to do it. It works perfectly and better than changing the name as was already mentioned.
-
This does not qualify as an answer. Please check How to Answer Commented Oct 24, 2016 at 15:20