The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Service Calls - Blocked Fields to edition

SOLVED
Go to solution
Highlighted
Elaine Costa
Occasional Advisor

Service Calls - Blocked Fields to edition

I need to block fields in object Service Call. This fields might to enable only read.
Where and how I made?
3 REPLIES
Vasily Kamenev
Honored Contributor

Re: Service Calls - Blocked Fields to edition

Hi
In Role, set the "View" on field(s).

Vasily
Elaine Costa
Occasional Advisor

Re: Service Calls - Blocked Fields to edition

is it possible only for status acess?

Thanks
Ruth Porter
Honored Contributor
Solution

Re: Service Calls - Blocked Fields to edition

Hi Elaine,

There is no easy way in 4.5 to stop some users writing certain fields for certain statuses.

The access using roles is all the time not just for certain statuses.

The only way that I know is to set up a custom field for each field you want to stop people writing - and the custom field must be the same type of field. Say the field which cannot be written is FIELDA and the custom field, COPY_OF_FIELDA

Then you have a DB rule with conditions:
Status = while allowed to edit with the "evaluate this .." box clear
AND
FIELDA is anything with the "evaluate this .." box set
Action: data update which sets COPY_OF_FIELDA to the attribute FIELDA

Then have a UI rule:
Before item is saved:
Status is while field cannot be edited AND
FIELDA not equal to COPY_OF_FIELDA
Action: user notifcation of type Error to tell the suer they cannot amend FIELDA
and a data update to set it back to COPY_OF_FIELDA.

Hope this helps, Ruth
http://www.teamultra.net
//Add this to "OnDomLoad" event