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.
There are 2 items in the Userview category. One is a List and another is a Form.
Steps:
- 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".
- In the correspondent Userview Form, configure its properties. Check "Show in popup dialog?" and go to the second tab.
- On the second tab, configure "URL Redirect After Form Submission" to point to a Userview List.
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. <p>
<script type="text/javascript">// <![CDATA[
$(function(){
if(window.top!==window.self)
parent.window.location.replace(parent.window.location.href);
})
// ]]></script>
</p> |
|
Related Elements