如何从表单重定向到源 url(提交或关闭表单)

How to Redirecting to source url from form (where submit or close the form)

在我们的主要内联网页面(主页)http://indi.cdc.com I created a link to InfoPath form that is on a site collection http://indi.cdc.com/salesteam. So the link looks like this. When user click Submit or Cancel they are not redirected back to homepage (http://indi.cdc.com)。他们看到“表单已关闭。”。请提出建议。

我试过跟随,但都没有进行重定向。

http://indi.cdc.com/salesteam/Lists/RequestsList/Issue/newifs.aspx?Source=http://indi.cdc.com/Pages/Home.aspx

http://indi.cdc.com/salesteam/Lists/RequestsList/Issue/newifs.aspx?Source=http://indi.cdc.com/Pages/Home.aspx?target=http://indi.cdc.com/salesteam
  1. 创建了一个重定向页面(http://indi.cdc.com/salesteam/SharedDocuments/Redirecting.html

  2. 在目标列表上创建了一个视图,其中 InfoPath 表单是 redirect.aspx,编辑页面并从中删除 CEWP 和引用上面的 html 文件。 (http://indi.cdc.com/salesteam/spteam/Lists/RequestsList/redirect.aspx)

  3. 重新创建了主页上的 link。

http://indi.cdc.com/salesteam/spteam/Lists/RequestsList/Issue/newifs.aspx?Source=http://indi.cdc.com/salesteam/Lists/RequestsList/redirecting.aspx

这是 redirecting.html 页面的 html 代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<meta http-equiv="Refresh" 
 content="0; URL=http://indi.cdc.com">
 <title></title>
</head>

<body>

</body>

</html>