Book a Demo

Author Topic: Lock a tagged value from editing  (Read 2842 times)

fferm

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Lock a tagged value from editing
« on: November 05, 2010, 12:26:29 am »
Hi

Does anybody know if it is possible to restrict the editing of a tagged value, i e lock it so that noone can alter the value once it has been set?

Regards
/ Fredrik Ferm

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Lock a tagged value from editing
« Reply #1 on: November 05, 2010, 01:00:14 am »
You might be able to do something with the EA_onPre/Post... events.

Geert

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Lock a tagged value from editing
« Reply #2 on: November 05, 2010, 09:12:58 am »
If you have the Corporate edition or higher and user security is enabled on your model, you should be able to use workflow scripts to deny the ability to update tagged values.  See:
Workflow Scripts
Workflow Script Functions

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: Lock a tagged value from editing
« Reply #3 on: November 05, 2010, 09:19:09 am »
Yeah I'd agree with AaronB, workflow scripts would probably be the best way to do this. If you do decide to go down that route, please checkout the latest workflow script template:

http://community.sparxsystems.com/resources/code-templates/workflow-script-template
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8