sharepoint 自定义 EditForm.aspx 未读取正确的项目 ID?

发布于 2024-09-25 22:27:54 字数 190 浏览 6 评论 0原文

我制作了一个自定义 EditForm.aspx,但是当我单击列表中的某个项目进行编辑时,它每次都会获取列表中第一个项目的数据。标题获得了正确的信息,但自定义列表表单却没有。我检查了参数,有一个 ListItemId 以 QueryString(ID) 作为位置,所以这是正确的。有人知道为什么自定义列表表单没有显示正确的记录吗?

真的很感谢任何帮助。

I made a custom EditForm.aspx but when I click on an item in the list to edit, it gets the data for the very first item in the list, every time. The title gets the right information, but the custom list form doesn't. I checked the parameters and there is a ListItemId that has QueryString(ID) as the location, so that is correct. Anyone know why the custom list form isn't showing the right record?

Really appretiate any help.

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

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

发布评论

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

评论(3

囍笑 2024-10-02 22:27:54

我通过重新创建表单然后传递字段来解决这个问题。然后我找到了这个资源,它解释了我发现的是帖子中的第三个选项列表。

http://www .sharepointblog.com/2010/01/adding-columns-to-custom-list-form-in.html#comment-form

i do a work around to solve this issue by recreating the form and then pasing the fields. and then i found this resource that explain what i discover is the third option list in the post.

http://www.sharepointblog.com/2010/01/adding-columns-to-custom-list-form-in.html#comment-form

情感失落者 2024-10-02 22:27:54

我在 SP Designer 中构建了自定义编辑表单。您所需要做的就是(在 SP Designer 中)通过项目 ID 将表单链接到列表。不确定您是否会错过它,因为它是“下一步”流程的一部分。尝试重新创建它并查看它是否有效。

I built custom Edit forms, in SP Designer. All you need to do is (in SP Designer) link the form to the list by Item ID. Not sure you can miss that as is part of the Next-Next process. Try to re-create it and see if it works.

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