- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 03:32 AM
Hello All,
I would like to have a field of type "HTML Script" - similar to what we have on Email templates table on a custom table. This will be dependent on another custom table so that I can use ${field_name} notation to substitute the values dynamically while sending emails. Emails? - I am using Notification activity in workflow on this table to send the content of this HTML field.
Currently I am using "HTML" type field which works fine without dynamic substitution.
These developments are in a scoped application.
Any other way to do this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2016 04:17 AM
Apologies. I forgot that I disabled the reference qualifier on the type field to show all fields while doing some development earlier.
NOTE: Do not capture this in an update set! Set your application to Global and update set to Default when doing these next steps!
- Right click on the Type field and select Configure Dictionary.
- Go to the Reference Specification section and set the "Use Reference Qualifier" field to "Simple"
- Save the Record
- Now you can select HTML Script (and other types of fields)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2020 09:02 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2020 05:48 AM
Did you change the reference qualifier to Simple? That basically turns off the filter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2021 07:33 AM
Hey Chuck, I have tried your solution and it doesn't work. I am still unable to add the HTML Script Field anywhere even after setting the reference qualifier on 'type' to Simple. I have tried a few other things as well which you can find here: https://community.servicenow.com/community?id=community_question&sys_id=bece70cedb4574506064eeb5ca96...
I'm desperate to find a working solution for this as this is such a powerful and flexible tool in building out custom, flexible solutions.
I'm thinking the issue is that the field, by default, is set to 'Visible' False and you can't change this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2022 09:18 AM
Hello
I have same requirement of creating new field, field type should be "HTML Script". I have seen your reply for enabling "HTML Script" type of field on a custom table, I have replicated same steps but I couldn't achieve what I required. Can you please elaborate.
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2018 04:52 AM
Hi Chuck,
I am trying to do the same as you described but I am stucking with the reference Dependent field.
I added the HTML Script Field into my form, I created a Table Field and added per Default the table of the form.
then I have Setup the dependent field on the HTML Field to this table.
All good so far. my HTML Field is showing next right to it the referenced fields form that table that I have selected,
I have added then on my html Field some Variables as we do in the notification.
and grab this field from a real notification and put it as the body. but the variables are not getting any values,
what I am doing wrong?
thanks
Elias