2013年调查共享点 [英] Surveys Sharepoint 2013
问题描述
美好的一天.
我需要您的助手,我有一个公告列表,在表格上创建新公告时,我已经使用javascript创建了一个按钮以生成调查,这是我的代码:
I need your assistant, i have an announcement list and when creating a new announcement on the form i have created a button using javascript to generate a survey this is my code:
因此它将打开调查页面,当我单击调查的完成"按钮时,我需要的是保存并关闭调查,将其重定向回原来的公告,并将调查链接存储到称为调查链接的字段(例如,http://scoinspoint01/Lists/omphilesurvey/Newform.aspx) 在公告表格上.将会有很多由不同用户创建的调查,因此它应该适用于所有用户,我不知道这是否可行以及如何开始操作调查表单的完成按钮.
So it will open the survey page and what i need is when i click ob the Finish button of the survey, i want it to save and close the survey, redirect back to the announcement i was and store the survey link to the field called survey link (e.g http://scoinspoint01/Lists/omphilesurvey/Newform.aspx) on the announcement form. There will be many surveys created by different users so it should apply to all the users, i dont know if this is possible and how to start manipulating the finish button of the survey form.
请协助.
谢谢
推荐答案
作为一种解决方法,我们可以在新的公告表单页面中打开一个模式对话框,然后使用dialogReturnValueCallback监视回调.
As a workaround, we can open a modal dialog in the new announcement form page, then using dialogReturnValueCallback to monitor the callback.
以下文章供您参考:
在SharePoint的模式对话框中打开页面和表单2013
https://alinimer.wordpress.com/2013/02/25/open-pages-and-forms-in-modal-dialog-for-sharepoint-2013/
SP.UI.ModalDialog.showModalDialog(options)方法
最好的问候,
这篇关于2013年调查共享点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!