Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: fferm 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
-
You might be able to do something with the EA_onPre/Post... events.
Geert
-
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 (http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/projects_and_teams/workflow_scripts___overview.html)
Workflow Script Functions (http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/projects_and_teams/workflow_scripts.html)
-
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