Comments on: Show/Hide Service Catalog Variable Help Text https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 21:42:15 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Saran https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6537 Wed, 03 May 2017 08:09:28 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6537 hai mark
can i change help text dynamically for select box?
how?

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6536 Tue, 28 Feb 2017 20:34:27 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6536 In reply to Steven.

I think that could be done with some client script DOM manipulation, but I really wouldn’t recommend it because it’s kind of a hack.

]]>
By: Steven https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6535 Tue, 28 Feb 2017 20:02:02 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6535 Is there a way to add line breaks to the More Information/Help Text? I know it doesn’t allow HTML out of the box so just curious if you know of a way to add line breaks in the text?

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6534 Thu, 05 Jan 2017 18:38:09 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6534 In reply to Thais.

You’re correct that they don’t support HTML anymore. ServiceNow removed this capability several years ago.

]]>
By: Thais https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6533 Thu, 05 Jan 2017 18:35:29 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6533 In reply to Mark Stanger.

I am facing the same issue and I am unable to use HTML: It displays the code on the text instead of skipping lines or just work. I believe the help text on record producer doesn’t take HTML format…

]]>
By: Brett https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6532 Tue, 15 Nov 2016 04:18:06 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6532 Thanks ServiceNow Guru,

Saved me plenty of hours as a novice coder!

Works a treat.

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6531 Mon, 17 Oct 2016 15:17:19 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6531 In reply to Tyson W.

Looks like the Helsinki workaround I posted before is also applicable for Geneva instances. I’ve updated the descriptions above to indicate this. Give that a try and let me know how it goes

]]>
By: Tyson W https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6530 Mon, 17 Oct 2016 14:00:53 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6530 In reply to Mark Stanger.

Hi Mark,

I was using your code (not the toggle method) to auto expand help text in Fuji using a Catalog UI Policy. This no longer works in Geneva. I saw your workaround for the toggle method, is there a workaround for the other method?

]]>
By: Mark Stanger https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6529 Mon, 19 Sep 2016 20:15:26 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6529 In reply to Nick.

All of these are catalog client scripts that run against the catalog item or record producer. I’ve confirmed that they work correctly in Helsinki so there’s likely something else going on in your instance or configuration.

]]>
By: Nick https://servicenowguru.com/client-scripts-scripting/showhide-service-catalog-variable-help-text/#comment-6528 Mon, 19 Sep 2016 19:56:43 +0000 https://servicenowguru.wpengine.com/?p=728#comment-6528 I have tried all 5 variations for toggling or expanding the help on a given variable, for Helsinki Patch 2. So far no dice. Anything else I need to know? Is this JS code on the Script tab of a Record Producer? A Client Script record on the producer?

]]>