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

发布于 08-09 05:22 字数 274 浏览 7 评论 0原文

我自定义了 NewForm、EditForm 和 DispForm,以允许用户创建新的、编辑(具有一定权限)和显示服务请求。

除了我的视图之外,表单工作正常(例如 Createbyme.aspx,它显示我拥有的所有请求)。它不是指向我的自定义 DispForm /[site]/Lists/[list_name]/DispForm_custom.aspx?ID=[request#],而是链接到 /[site]/?ID= [请求#]

有修复建议吗?

I've customized NewForm, EditForm and DispForm to allow users to create new, edit (with certain permission) and display service requests.

The forms work fine except in my views (e.g. Createbyme.aspx which shows all requests owned by me). Instead of pointing to my custom DispForm /[site]/Lists/[list_name]/DispForm_custom.aspx?ID=[request#], it links to /[site]/?ID=[request#].

Is there any suggestion for a fix?

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

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

发布评论

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

评论(1

柠檬色的秋千2024-08-16 05:22:19

我刚刚在另一篇文章中回答了这个问题...

恢复 NewForm.aspx 文件


总而言之,

打开页面并选择表单控件。打开该控件的属性并选择单选按钮“NEW ITEM FORM”。保存页面后,您可以选择该页面作为列表的支持文件,并且设置将保留。不要首先选择页面作为支持文件,因为设置不会粘住...因此步骤的顺序很重要。

I just answered this question in another post...

Restore NewForm.aspx file


To summarize,

Open the page and select the form control. Oen the propertis for that control and select the radio button "NEW ITEM FORM". After you save the page you can then select the page as a supporting file for the list and the setting will stick. Do not select the page as a supporting file first as the setting will not stick... ergo the order of your steps is important.

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