Versions Compared

Key

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

English
Problem statement: On clicking on "Open Form" in the

...

UI 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.
Thai

คำแถลงปัญหา: เมื่อคลิกที่ "เปิดแบบฟอร์ม" ใน Userview UI ด้านบนเราต้องการเปิดแบบฟอร์มในกล่องโต้ตอบแบบผุดขึ้นและเมื่อบันทึกแบบฟอร์มเราต้องการที่จะกลับไปยังรายชื่อเดียวกันโดยที่หน้าจะรีเฟรช


Image RemovedImage Added

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

Thai

มี 2 ​​รายการในหมวดหมู่ Userview UI หนึ่งคือลิสต์และอีกอันคือฟอร์ม

Steps:

Thai

ขั้นตอน:

  1. In DatalistList, create a new link that points to a Userview UI Form menu (e.g. named as "form"). Set the parameter "embed=true" as well as remember checking "Hyperlink Target" to "Popup Dialog".

    Thai

    ใน Datalist List ให้สร้างลิงก์ใหม่ที่ชี้ไปยังเมนูแบบฟอร์ม Userview UI (เช่นชื่อเป็น "แบบฟอร์ม") ตั้งค่าพารามิเตอร์ "embed = true" และอย่าลืมตรวจสอบ "Hyperlink Target" เป็น "Dialup Dialog"


    Image AddedImage Removed

  2. In the correspondent Userview UI Form, configure its properties. Check "Show in popup dialogIn Popup Dialog?" and go to the second tab.

    Thai

    ในแบบฟอร์ม Userview UI ที่เกี่ยวข้องให้กำหนดค่าคุณสมบัติ ทำเครื่องหมายที่ "แสดงในกล่องโต้ตอบป๊อปอัป?" และไปที่แท็บที่สอง


    Image AddedImage Removed

  3. On the second tab, configure "URL Redirect After Form Submission" to point to a Userview UI List.

    Thai

    บนแท็บที่สองกำหนดค่า "การเปลี่ยนเส้นทาง URL หลังจากส่งแบบฟอร์ม" เพื่อชี้ไปยังรายการ UserviewUI




Info
titleDoing the same to Inbox assignment

If you are pointing to a Userview UI Inbox instead of Userview UI Form in Popup Dialog, you can put the following code to "List View Custom Header" in Inbox > UI properties.

Thai

หากคุณกำลังชี้ไปที่กล่องจดหมายของ Userview UI แทนที่จะเป็นแบบฟอร์ม Userview UI ในกล่องโต้ตอบป็อปอัพคุณสามารถใส่รหัสต่อไปนี้ลงใน "List View Custom Header" ในInbox > UI Properties

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

...