Anyone know of an easy way to remove the Post button for Work notes?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2017 08:40 AM
Anyone know of an easy way to remove the Post button for Work notes? We are having issues with people entering SSN's on occasion into the work notes. I built an onSubmit script that just removes them but what I found is that if the use clicks the "Post" button that the system does not run any of the onSubmit scripts. I'm hoping I will not have to write a client script to find and remove it, that will just cause all kinds of issues I'm sure.
Thoughts anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2017 09:14 AM
Hello Drew,
Can you click the form properties -> UI Actions
- List action, false or
- Active, false?
Thanks,
Kelly

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2017 09:59 AM
The Post button for the work notes/comments fields is not a normal UI Action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2017 09:40 AM
Hi,
You can write a UI Policy on the Incident Table to hide the Post button as shown below:
The above script will always hide the Post button on the Incident form, if you want you can specify the condition also in the UI Policy i.e. when you want to hide the Button say for example You want to hide it when the State is closed, so you can specify the same as shown below:
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
04-05-2017 10:02 AM
I'm trying to avoid a client script which is essentially what you created.
So what I'm learning is there is no system property to find and a client script is basically my only option.