Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

OAPPropEditClass

Synopsis

OAPPropEditClass (
    string propClass,
    boolean visibleOnly,
    boolean editableOnly
)

Field propClass of OAPPropEditProp is optional. If missing (currently always the case) or empty, clients should either ignore the property class (e.g. if comparing property class and name with instances of Property as returned by operation getArticleData) or specify an empty property class in situations where a property class must be specified (as required by operation setPropertyValue).

Fields visibleOnly and editableOnly are used to restrict the visibility of individual properties in OAP property editors. If visible and editable are the property-specific flags reported as fields of complex type Property, then the corresponding property must be visible if and only if the expression

(visible || !visibleOnly) && (editable || !editableOnly) is true. Or, perhaps more intuitive, they must be hidden if

(visibleOnly && !visible) || (editableOnly && !editable) is false.