WrkTaskIP.aspx 任务页面更改重定向 URL

发布于 2024-11-11 18:50:42 字数 331 浏览 0 评论 0原文

我有一个包含自定义任务表单的工作流程,因此单击工作流程任务会打开任务页面 WrkTaskIP.aspx,其中托管有一个 InfoPath 表单。

任务表单有一个提交按钮,用于提交到托管环境以完成任务,并且页面默认会重定向到 WrkStat.aspx 页面,以在提交任务后显示工作流的状态。

不过,我希望能够将此默认重定向更改为另一个 URL,通常我会通过修改 URL 中的 &Source 参数来完成此操作,但这次我无法控制这一点。

在这种情况下有什么办法可以实现重定向到另一个URL吗?

(这不涉及对 _layout 表单的全局更改)

任何帮助将不胜感激。

I have a workflow with customised task forms so clicking on a workflow task opens up the task page WrkTaskIP.aspx with an InfoPath form hosted within it.

The task form has a submit button which submits to the hosting environment to complete the task and the page by default will then redirect to the WrkStat.aspx page to display the status of the workflow after submitting the task.

However I would like to be able to change this default redirection to another URL which I would normally do by modifying the &Source parameter in the URL however this time I have no control over this.

Is there any way to achieve the redirection to another URL in this situation?

(That does not involve a global change to a _layout form)

Any help would be much appreciated.

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

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

发布评论

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

评论(1

时光与爱终年不遇 2024-11-18 18:50:42

我通过在提交时将任务表单更改视图到“任务已完成”屏幕来解决这个问题,然后其中包含指向应重定向到的位置的链接。

由于我已经找到了一种在同一窗口中打开超链接的方法,因此它几乎与我最初想要的效果相同。

客户实际上对此感到满意,因为它向用户确认他们已经完成了任务,而不是仅仅在单击提交后进行重定向。

I got around this problem by having a task form change view to a "Task Completed" screen on submit which then includes a link to the place they should be redirected to.

Since I already have found a way to get hyperlinks to open in the same window, it nearly has the same effect as what I was originally after.

The customers were actually happy with this because it confirmed to the user that they had completed the task rather than just redirecting after clicking submit.

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