How to make new Field Type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 03:04 AM
Hello Experts,
I have this requirement in which i need the functionality of 'journal' field type in 'HTML' field type, basically i need functionality of both in a
single field type, But We( Admin role) cannot make new field type i.e. cannot make entry in 'Field class' table.
So, Is it possible to make new field type ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 03:13 AM
Hi,
I am not aware if it's a best practice to create a new field other than what Service Now has provided OOB. But still if you want to create a new field Type you need to navigate to the table "sys_glide_object.LIST" from Application Search menu as shown below:
Click on the New Button and define your new field Type.
By default Field Class form shown above is not editable for users not also for Admin. First you need to modify the below mentioned ACL and then you can make the above mentioned changes to the Field class form:
Navigate to the below link to modify the ACL:
Replace "instance" with your instance name and just check the Admin Overrides check box as true as shown below:(Make sure Elevated Privileges are turned On to modify the ACL)
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 06:04 AM
Thanks shloke,That was very helpful.
What I actually want to do is, make the 'work notes' field (which is OOB journal_input) on incident table look like HTML field but functionality should remain same.
can you suggest something on this!
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 03:13 AM
Why would you really need a new type? All these types you mentioned are basically extending String anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2017 05:16 AM
Journal and HTML are two different field type but i want a field with functionality of both journal and html field type, basically want to give two field types to a field (if that make sense).!