错误:当你使用id作为sharepoint的自定义页面的查询参数时,总会提示项目不存在!
Posted 放羊的小牛叔
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了错误:当你使用id作为sharepoint的自定义页面的查询参数时,总会提示项目不存在!相关的知识,希望对你有一定的参考价值。
No item exists at http://SERVER/SITE/mypage.aspx?ID=1. It may have been deleted or renamed by another user
Source: Microsoft Support
RAPID PUBLISHING
Symptom
Consider the following scenario:
We have custom pages using the Data Form Web Part to display information. The main information is stored in a SharePoint custom list and a SharePoint custom document library. All of the data and the pages exist in the same sub-site.
The query string is defined as follows:
- On the details page:
- The details page is displayed with details.aspx?ID=xx.
- In the datasource listing:
- <ParameterBinding Name="CustomItem" Location="QueryString(ID)" DefaultValue="1"/>
- In the xslt:
- <xsl:param name="CustomItem">1</xsl:param>
<xsl:variable name="Rows" select="/dsQueryResponse/Custom_Listings/Rows/Row[@ID = $CustomItem]" />
- <xsl:param name="CustomItem">1</xsl:param>
In this scenario, we receive the following error message:
w3wp.exe (0x1104) 0x1670 CMS Publishing 8vzh
Unexpected PortalSiteMapProvider was unable to fetch current node, request URL:
/example/path/here/custom/pages/opportunitydetails.aspx, message: No item exists at http://SERVER/example/path/here/custom/pages/opportunitydetails.aspx?ID=20. It may have been deleted or renamed by another user., stack trace: at Microsoft.SharePoint.SPContext.get_Item() at Microsoft.SharePoint.SPContext.get_ListItem() at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_CurrentNode()
Cause
Resolution
More Information
DISCLAIMER
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
Properties
Article ID: 972225 - Last Review: 06/08/2009 10:25:42 - Revision: 1.0
- Microsoft Office SharePoint Server 2007
- Microsoft Windows SharePoint Services 3.0
- kbrapidpub kbnomt KB972225
以上是关于错误:当你使用id作为sharepoint的自定义页面的查询参数时,总会提示项目不存在!的主要内容,如果未能解决你的问题,请参考以下文章
SharePoint 2013 中的自定义 Web 服务与模拟
我需要列出 SharePoint 网站中的自定义列表和库吗?