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 Jaspal,

Wanted to follow up on the solve I came up with. I was able to go to the sys_dictionary table and manually change the "Function Field" value in the list view from False to True. I did not think you were able to change a field to a function after it was created but this allowed me to do so. Thanks for all the help.

Good to know Carter.

 

Welcome to the community.

Duane Bass
Kilo Contributor

You can also try to configure the New Record form to display the Function Field checkbox. The context menu is active on this form. I was able to add the checkbox in our Dev instance (Paris) using the Configure > Form Layout selection.