New blog post: Allowing users to view form data if they can't edit it because of a lease

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

New blog post: Allowing users to view form data if they can't edit it because of a lease

Alessandro  Vernet
Administrator
https://blog.orbeon.com/2020/07/allowing-users-to-view-form-data-if.html

Enjoy,

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1595013665526-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: New blog post: Allowing users to view form data if they can't edit it because of a lease

Jarosław Kowalewski
Hi,
great news. 
Just to confirm. Actions also are NOT triggered in a view mode? Not sure if you know about it but in a  lease mode, even you don't have rights to edit, actions are triggered. I mean version 2018.2.4 for sure. The workaround is to change it="true()" to if="fr:owns-lease-or-none-required()" for actions that are triggered 'always' when form is loaded. 

//Jarek

pt., 17 lip 2020 o 21:21 Alessandro Vernet <[hidden email]> napisał(a):
https://blog.orbeon.com/2020/07/allowing-users-to-view-form-data-if.html

Enjoy,

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1595013665526-0.post%40n4.nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/CAHFpwcU3Yrq6DXLdotU4taBGDsF3CgcbfiCSnLqcy4BF6xGs8w%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: New blog post: Allowing users to view form data if they can't edit it because of a lease

Alessandro  Vernet
Administrator
Hi Jarek,

Yes, services & actions shouldn't run when you are trying to edit form data
and are unable to do so because someone else has the lease on that form
data. This is a known issue; see issue #4262. However, services & actions
should still run when you are viewing form data, as they might be needed for
instance to populate some fields. Is that last part also a problem for you?

https://github.com/orbeon/orbeon-forms/issues/4262

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1595032003678-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet