- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2020 07:24 AM
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2020 09:18 AM
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();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2020 10:52 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2020 01:07 PM
Good to know Carter.
Welcome to the community.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2021 06:11 PM
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.