How to setup read-only property to an attribute in Query Editor Presentations configuration
![]() Hi,
We have implemented a script based calculated value to store dates in one custom attribute. And this custom attribute should not be manually edited. So, we have made this attribute as Read-Only through "Editor Presentations".
Now when we create the workitem and try to change this custom attribute, it is not editable and does not allow us to change manually. Upto this, the script is working fine as expected.But while further testing, we observed that this custom attribute is editable through queries screen.
After getting the query results, when we try to edit a workitem through "Edit multiple Workitems" option then we observed that this custom attribute is allowing us to modify manually.
We couldnt understand why it is behaving like this in Query editor and didnt identify any way to make this attribute as read-only in query screen.
|
Accepted answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Jul 28 '20, 7:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER The only option I would be aware of is to set the Attribute itself as Read Only (and not the editor presentation). Then it should not matter if it is shown in a plan or a query or whatever. I am not sure if this works. I haven't tried it for a long time. But it would be the only useful scenario I could think of to allow a calculated value and prevent the user from editing it.
SatyaPrameela Sabbarapu selected this answer as the correct answer
|