How to make few choices read only in list type field?

Bobby2
Tera Contributor

Hi Developers!,

I have a list type field which is 'Contact Category'  which is referenced to a table ' contact categories' When data is loaded from salesforce to Servicenow using transform map it will directly map to this field. However SNOW should have access to 2 choices in this field which are 'Admin ' and 'Tech. So i was trying to check what can we do to have the field only these two choices are editable and the others coming from Salesforce are read only.

For example This 'Partner Manager' is transformed from Salesforce. I want it to be read only.

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

I've asked in my original reply what do you mean by read only?

You're not making it clear what you mean by that. I've given my assumption as to what you mean and you didn't say one way or the other.

The list field has selections available. You've limited those selections. That is done by reference qualifier. When you say read only...what do you mean because you have 2 things going on....you have the list field with selections in it...and then you have the referenced table...showing those selections.

I described in my original reply above what you'd need to do if you're talking about making the "selections" read only. Meaning those specific records and not allowing people to edit them.

Again...that is separate from the list field.

At this point, I think we're all confused as to what you're trying to do and we'd need more information. Otherwise, we have people just replying with things we think you're meaning. One of us could be right or none of us are right, haha, who knows...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

7 REPLIES 7

Hi,

For that, you can still use the reference qualifier as I mentioned. The reference qualifier is where you control what shows. Regardless of an imported field or anything. You can set the outcome as you'd like. You can limit it like: name is not 'x', or name is 'y'. Whatever you want to do.

Simply go to the dictionary record for this list field and look at the reference tab/qualifier and set it up as you need.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi, 

Yes i already have reference qualifier set up for the condition assignable is true; that is for selecting the two options 'admin' , 'tech'. But i want the other choices read only. Not sure if i am answering your correctly

 

Hi,

I've asked in my original reply what do you mean by read only?

You're not making it clear what you mean by that. I've given my assumption as to what you mean and you didn't say one way or the other.

The list field has selections available. You've limited those selections. That is done by reference qualifier. When you say read only...what do you mean because you have 2 things going on....you have the list field with selections in it...and then you have the referenced table...showing those selections.

I described in my original reply above what you'd need to do if you're talking about making the "selections" read only. Meaning those specific records and not allowing people to edit them.

Again...that is separate from the list field.

At this point, I think we're all confused as to what you're trying to do and we'd need more information. Otherwise, we have people just replying with things we think you're meaning. One of us could be right or none of us are right, haha, who knows...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!