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

Forum Posts

How to copy a single attachment?

I'm trying to copy a single attachment. Why is my code not working?//Create copy of attachmentvar gsa = new GlideSysAttachment();var fileName = attachment.getValue('file_name');var contentType = attachment.getValue('content_type');var content = gsa.g...

Resolved! How to add more than 2 variables in a catalog item form?

Hi ServiceNow Community Developers, Do you know if there is a way to put 3 variables per row in a catalog item form? For instance when you define variables to add to a form you can have a container start where you specify "2 columns wide" on the layo...

johannes5 by Giga Expert
  • 4901 Views
  • 5 replies
  • 2 helpfuls

Change Help text based on multiple choice selection?

Hello community members, Does anyone know if there is a way to display different help text based on selections made on a multiple choice variable? I have text now, but it displays the same no matter what choice is selected.  

find_real_file.png
othomas1 by Kilo Guru
  • 3354 Views
  • 1 replies
  • 1 helpfuls

Resolved! How to add borders to an html table on a widget?

Hello everyone, I have made cloned and made changes to a widget (KB Categories) and changed it from a panel to a table and cannot get to add borders to this table.  Below is the code and image attached.  Will appreciate any assistance with this. <tab...

find_real_file.png
lrossy31 by Tera Expert
  • 4119 Views
  • 5 replies
  • 0 helpfuls

Resolved! List of recipients in notification via workflow

I think I have most of the components to have this work but i'm missing something.I have workflow triggering an event to fire an notification. The event contains a parameter script to get a list of email addresses from a list of users from a list col...

KB15 by Giga Guru
  • 3508 Views
  • 10 replies
  • 0 helpfuls

Resolved! adding widget dependency in service portal

i have added the widget dependency for creating a Bar chart , but i am unable to get the output Below i have mentioned the screen shots  HTML: <div> <!-- your widget template --> Test <canvas id="bar" class="chart chart-bar" ...

find_real_file.png find_real_file.png
rick48 by Tera Contributor
  • 2731 Views
  • 9 replies
  • 1 helpfuls

Resolved! coalesce on multiple fields not working transform script

I have mentioned coalesce in two fields and it isn't consider either one in each condition Below i have mentioned the script Where the insert takes duplicate values..  (function runTransformScript(source, map, log, target /*undefined onStart*/ ) { ...

find_real_file.png
arey yaar by Giga Guru
  • 2601 Views
  • 2 replies
  • 0 helpfuls

Resolved! Choice values language translation

Hello All, I was trying to translated a choice value of a catalog item into French . However it is not working which means i am missing something . Can anyone look at the snippet below and let me know what has to be modified / Thanks in advance . Re...

find_real_file.png