开发者

Smarter sharePoint Forms. Redirect to another list based on entry on the first list?

开发者 https://www.devze.com 2023-02-25 16:16 出处:网络
On Moss 2007. Without completely ripping apart the native SharePoint generated list newform.Is the开发者_运维百科re any way to redirect users to another list\'s newform based on what they enter in th

On Moss 2007.

Without completely ripping apart the native SharePoint generated list newform. Is the开发者_运维百科re any way to redirect users to another list's newform based on what they enter in the current list newform?

Maybe, can the source redirect point to a form that interpreting fields passed in a query string and then decide where to take the user?

By chance is this any more possible in SP 2010?


One approach would be to create a new 'NewForm' that inherits from the standard NewForm and add the redirect logic to the page after the form has been submitted. This thread looks like it can get you started on how to override the page.

Another approach may be a custom web part that checks the status of the list and performs the redirect. Maybe you can do something with Javascript and the content editor web part.

Event receivers will not work, as they happen asynchronously and have no sharepoint context associated with them, in other words, you can't perform a redirect from them.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号