Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Previous step
Make sure that you have first completed the previous tutorial - Designing a List
ตรวจสอบให้แน่ใจว่าคุณได้ทำบทช่วยสอนก่อนหน้าเสร็จแล้ว - Designing a List
In the Design App page, click on the Create New Userview button along the top.
ในหน้า Design App คลิกที่ปุ่ม Create New Userview ที่ด้านบน
Key in the details of the new userview and click on the Save button.
ป้อนรายละเอียดของ userview ใหม่แล้วคลิกปุ่ม Save
Name | Description |
---|---|
ID | Unique ID to represent this entity. ID ที่ไม่ซ้ำเพื่อแสดงถึงเอกลักษณ์ Naming convention A standard naming convention is highly recommended to be used across the development of your App to maintain consistency and ease maintenance works. Camel case naming convention is recommended for this field. Example: travelPortal ขอแนะนำให้ใช้แบบแผนการตั้งชื่อมาตรฐานในการพัฒนาแอพของคุณเพื่อรักษาความสม่ำเสมอและความสะดวกในการบำรุงรักษา แนะนำให้ใช้หลักการตั้งชื่อเคสสำหรับฟิลด์นี้ ตัวอย่าง: travelPortal Important Note The ID declared here would be part of the eventual URL seen by the end users. Try to choose something short and meaningful. ID ที่ประกาศที่นี่จะเป็นส่วนหนึ่งของ URL สุดท้ายที่ผู้ใช้ปลายทางเห็น พยายามเลือกสิ่งที่สั้นและมีความหมาย |
Name | Name to represent this entity. ชื่อที่ใช้แทนเอกลักษณ์ Example Travel Portal Important Note The name declared here would be the userview name seen by the end users. Try to choose something short and meaningful. ชื่อที่ประกาศที่นี่จะเป็นชื่อผู้ใช้ userview ที่ผู้ใช้ปลายทางเห็น พยายามเลือกสิ่งที่สั้นและมีความหมาย |
Description | Entity description. (OPTIONAL) คำอธิบาย (ไม่จำเป็น) |
Duplicate Userview from | With the above information filled up, one can choose to clone the design from existing Userview entity. เราสามารถเลือกโคลนการตั้งค่าข้อมูลที่สมบูรณ์จาก Userview เดิมที่มีอยู่ |
Click on Save to save the userview and launch the Userview Builder in a new window. If your browser blocks the popup, click on the form name to launch it.
คลิกที่ Save เพื่อบันทึก userview และเปิดใช้งาน Userview Builder ในหน้าต่างใหม่ หากเบราว์เซอร์ของคุณบล็อกป๊อปอัปให้คลิกที่ชื่อฟอร์มเพื่อเปิดใช้งาน
The first step in the Userview Builder is the Design Userview page. On the left is the palette containing available menu elements. In the middle is the canvas containing the userview header, footer and one or more menu categories.
ขั้นตอนแรกใน Design Userview คือหน้าออกแบบ Userview ด้านซ้ายเป็นจานสีที่มีองค์ประกอบเมนูที่มีอยู่ ตรงกลางคือผืนผ้าใบที่มีส่วนหัว userview ส่วนท้ายและอีกหนึ่งหมวดหมู่เมนู
When you hover over the canvas Menu, a button will appear giving you the option to Add Category.
เมื่อคุณลากเมาส์เหนือเมนู ปุ่มจะปรากฏขึ้นเพื่อให้คุณมีตัวเลือกในการ Add Category
You can click any category name to edit it, and drag categories up and down.
Drag menu elements from the palette into any category.
ลากองค์ประกอบเมนูจากจานสีลงในหมวดหมู่ใดก็ได้
Click on any category or menu element to see the available options, and to open the properties on the right side.
At any time, you may preview the Userview by clicking on the large Preview button at the top.
คุณสามารถดูตัวอย่าง Userview ได้ตลอดเวลาโดยคลิกที่ปุ่ม Preview ขนาดใหญ่ที่ด้านบน
Once you have finished designing the Userview, click on the large Save button at the top and you will receive confirmation that the Userview is saved. You may then continue to design the Userview, or close the Userview Builder window.
เมื่อคุณออกแบบ Userview เสร็จแล้วให้คลิกที่ปุ่ม Save ขนาดใหญ่ที่ด้านบนและคุณจะได้รับการยืนยันว่า Userview นั้นถูกบันทึกไว้ จากนั้นคุณสามารถออกแบบ Userview ต่อไปหรือปิดหน้าต่างตัวสร้าง Userview
Before an Userview can be accessed by a normal user, the app needs to be published. To do that, click on the Publish button on the top right of the app composer page the click okay.
ก่อนที่ผู้ใช้ทั่วไปจะสามารถเข้าถึง Userview แอปจะต้องมีการเผยแพร่ หากต้องการทำเช่นนั้นให้คลิกที่ลิงก์ Not Published หรือ Versions ทางด้านซ้ายในหน้าออกแบบแอพ
Another method to publish the application or a version of the application is by going to Versions on the top left then select any version then click on the Publish button on the top right.
ป๊อปอัปแสดงแอปทุกเวอร์ชัน เลือกปุ่มตัวเลือกถัดจากรุ่นล่าสุดและคลิกที่ปุ่มเผยแพร่ เมื่อมีการเผยแพร่แอพพลิเคชั่น Userviews จะพร้อมใช้งานใน App Center