开发者

Orbeon Forms - Find current Document_id

开发者 https://www.devze.com 2023-02-14 05:48 出处:网络
开发者_如何学JAVAI want to have a text box have the current document_id displayed.Is there an XPath expression to get that?The following XPath returns the current document id, the same that you see on

开发者_如何学JAVAI want to have a text box have the current document_id displayed. Is there an XPath expression to get that?


The following XPath returns the current document id, the same that you see on the URL on the edit page you get by clicking on a form instance in the summary page.

xxforms:instance('fr-parameters-instance')/document

Note however that if you use this in a calculated expression, for new forms, the value won't show until a change was done in the form (e.g. users entered a value in a field).

0

精彩评论

暂无评论...
验证码 换一张
取 消