0

好的,我似乎是唯一代表 Health Service 管理 SharePoint 网站的管理员。然而,由于它与政府相关联,所以有人免费制作了这个网站。我还假设他自己制作了一些网络部件。

其中一个 Web 部件是 FAQ Webpart,它使您能够创建具有精美格式的常见问题解答。但是,现在每当我尝试制作常见问题解答时,我都可以选择它,它现在可以进行编辑了。但是现在当我去修改它时,它会带我到一个错误页面,上面写着:

“列表不存在

您选择的页面包含一个不存在的列表。它可能已被其他用户删除。解决 Windows SharePoint Services 的问题。”

有谁知道如何找出 webpart 正在寻找什么。这个列表叫什么,所以我可以再做一个来代替它?尝试在页面的“.aspx”中查找,但它没有在 webpart 上保留任何信息。任何想法或指示都会非常有用。

感谢您的关注

    <webParts>
     <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
        <metaData>
          <type         name="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart,         Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral,         PublicKeyToken=71e9bce111e9429c" />
  <importErrorMessage>Cannot import this Web Part.</importErrorMessage>
</metaData>
<data>
  <properties>
    <property name="FilterType3" type="string" />
    <property name="PageSize" type="int">-1</property>
    <property name="SortBy" type="string">{8c06beca-0777-48f7-91c7-6da68bc07b69}</property>
    <property name="ChromeState" type="chromestate">Normal</property>
    <property name="AllowZoneChange" type="bool">True</property>
    <property name="ContentTypeBeginsWithId" type="string" />
    <property name="ServerTemplate" type="string">100</property>
    <property name="Height" type="string" />
    <property name="FilterField2" type="string" />
    <property name="SystemViewFields" type="string" />
    <property name="ParameterBindings" type="string" />
    <property name="FeedTitle" type="string" />
    <property name="AllowMinimize" type="bool">True</property>
    <property name="ContentTypeName" type="string" />
    <property name="TitleUrl" type="string" />
    <property name="AllowConnect" type="bool">True</property>
    <property name="DisplayColumns" type="int">1</property>
    <property name="XslLink" type="string" null="true" />
    <property name="ExportMode" type="exportmode">All</property>
    <property name="GroupBy" type="string" />
    <property name="DataSourcesString" type="string" />
    <property name="WebUrl" type="string">/sites/cerner</property>
    <property name="AllowHide" type="bool">True</property>
    <property name="AdditionalGroupAndSortFields" type="string" null="true" />
    <property name="FeedDescription" type="string" />
    <property name="WebsOverride" type="string" />
    <property name="CommonViewFields" type="string">Title,Text;Answer,Note;SME,Text</property>
    <property name="DisplayName" type="string" />
    <property name="ChromeType" type="chrometype">None</property>
    <property name="AdditionalFilterFields" type="string" null="true" />
    <property name="NoDefaultStyle" type="string" />
    <property name="FilterValue3" type="string" />
    <property name="BaseType" type="string" />
    <property name="FireInitialRow" type="bool">True</property>
    <property name="SortByDirection" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+SortDirection, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Desc</property>
    <property name="DataFields" type="string" />
    <property name="GroupStyle" type="string">DefaultHeader</property>
    <property name="DataColumnRenames" type="string" />
    <property name="HeaderXslLink" type="string">/Sites/cerner/Style Library/XSL Style Sheets/FAQHeader.xsl</property>
    <property name="AllowEdit" type="bool">True</property>
    <property name="MissingAssembly" type="string">Cannot import this Web Part.</property>
    <property name="HelpUrl" type="string" />
    <property name="ViewFieldsOverride" type="string" />
    <property name="FilterField1" type="string" />
    <property name="UseCache" type="bool">True</property>
    <property name="ShowUntargetedItems" type="bool">False</property>
    <property name="HelpMode" type="helpmode">Modeless</property>
    <property name="DataSourceID" type="string" />
    <property name="ListName" type="string">FAQ</property>
    <property name="FilterType1" type="string" />
    <property name="Default" type="string" />
    <property name="FilterType2" type="string" />
    <property name="FilterOperator1" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+FilterFieldQueryOperator, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Eq</property>
    <property name="ViewFlag" type="string" />
    <property name="FilterOperator3" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+FilterFieldQueryOperator, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Eq</property>
    <property name="FilterOperator2" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+FilterFieldQueryOperator, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Eq</property>
    <property name="GroupByFieldType" type="string" />
    <property name="UseCopyUtil" type="bool">True</property>
    <property name="Description" type="string">Use to display a dynamic view of content from your site on a web page</property>
    <property name="Filter1ChainingOperator" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+FilterChainingOperator, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Or</property>
    <property name="ItemLimit" type="int">15</property>
    <property name="SortByFieldType" type="string">DateTime</property>
    <property name="ListGuid" type="string">A72FB448-BAC3-4661-BEAB-F435E441AA1D</property>
    <property name="ViewContentTypeId" type="string" />
    <property name="ItemXslLink" type="string">/Sites/cerner/Style Library/XSL Style Sheets/FAQItemStyle.xsl</property>
    <property name="FeedEnabled" type="bool">False</property>
    <property name="MainXslLink" type="string">/Sites/cerner/Style Library/XSL Style Sheets/NHSContentQueryMain.xsl</property>
    <property name="TitleIconImageUrl" type="string" />
    <property name="Filter2ChainingOperator" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+FilterChainingOperator, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Or</property>
    <property name="FilterValue1" type="string" />
    <property name="ListsOverride" type="string" />
    <property name="GroupByDirection" type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart+SortDirection, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Desc</property>
    <property name="Direction" type="direction">NotSet</property>
    <property name="QueryOverride" type="string" />
    <property name="UseSQLDataSourcePaging" type="bool">True</property>
    <property name="Width" type="string" />
    <property name="FilterByAudience" type="bool">False</property>
    <property name="FilterValue2" type="string" />
    <property name="SampleData" type="string">&lt;dsQueryResponse&gt;
                &lt;Rows&gt;
                    &lt;Row Title="Item 1" LinkUrl="http://Item1" Group="Group Header" __begincolumn="True" __begingroup="True" /&gt;
                    &lt;Row Title="Item 2" LinkUrl="http://Item2" __begincolumn="False" __begingroup="False" /&gt;
                    &lt;Row Title="Item 3" LinkUrl="http://Item3" __begincolumn="False" __begingroup="False" /&gt;
                &lt;/Rows&gt;
                &lt;/dsQueryResponse&gt;</property>
    <property name="Xsl" type="string">&lt;xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cmswrt="http://schemas.microsoft.com/WebPart/v3/Publishing/runtime" exclude-result-prefixes="xsl cmswrt x" &gt; &lt;xsl:import href="/Style Library/XSL Style Sheets/Header.xsl" /&gt; &lt;xsl:import href="/Style Library/XSL Style Sheets/ItemStyle.xsl" /&gt; &lt;xsl:import href="/Style Library/XSL Style Sheets/ContentQueryMain.xsl" /&gt; &lt;/xsl:stylesheet&gt;</property>
    <property name="CacheXslStorage" type="bool">True</property>
    <property name="Hidden" type="bool">False</property>
    <property name="Title" type="string">FAQ Content Web Part</property>
    <property name="ShowWithSampleData" type="bool">False</property>
    <property name="CacheXslTimeOut" type="int">86400</property>
    <property name="ItemStyle" type="string">NoImage</property>
    <property name="AllowClose" type="bool">True</property>
    <property name="FilterField3" type="string" />
    <property name="CatalogIconImageUrl" type="string"></property>
  </properties>
</data>

4

1 回答 1

1

如果他自己编写了 Web 部件,请检查服务器上的应用程序日志,因为他可能在那里写了一条错误消息,指定它无法访问哪个列表。

解决此问题的另一种方法是查看 Web 部件是否在另一个站点或位置的其他任何地方工作。如果是比较查看所有站点内容区域,并查看与不存在的站点相比,出现故障的站点中不存在哪些列表。

另一条路线(可能需要一些时间)是获得一个名为反射器的工具。将 Web 部件 dll 放入此工具中,然后您就可以浏览代码。这完全取决于您在编码等方面的经验

希望这可以帮助

干杯特鲁兹

于 2012-06-25T09:26:09.727 回答