Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

How to check character limit on Translated HTML fields

Hi,I want to add a check on the Knowledge form,Text field (type : Translated HTML) - If you type in more than 65,000 chars then want to alert that "Char limit exceed"How can i achieve this?Another thing which I am not clear is on Text field on Knowle...

tj2 by Kilo Contributor
  • 2765 Views
  • 3 replies
  • 0 helpfuls

getRoles() for user object - how does it work?

I can't seem to find any info on the getRoles function. The wiki says that it returns all of the roles of the current user and gives an example:var myUserObject = gs.getUser();myUserObject.getRoles() returns all of the roles of the current userI'm tr...

by  
  • 7381 Views
  • 1 replies
  • 0 helpfuls

Scripting the Wait for Completion option?

A bit of background: I need to create a number of tasks for different groups based on whether or not a field is filled out in the item they're requesting. I've done this by implementing a turnstile that creates catalog tasks, but the built-in 'Catalo...

dbrown1 by Kilo Contributor
  • 3735 Views
  • 2 replies
  • 0 helpfuls

Edit readonly fields of a base table in extended tables

Hi,I have a different kind of requirement from what is discussed in these forums. There is a read only field (called u_solution_id ) defined in cmdb_ci table. There are many more tables that are extended from this base table. But just for one of the ...

pravTel by Kilo Contributor
  • 1751 Views
  • 3 replies
  • 0 helpfuls

Stop duplicate records from being created

Hi everyone, I have a UI action that is on the task table and when clicked creates a record on a user created table (u_m2m_time_card). When a record is created is it bringing over the task number and who created the record. The problem I am having is...

Mikolz by Kilo Contributor
  • 4956 Views
  • 5 replies
  • 0 helpfuls

Using JavaScript 'IN' Operator

JavaScript has a nifty operator called IN which allows you to process a query on an array of options. Example:if ( foo == "bar" || foo == "foobar" || foo == "foo" ){ //...}// can be written asif ( foo in { bar:1, foobar:1, foo:1 } ){ //...}Here are...

elemonnier by Tera Expert
  • 10193 Views
  • 1 replies
  • 7 helpfuls

Resolved! Marquee Text in Banner(Header)

Recntly, I have set the marquee tag in banner text.It's working fine.The problem is when we logout the session its redirect to login page in that,marquee tag has shown in the banner.Could you please anyone help on this?Please find the attachment for ...

Change order guide tab

On the order guide, when you are on the Choose Options screen, the only way you can tell what tabs have mandatory fields is by the small asterisk. Does anyone know of a way to add to that, say something like change the background color of the tab?

Notification upon Item Due Date expiration

We just recently went live with ServiceNow Aspen, so I'm new to this.We have a need to notify the currently active teams when the Due date for an Request Item has expired. The way we currently have it written it is based off of an update to the item....

hiekeld by Kilo Contributor
  • 1928 Views
  • 2 replies
  • 0 helpfuls

Just-in-Time Provisioning SAML

quick question is anyone doing any type of Just-in-Time Provisioning SAML to servicenow? We are looking to let some groups of end users into our system that aren't in the same domain. they have a IDP so we want to use our SP to provision service now ...

emerkle by Kilo Contributor
  • 2310 Views
  • 5 replies
  • 0 helpfuls

refresh related list only

Hi Everyone,I am trying to trigger a refresh of a related list after a cell was edited.Each list has an option called "Refresh List" (to be found in the list context menu) and this is also available for related lists. When selected it refreshes only ...

eican by Kilo Guru
  • 2406 Views
  • 2 replies
  • 0 helpfuls

Banner Text Using HTML

If you want to add HTML to your banner text (top of the screen where it generally says 'IT Service Management Suite'. Just navigate to My Company and enter HTML directly into the banner text field - you may need to add it to your form and you might w...

Show email attachments in Activity log

In an Incident I have used the envelope icon to send an email. To this email I attached a file. Is it possible to show that there is an attachment to the email in the Activity section of the Incident? And of course be able to click on the attached fi...

torwcar by Kilo Contributor
  • 2142 Views
  • 4 replies
  • 0 helpfuls

Scheduled Job to create csv file?

Hello,Is it possible to create a CSV file in a scheduled job script and either email it to someone and/or add it as an attachment to a knowledge base article? The CSV file would need to be custom built in the script. What is the best way to accomplis...

greg54 by Tera Expert
  • 2706 Views
  • 2 replies
  • 0 helpfuls

Pop-Up/Alert Window - Client Script

Looking for a script that will check if a caller's mobile number is empty on the User Table. If so an alert message should pop up? Is this easy to do? Thanks for in advance for any advice.

rachellesan by Tera Contributor
  • 5028 Views
  • 1 replies
  • 0 helpfuls