oxf.fr.detail.lease.enabled.*.*
to true
, as shown below (the default is false
, so you do need to set this property).*
by the name of that app, or even more specifically for a specific form of that app by also replacing the third *
by the name of that form.*
can be replaced by a role name if you want the duration of the lease to be higher for users having that role. If in a given situation multiple properties apply to the current form and current user, then the highest duration is used. For instance, say you leave the default to 10 minutes, but add a property oxf.fr.detail.lease.duration.admin.*.*
set to 20 minutes. Then users with the role admin
will get 20 minutes, while other users will get 10 minutes.fr:owns-lease-or-none-required()
XPath function. By default, buttons are only shown if users own the lease or no lease is required; you could change this default by modifying the value of the following property, but we don't recommend you do so.oxf.fr.detail.button.[button-name].visible.*.*
property, if that button shouldn't be displayed when users don't own the lease, you'll want to add and fr:owns-lease-or-none-required()
to your XPath expression: