Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: updating attribute via trigger script
Topic Summary:
Created On: 4-Feb-2008 14:31
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 4-Feb-2008 14:31
User is offline View Users Profile Print this message


Daryl Walters

Posts: 4
Joined: 1-Aug-2007

I'm trying to update an attribute on modify via a perl trigger. The issue i'm having is that i want this attribute to only be modified via the trigger, but I want to have the attribute displayed on the dialogs, so I set the attribute as read only on the dialogs.

It seems that if I want to do this then the trigger only works for admin users as they can overide the read only status of the attribute. The fault code I'm getting for standard users is 4, but I'm not sure what the meaning of that is as I haven't found any explanations for these codes. I'm assuming its a general "not modifyable" code which I attribute to users not being able to modify the attribute because of the dialog settings.

Is there anyway to do set this up in the lifecycle so that the trigger will work for standard users? What is it that I'm missing? It seems like this would be a common function where you'd want to use triggers.
Report this to a Moderator Report this to a Moderator
 5-Feb-2008 07:17
User is offline View Users Profile Print this message


howard ling

Posts: 20
Joined: 6-Apr-2007

hi:

You can set the web type of the attribute to "ccm -readonly",and grant the standard user the permission to modifiy the attribute on certain state.

-------------------------
BRs
Howard Ling
ShenZhen,China
ICQ:283072597
MSN:linghuan713@hotmail.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.