<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Is there a way to use gs.getProperty('instance_name') in the Description field of Record Producers in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/is-there-a-way-to-use-gs-getproperty-instance-name-in-the/m-p/2448524#M27906</link>
    <description>&lt;P&gt;Kia ora Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm building a record producer and want to include a link in the Description field which shows Dev in Dev environment, Test in Test environment and Prod in Prod environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can see from my testing it isn't possible to use scripts in the Description field. Does anyone know of a way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My backup plan is to add a variable at the top of the form where I can use scripts to build a url using&amp;nbsp;gs.getProperty('instance_name')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brett&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 20:34:54 GMT</pubDate>
    <dc:creator>Brett Watson</dc:creator>
    <dc:date>2023-01-19T20:34:54Z</dc:date>
    <item>
      <title>Is there a way to use gs.getProperty('instance_name') in the Description field of Record Producers</title>
      <link>https://www.servicenow.com/community/hrsd-forum/is-there-a-way-to-use-gs-getproperty-instance-name-in-the/m-p/2448524#M27906</link>
      <description>&lt;P&gt;Kia ora Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm building a record producer and want to include a link in the Description field which shows Dev in Dev environment, Test in Test environment and Prod in Prod environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can see from my testing it isn't possible to use scripts in the Description field. Does anyone know of a way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My backup plan is to add a variable at the top of the form where I can use scripts to build a url using&amp;nbsp;gs.getProperty('instance_name')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 20:34:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/is-there-a-way-to-use-gs-getproperty-instance-name-in-the/m-p/2448524#M27906</guid>
      <dc:creator>Brett Watson</dc:creator>
      <dc:date>2023-01-19T20:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use gs.getProperty('instance_name') in the Description field of Record Produce</title>
      <link>https://www.servicenow.com/community/hrsd-forum/is-there-a-way-to-use-gs-getproperty-instance-name-in-the/m-p/2448558#M27907</link>
      <description>&lt;P&gt;You should be able to do this.&amp;nbsp; I believe this will help you:&lt;BR /&gt;&lt;A title="Allow JavaScript tags in embedded HTML (instance security hardening)" href="https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/security/reference/allow-javascript-tags-in-embedded-html.html" target="_blank" rel="noopener"&gt;Allow JavaScript tags in embedded HTML (instance security hardening)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 21:15:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/is-there-a-way-to-use-gs-getproperty-instance-name-in-the/m-p/2448558#M27907</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-01-19T21:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use gs.getProperty('instance_name') in the Description field of Record Produce</title>
      <link>https://www.servicenow.com/community/hrsd-forum/is-there-a-way-to-use-gs-getproperty-instance-name-in-the/m-p/2448563#M27908</link>
      <description>&lt;P&gt;Thanks Dustin, this is exactly what I was looking for, just wasn't using the correct words, much appreciated &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 21:22:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/is-there-a-way-to-use-gs-getproperty-instance-name-in-the/m-p/2448563#M27908</guid>
      <dc:creator>Brett Watson</dc:creator>
      <dc:date>2023-01-19T21:22:20Z</dc:date>
    </item>
  </channel>
</rss>

