Written by

Question Lucy Arnold · Aug 3, 2016

studio - how to edit class that has been locked

Hello,

I'm using studio for the first time.  I copied the Security.Users Class to my own UCDavis.Security.Users

I can't edit the copied file.  I totally get why I can't edit the Security.Users class - but why is it stopping me from editing the class I created??

Thanks in advance!

Lucy

Comments

Lucy Arnold  Aug 3, 2016 to Eduard Lebedyuk

There is no error - my cursor looks like a tiny lock and when you select text and try to delete it..nothing happens..

0
Eduard Lebedyuk  Aug 3, 2016 to Lucy Arnold

Are you in %SYS namespace? Underlying database (CACHELIB) is probably mounted as read-only.

0
Alexander Koblov · Aug 3, 2016

Lucy,

if you are using Studio for the first time, why did you start with copying system class?

Class Security.Users is in 'deployed mode'. You can see properties and method's headers, but you cannot see code behind the methods. The class that you copied Security.Users to -- UCDavis.Security.Users -- now is also in deployed mode.

More info about deployed mode: http://docs.intersystems.com/cache20161/csp/docbook/DocBook.UI.Page.cls?KEY=GOBJ_classes#GOBJ_deploy_classes_details

Please tell us, what is the end goal, that you are trying to achieve? Why do you need to copy Security.Users?

Thank you, Alexander.

0