且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将用户重定向回InfoPath表单(SharePoint Online,InfoPath 2013)

更新时间:2023-02-18 13:56:07

嗨rixmcx59,

我们可以添加& Source =<表单的路径>"在上传文件页面链接的末尾.

例如:

 http://mySite/_layouts/Upload.aspx?List = {MylistGuid}& Source = http://< form> 


在InfoPath表单中使用此链接.当用户单击InfoPath表单中的此链接时,将打开上载文件页面.上载文件后,页面将被重定向到 表单(源网址),而不是库.

***的问候,

Linda Zhang


>

Hello all, I have an IP form with sections where the user is instructed to upload a required document to a document library, I have a link to the SP Upload form of that library (MySite/_layouts/Upload.aspx?List={MylistGuid} in a hyperlink control.

After the user uploads the document, completes the metadata and checks in the document, is there a way to redirect them back to the form?

Or is there a better way to do this. I hope this is the right forum for this question.

Hi rixmcx59,

We can add the "&Source=<the path of the form>" at the end of the link of upload file page.

For example:

http://mySite/_layouts/Upload.aspx?List={MylistGuid}&Source=http://<form>


Use this link in the InfoPath form. When user clicks this link in the InfoPath form, the upload file page will be opened. After uploading the file, the page will be redirected to the form (the Source Url), instead of the library.

Best Regards,

Linda Zhang