1 of 1 people found this helpful
Locking is the feature to protect the particular package of Object Definitions so that they cannot be manipulated.
Lock key is only to group a set of definitions under one Packet/Family (whose identity is described by the lock key). It is not actually a key to unlock the objects. [[[Locked objects cannot be unlocked using the key; they can only be deleted, and deleted as a group]]]
Another significance of Lock key is, when you are doing an import in place again for the locked object, you have to provide the same lock key for successfull import or else the import will fail, so here this key actually gives you the access to modify these locked object by importing their updated locked copies.
Hope this helps...
- Object locking allows application developers to protect ARSystem server objects.
- Locking objects prevents the modification and optionally the viewing of server object that are neither intended nor designed to be customized.
- AR System developers whore sell their applications will find this feature especially helpful.
Youcan apply either of two lock levels to objects:
Read-Only—Prevents users from modifying an object.Access to object properties differ from object to object. When you open aread-only object in an editor in BMC Remedy Developer Studio, you receivea warning.
Hidden—A more restrictive lock that prevents usersfrom viewing details of a locked server-side workflow object. You can see somedetails, such as the name and execution order of the workflow object, but youcannot open the server object to view Run If qualifications, If or Elseactions, change history, or help text.
Hidingserver-side workflow (filters, filter guides, and escalations) is intended toprotect the intellectual property of those objects. Hidden locks (hiding theobject details) apply only to filters or escalations.
VyomLabs Pvt. Ltd.
Expert BMC BSM Services || Remedy ARS, ITSM, Blade Logic, CLM,BPPM, Control-M
Follow Vyom Labs
Thanks for replying, but I still have doubts,
you said that
"when you are doing an import in place again for the locked object, you have to provide the same lock key for successfull import or else the import will fail, so here this key actually gives you the access to modify these locked object by importing their updated locked copies."
When I import the file into the developer studio it doesnt asks me for any lock key.
That is the main doubt in my mind that because after entering that password it never asks for it again then what is the use of it.
Thanks for replying, but my concen is not about "lock" I have understood the purpose of lock, my concern is about "lock key". if while exporting we are entering a password and later on nobody asks us about that password again then what is the use of entering it
even if lock clouse whould'nt have been there then also scenario would have been the same
I did a bit of a self practice and found the following results.
if I lock one object with key 44 and export it
then I import it into developer studio,
now I lock that object again and export it for the second time (locking locked object)
so IF ( I enter lock key as 44 while exporting) then import the file
but IF ( I enter different lock key while exporting) then import the file
File is empty( or the form is not present in the file)
that is the only use of lock key I have found till Now.
"when you are doing an import in place again for the locked object, you have to provide the same lock key for successfull import or else the import will fail, so here this key actually gives you the access to modify these locked object by importing their updated locked copies"
--- By above statement I mean your objects should be exported with the same lock key again, this lock key is the one which should match with the key of the locked objects on the environment where you have to import these objects.... [This should clear why you are seeing the empty file when you are trying to import when lock key given is difffrent]... [Try importing the same file again on any other environment where the object/form is unlocked, you should see the form in the same def file there]... Give it a try. i am trying to catch the logic..!!!
(moving under Product Forums / BMC Atrium / AR System)