Versions Compared

Key

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

Step 1: Create a Search Form

Thai

ขั้นตอนที่ 1: สร้างแบบฟอร์มการค้นหา

...

  • With the form created, we can now make it available to the end user.

    Thai

    ด้วยการสร้างฟอร์มเราสามารถทำให้ผู้ใช้ปลายทางสามารถใช้งานได้

  • Add a Form Menu to the UI .

    Thai

    เพิ่มเมนูแบบฟอร์มไปที่ UI 

  • In "URL Redirect After Form Submission", key in a unique custom Menu ID such that it will redirect to the Calendar menu.

    Thai

    ใน "การเปลี่ยนเส้นทาง URL หลังจากส่งแบบฟอร์ม" ให้ป้อนรหัสที่กำหนดเองที่ไม่ซ้ำซึ่งจะเปลี่ยนเส้นทางไปยังเมนูปฏิทิน

  • The rationale here is that user will fill up the search form, submit the form, and gets redirected to the calendar that is filtered by the user.

    Thai

    เหตุผลที่นี่คือผู้ใช้จะกรอกแบบฟอร์มการค้นหาส่งแบบฟอร์มและได้รับการเปลี่ยนเส้นทางไปยังปฏิทินที่ถูกกรองโดยผู้ใช้

...

Thai

ขั้นตอนที่ 3: กำหนดค่าปฏิทินเพื่อกรอง

  • Make use of binder data store such as "Advanced Form Data Binderdata store".

    Thai

    ใช้ประโยชน์จากสารยึดเกาะเช่น "Advanced Data Data Binderdata store"

  • Under "Filter Conditions", add in as much row as needed to.

    Thai

    ภายใต้ "เงื่อนไขการกรอง" ให้เพิ่มแถวมากเท่าที่จำเป็น

  • Choose the appropriate field that you want to filter.

    Thai

    เลือกฟิลด์ที่เหมาะสมที่คุณต้องการกรอง

  • Set operator to "Like" to return matching value.

    Thai

    ตั้งค่าโอเปอเรเตอร์เป็น "ถูกใจ" เพื่อคืนค่าการจับคู่

  • And, in value, we can make use of form hash variable to obtain the value from the search form.

    Thai

    และตามค่าเราสามารถใช้ตัวแปรแฮชฟอร์มเพื่อรับค่าจากฟอร์มการค้นหา

    Code Block
    titleSample Value
    %#form.j_meetingsearch.title[{currentUser.id}]#%

Sample App

Download the sample app here:

Related Elements

Thai

องค์ประกอบที่เกี่ยวข้อง

...