Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem statement: On clicking on "Open Form" in the Userview above, we would like to open up the Form in a Popup Dialog, and upon saving of the form, we wish to return to the same listing, with the page refreshed.

Image Removed

There are 2 items in the Userview category. One is a List and another is a Form.

Steps:

问题陈述:在上面的用户视图中点击“打开表格”,我们希望在弹出对话框中打开表格,保存表格后,我们希望返回到相同的列表,刷新页面。

Image Added

Userview类别中有2个项目。一个是List,另一个是Form。

步骤:

  1. 在Datalist中,创建一个指向UserView Form菜单的新链接(例如命名为“form”)。设置参数“embed = true”,并记住检查“超链接目标”为“弹出对话框”。Image Added
  2. 在用户视图窗体中,配置其属性。转到第二个标签并选中“在弹出对话框中显示?” 。
    Image Added
  3. 在第二个选项卡上,将“表单提交后的URL重定向”配置为指向用户视图列表。
  4. In Datalist, create a new link that points to a Userview Form menu (e.g. named as "form"). Set the parameter "embed=true" as well as remember checking "Hyperlink Target" to "Popup Dialog".Image Removed
  5. In the correspondent Userview Form, configure its properties. Check "Show in popup dialog?" and go to the second tab.
    Image Removed
  6. On the second tab, configure "URL Redirect After Form Submission" to point to a Userview List.
Info
titleDoing the same to Inbox assignment

If you are pointing to a Userview Inbox instead of Userview Form in Popup Dialog, you can put the following code to "List View Custom Header" in Inbox > UI properties.如果在弹出对话框中指向用户视图收件箱而不是用户视图表单,则可以将以下代码放入“ 任务箱> UI属性中的” 列表视图自定义标题 “中。

Code Block
<p>
<script type="text/javascript">// <![CDATA[
$(function(){
         if(window.top!==window.self)
              parent.window.location.replace(parent.window.location.href);
         })
// ]]></script>
</p>