Function Field Checkbox Missing

Carter1
Giga Guru

Hi all,

I am trying to create a new dictionary entry in a table and have it be a function field. When I go to create new entry, I do not see the checkbox to select "Function Field".

I am able to do so in my personal instance just fine but cannot find a way to create a function in the instance I am having trouble with.

Any help would be appreciated.

1 ACCEPTED SOLUTION

Is your custom table in any specific scope? Can you try changing the scope of instance to the scope that table is in & then check. 

If not, you can use a background script so as to get it checked to True.

Something as below. Try it in DEV first.

var uprec=new GlideRecord('sys_dictionary');
uprec.initialize();
uprec.name='incident'; //replace your table name change_request, etc.
uprec.internal_type='boolean'; //truefalse or string
uprec.column_label='ABC';
uprec.element='xyz';
uprec.function_field=true;
uprec.insert();

View solution in original post

22 REPLIES 22

Hi I misread your recent reply. There was nothing under client script because the field isn't showing up like you mentioned. I looked under ACL's and did not see anything that looked like it was adjusting the function fields. Any other ideas?

In that can can you follow link & confirm if there exists an entry for function_field. Just replace instancename with your instance name.

 

Yes, I see a record for it. See below:

Thanks Carter.

This ensures field is present in instance.

Can you follow link (replace yourinstancename) For client scirpt check.

Also, follow link (replace yourinstancename) for UI Policy check.

Got it.

Client Script Check -

"Disable Mandatory for out of scope table"

find_real_file.png

"Function fields are decided at creation"

find_real_file.png

UI Policy Check -

No UI Policy appeared.