It's all about the answers!

Ask a question

Read-only field in RTC v3.0.1


Gary Dang (59338955) | asked Oct 13 '11, 5:03 p.m.
We want to make a field read-only so that the user can not modify the content of the field on the form but we want to allow system update (e.g. update the field via OSLC using integration account). Is there a way to do this in RTC v3.0.1?

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 14 '11, 10:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I believe one approach is to make that field readonly for all roles that
a normal user is given, and then create a special role that is only
given to the integration account, and make that field writable by that role.

Cheers,
Geoff

On 10/13/2011 5:08 PM, gdang wrote:
We want to make a field read-only so that the user can not modify the
content of the field on the form but we want to allow system update
(e.g. update the field via OSLC using integration account). Is there
a way to do this in RTC v3.0.1?

permanent link
Oliver Vinn (261) | answered Oct 20 '11, 7:41 a.m.
We want to make a field read-only so that the user can not modify the content of the field on the form but we want to allow system update (e.g. update the field via OSLC using integration account). Is there a way to do this in RTC v3.0.1?


In the project configuration under the editor presentations, select the appropriate editor. Find and edit the attribute.

A dialog window will open up for that attribute. There you will find a Read-Only option. The default is inherit instead select True.

Now the attribute is readonly at the presentation level but editable via OSCL.

permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 20 '11, 1:22 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note, though, that there are generic ways of modifying a field (such as
through the work item query result display), which would not be affected
by marking a field as read-only in a particular editor presentation.

Cheers,
Geoff

On 10/20/2011 7:53 AM, ovinn wrote:
gdangwrote:
We want to make a field read-only so that the user can not modify the
content of the field on the form but we want to allow system update
(e.g. update the field via OSLC using integration account). Is there
a way to do this in RTC v3.0.1?

In the project configuration under the editor presentations, select
the appropriate editor. Find and edit the attribute.

A dialog window will open up for that attribute. There you will find a
Read-Only option. The default is inherit instead select True.

Now the attribute is readonly at the presentation level but editable
via OSCL.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.