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

Redirect 如何从表单重定向到源url(提交或关闭表单的位置),redirect,sharepoint-2010,Redirect,Sharepoint 2010,在我们的内联网主页上,我创建了一个指向InfoPath表单的链接,该表单位于网站集上。所以链接看起来像这样。当用户单击“提交”或“取消”时,它们不会重定向回主页。他们看到表格已经关闭。。请建议 我试着跟随,但两人都没有做重定向 http://indi.cdc.com/salesteam/Lists/RequestsList/Issue/newifs.aspx?Source=http://indi.cdc.com/Pages/Home.aspx http://indi.cdc.com/sales

在我们的内联网主页上,我创建了一个指向InfoPath表单的链接,该表单位于网站集上。所以链接看起来像这样。当用户单击“提交”或“取消”时,它们不会重定向回主页。他们看到表格已经关闭。。请建议

我试着跟随,但两人都没有做重定向

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
创建了一个重定向页面

在InfoPath表单为redirect.aspx的目标列表上创建一个视图,编辑该页面并从中删除CEWP和html文件上方的引用

在主页上重新创建了链接

下面是重定向.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>