不小心删除了webpart,如何恢复

发布于 2024-07-30 05:13:03 字数 98 浏览 3 评论 0原文

我已删除我的 SharePoint 博客网站上博客文章详细页面上的“新评论”Web 部件,但在 Web 部件列表中找不到它。

我怎样才能撤消/添加回来的网络部件。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

绻影浮沉 2024-08-06 05:13:03

如果您单击了 Web 部件右上角的 X 按钮,则会将其关闭。 您可以按如下方式取回:

  1. 单击操作编辑页面
  2. 单击添加 Web 部件
  3. 单击高级 Web 部件库对话框右上角的“strong>”
  4. 单击右侧工具窗格中的“关闭的 Web 部件”
  5. 将关闭的 Web 部件从工具窗格拖回到页面上

如果您实际使用过在Web部件上的下拉菜单中单击删除,它确实被删除了。 如果您可以在该页面签入/签出,则可以返回到以前的版本来恢复它。 否则,如果有备份,则需要从备份中恢复。

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:

  1. Click on Actions, Edit Page
  2. Click Add a web part
  3. Click Advanced Web Part Gallery in the top bottom-right corner of the dialog
  4. Click on Closed Web Parts in the tool pane on the right
  5. 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.

沙与沫 2024-08-06 05:13:03

“如果您实际使用了 Web 部件上的下拉菜单并单击了“删除”,那么它确实被删除了。”

这是一个不需要 SP Designer 的解决方案,可以在几分钟内解决问题。

事实上,只是删除了与 Web 部件关联的默认视图。 单击查看所有网站内容。 然后在有缺陷的库链接上。 它将打开listedit.aspx页面。 转到视图部分。 选择另一个视图或创建一个新视图并将其设为默认视图。 就是这样。 你又回来了。 当然,您需要更正“快速启动”部分中的库链接。

问候,
皮埃尔·奥黛特

"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

月亮坠入山谷 2024-08-06 05:13:03

查看页面上所有 Web 部件(包括关闭的 Web 部件)的一种非常有用的方法是 Web 部件维护页面,只需将“?Contents=1”添加到页面地址即可访问该页面

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

北方的韩爷 2024-08-06 05:13:03

我遇到了同样的问题(这是我的错误:(),但我可以使用 SharePoint Designer 将“新评论”Web 部件重新显示在页面上。

将“新评论”Web 部件重新显示在页面上的步骤

  1. 创建新博客站点只是为了获取“新评论”列表表单 Web 部件
  2. 打开在 SharePoint 设计器中新创建的博客站点和地址]/Lists/Posts/Post.aspx 页面并
  3. 复制“新评论”列表表单 Web 部件的完整 XSLT 代码
  4. 返回到您的作品博客网站并将复制的 XSLT 放置在页面上的“评论”列表视图 Web 部件之后
  5. 在复制的 XSLT 的“列表名称”属性下提供“您的评论列表 GUID”
  6. 保存并关闭
  7. 这样您的“新评论”Web 部件就重新打开了。该页面

问候,
穆迪·安杜莱

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

  1. Create New blog site just to get “New Comment” list form Webpart
  2. Open Newly created blog site in SharePoint designer and address]/ Lists/Posts/Post.aspx page and
  3. Copy the full XSLT code of “New Comment” list form Webpart
  4. Go back to your production blog site and place the copied XSLT just after “comments” list view Webpart on the page
  5. Provide “your comments list GUID” under List Name property of the copied XSLT
  6. Save and close.
  7. That’ it. Your “New comment” Webpart is back on the page

Regards,
Moorthy Annadurai

﹎☆浅夏丿初晴 2024-08-06 05:13:03

就我而言,它是一个“摘要链接 Web 部件”,被添加到文档库中,而用户意外地“删除”了它。 我通过执行以下操作找到了“关闭”的 Web 部件:

  1. 单击“网站操作 | 编辑页面”
  2. 单击“添加 Web 部件”
  3. 在左侧的“类别”列表框中,最后一个文件夹是“关闭的 Web 部件”。 选择 Web 部件并重新添加它。

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:

  1. Click on "Site Actions | Edit Page"
  2. Click on "Add a Web Part"
  3. In the "Categories" list box on the left the last folder is "Closed Web Parts". Select the Web Part and re-add it.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文