Set task fields to read-only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
I received a requirement to make all fields on a task 'Read Only' whenever it is assigned to a specific Assignment Group. I managed to implement this using a Client Script; however, the 'State' field remains editable. Does anyone know why this might be happening or how to fix it? (Note: We are using the Zurich version).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @anthonycata
Most likely because there is an ACL on the state field for the "task" table you mention and the client script isn't going to override that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
A quick look through dictionary attributes indicates one called RestrictTo. I haven't used it before, but it looks like it might do what you need. It appears to be some type of redirection (you'll need another field with comma separated field names apparently.) Not sure, as I said, haven't used it before.
