Unable to add selected web part(s). List View Web Part could not be added, list may be hidden.

深入浅出SharePoint——无法添加Webpart


Issue: I created a custom list definition using the SharePoint Solution Generator. After deployment, when I tried to add a list view web part that points to my custom list, it gives me the above listed error.

The problem was that I was missing my view with "BaseViewID = 0". The solution generator does create this...not sure how it disappeared on mine. So if you are experiencing this issue, look at your schema.xml file and make sure that in the list of views, you have one with a BaseViewID of 0.

相关文章:

  • 2021-11-02
  • 2021-11-14
  • 2021-12-18
  • 2021-05-20
  • 2022-02-23
  • 2021-07-29
  • 2021-12-27
  • 2021-09-30
猜你喜欢
  • 2021-11-25
  • 2021-08-30
  • 2021-10-08
  • 2021-10-17
  • 2021-12-11
  • 2021-12-29
  • 2022-12-23
相关资源
相似解决方案