查看页面 (DispForm.aspx) 未与 Sharepoint 列表正确关联

发布于 2024-08-04 21:10:12 字数 599 浏览 6 评论 0原文

我有一个包含 NewForm.aspx、EditForm.aspx 和 DispForm.aspx 的自定义版本的列表。 该列表已发布一年多,包含约 1700 行。

早些时候,我对 DispForm.aspx 做了一个小的更改,似乎该列表失去了与作为默认视图页面的 DispForm.aspx 的关联。所有视图中的链接现在都指向“site/?ID=123”,而不是“site/SubSite/List/DispForm.aspx?ID=123”。

我已使用 Sharepoint Designer 重新应用与操作关联的文件的设置,但它似乎不起作用。

该站点在多个服务器上运行,我怀疑更改可能要等到服务重新启动后才会应用(过去的一些其他更改就是这种情况),但希望这里有人有一些想法。

不幸的是,我只能通过 SPD 进行远程访问,并且没有特定站点之外的权限。

更新:看来我的 google-fu 早些时候很弱,但我相信我找到了一个可能的解决方案 此处

I have a list with customized versions of NewForm.aspx, EditForm.aspx and DispForm.aspx.
The list has been up for more than a year and contains about 1700 rows.

Earlier I made a minor change to DispForm.aspx and it seems like the list lost it's association with DispForm.aspx as the default view page. Links from all views now point to "site/?ID=123" instead of "site/SubSite/List/DispForm.aspx?ID=123".

I've used Sharepoint Designer to re-apply the settings for which files are associated with actions but it doesn't seem to work.

The site is running on multiple servers and I suspect that changes might not apply until a service restart (this has been the case for some other changes in the past), but hopefully someone here has some ideas.

Unfortunately, I have only remote access through SPD and no privileges outside the specific site.

Update: It seems my google-fu was weak earlier but I believe I found a possible solution
here.

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

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

发布评论

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

评论(1

孤芳又自赏 2024-08-11 21:10:12

这个解决方案对我有用:http://moblog.bradleyit。 com/2008/10/broken-sharepoint-list-forms.html

快速摘要:为 ListFormWebPart 创建新的 GUID

<WebPartPages:ListFormWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{NEW_GUID}" >

此 GUID 也用在 ListFormWebPart 内的 - 标记中:

<ID>g_NEW_GUID</ID>

This solution worked for me: http://moblog.bradleyit.com/2008/10/broken-sharepoint-list-forms.html

Quick summary: Create a new GUID for the ListFormWebPart

<WebPartPages:ListFormWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{NEW_GUID}" >

This GUID is also used in the -tag inside the ListFormWebPart:

<ID>g_NEW_GUID</ID>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文