Forum Post: ADM2 SDO Readonly switch

Status
Not open for further replies.
H

Ham

Guest
I’ve got a question about ADM2 and SDO. I’m trying to implement a switch to set the SDO Readonly based on external criteria. E.g. a person related to a specific plant may update the plant’s information. The same person can * see * the data from other plants but may not update them. The idea I’ve got in mind is a property in the SDO to set / get Readonly of the SDO. When a person selects “his” plant, update is enabled and the SDO’s Readonly property is set to FALSE. When a different plant is selected, the SDO’s Readonly property is set to TRUE and NO UPDATES ARE ALLOWED OR ENABLED. What’s the best way to implement this? I was thinking of: Add a new property to every SDO: Readonly Functions to set/get the property should either Make all fields readonly Remove update link Question is how to relink SDO with the other objects. Anyone can help on this?

Continue reading...
 
Status
Not open for further replies.
Top