Skip to content Skip to sidebar Skip to footer

OpenDocAsReadonly Computed?

I know there is the True/False option for this, but I'm wanting to have it differentiate depending on the status of a document. It only lets you select Edit or Read Only on the 'Di

Solution 1:

You can edit this property in "All Properties" tab

enter image description here

and write SSJS or EL code there.


Solution 2:

Almost every control in XPages is really a bean meaning that you can compute almost all of its properties.

"Why is it crucial to understand the nature of beans when developing XPages, even if you're not specifically writing Java code? Because darn near everything in an XPage is a bean."

Source: What the heck is a bean? by Tim Tripcony


Post a Comment for "OpenDocAsReadonly Computed?"