查看页面 (DispForm.aspx) 未与 Sharepoint 列表正确关联
我有一个包含 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个解决方案对我有用:http://moblog.bradleyit。 com/2008/10/broken-sharepoint-list-forms.html
快速摘要:为 ListFormWebPart 创建新的 GUID
此 GUID 也用在 ListFormWebPart 内的 - 标记中:
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
This GUID is also used in the -tag inside the ListFormWebPart: