Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Once you have created the form, you must add the form element into the userview. Be sure to set the 'Custom ID' property which will be part of the hyperlink used to view the data from within the form.
Figure 1: Create New Form Element in Userview
Once you have finished creating the form element, you'll want to create a hyperlink in the Datalist that will be shown in the Userview.
In Datalist Builder, add a Hyperlink action in your design.
Figure 2: Add Hyperlink Action
In the 'Configure Hyperlink' action, the 'Hyperlink' property should point to the path of the form, indicated by the 'Custom ID' property you set above when adding the form element to the Userview. Be sure to specify the 'Hyperlink Parameter Name' and 'Column Name' properties as 'id'.
Figure 3: Configure Hyperlink Action
图1:在Userview中创建新的表单元素
完成表单元素的创建后,您将需要在Datalist中创建一个将在Userview中显示的超链接。
在Datalist Builder中,在您的设计中添加超链接操作。
图2:添加 超链接操作
在“配置超链接”操作中,“超链接”属性应该指向表单的路径,在将表单元素添加到用户视图时,由上面设置的“自定义ID”属性指示。请务必将“超链接参数名称”和“列名称”属性指定为“ID”。
图3:配置超链接操作
使用上面的配置,将会得到一个结果URL路径的例子Using the configuration above, an example resultant URL path would be
Code Block |
---|
http://localhost:8080/jw/web/userview/leaveApp/userview//applicationForm?id=21162_leaveApp_applyLeaveProcess |
which uses the format 其使用格式超级链接hyperlink/hyperlinkParameterName/columnNameValue
After you publish the app and click on the Datalist in the Userview, you should see a new column with a hyperlink to open the data in the form. 在发布应用程序并单击用户视图中的数据列表之后,您应该会看到一个带有超链接的新列以打开表单中的数据。
Figure 4: Sample of Listing
Clicking on the 'Open' hyperlink will open the process instance (list record) data in the form you created.
图4:列表示例
点击“打开”超链接将以您创建的形式打开流程实例(列表记录)数据。
图5:通过链接打开表单
Figure 5: Opening the Form Via Link in the Listing