<?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 Cancel button for a specific catalog (how?) in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605492#M1013435</link>
    <description>&lt;P&gt;Looking to know how to add to my script on making sure this button only appears on a specific catalog&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;currently have the following and it works but it shows up on all catalogs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoshuaComeau_0-1688556367355.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/271570iFC89695C7CD6C8E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoshuaComeau_0-1688556367355.png" alt="JoshuaComeau_0-1688556367355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 11:26:14 GMT</pubDate>
    <dc:creator>Joshua Comeau</dc:creator>
    <dc:date>2023-07-05T11:26:14Z</dc:date>
    <item>
      <title>Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605492#M1013435</link>
      <description>&lt;P&gt;Looking to know how to add to my script on making sure this button only appears on a specific catalog&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;currently have the following and it works but it shows up on all catalogs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoshuaComeau_0-1688556367355.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/271570iFC89695C7CD6C8E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoshuaComeau_0-1688556367355.png" alt="JoshuaComeau_0-1688556367355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:26:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605492#M1013435</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T11:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605499#M1013439</link>
      <description>&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;current.sys_id == "sys_id" // mention the sys_id of specific catalog,
OR
current.name== "name" // mention the name of specific catalog,&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Write this script in Condition Field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plz mark my Solution as Accept, If you find it Helpful.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Samaksh&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:34:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605499#M1013439</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-07-05T11:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605514#M1013443</link>
      <description>&lt;P&gt;when I add it to the condition the cancel button disappears can you let me know what I am missing&amp;nbsp;&lt;/P&gt;&lt;P&gt;do I need to add it to the script as well or just the condition,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added it just to the condition but still it is missing I remove the condition and it re-appears&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:37:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605514#M1013443</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605520#M1013446</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/85785"&gt;@Joshua Comeau&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;write in the condition field the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;current.sys_id == 'the sys_id of that specific item theat you want'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:39:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605520#M1013446</guid>
      <dc:creator>MahaAgineo</dc:creator>
      <dc:date>2023-07-05T11:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605522#M1013447</link>
      <description>&lt;P&gt;Which I did and it disappears lol&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:41:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605522#M1013447</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T11:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605525#M1013449</link>
      <description>&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plz Check the Client Box, It will populate a OnClick Field where write &lt;STRONG&gt;cancelTRIM()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and remove the line 1 from script.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plz mark my Solution as Accept, If you find it Helpful.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Samaksh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:42:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605525#M1013449</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-07-05T11:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605526#M1013450</link>
      <description>&lt;P&gt;it will apear only on that specific one&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:42:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605526#M1013450</guid>
      <dc:creator>MahaAgineo</dc:creator>
      <dc:date>2023-07-05T11:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605532#M1013452</link>
      <description>&lt;P&gt;I entered the correct one but it disappears for all of them please advise&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:46:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605532#M1013452</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T11:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605536#M1013454</link>
      <description>&lt;P&gt;Plz Share the Screenshot&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:49:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605536#M1013454</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-07-05T11:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605539#M1013455</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoshuaComeau_0-1688557807659.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/271586i1E3B45162920CCA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoshuaComeau_0-1688557807659.png" alt="JoshuaComeau_0-1688557807659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:50:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605539#M1013455</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605541#M1013457</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/85785"&gt;@Joshua Comeau&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;current.getUniqueValue() == 'sys_id'&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:50:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605541#M1013457</guid>
      <dc:creator>MahaAgineo</dc:creator>
      <dc:date>2023-07-05T11:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605543#M1013459</link>
      <description>&lt;P&gt;use current.name and put name in it, Also Plz Check the Client check box and remove line 1 from script and add cancelRITM() in onclick field.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:52:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605543#M1013459</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-07-05T11:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605545#M1013461</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plz mark my Solution Accept and give thumbs up, if you find it helpful, it will help other users as well.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Samaksh.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:53:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605545#M1013461</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-07-05T11:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605549#M1013464</link>
      <description>&lt;P&gt;can you provide a screen shot of your code / script&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:55:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605549#M1013464</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T11:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605551#M1013466</link>
      <description>&lt;P&gt;this did not work it is hiding the ui action button still&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:56:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605551#M1013466</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T11:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605553#M1013468</link>
      <description>&lt;P&gt;current.name == "name"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use this&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 11:57:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605553#M1013468</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2023-07-05T11:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605557#M1013470</link>
      <description>&lt;P&gt;did not work strange&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 12:00:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605557#M1013470</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T12:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605560#M1013472</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/85785"&gt;@Joshua Comeau&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(current.sys_id == 'a83820b58f723300e7e16c7827bdeed2')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and it worked try to add '()', if not try to set order to 0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 12:03:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605560#M1013472</guid>
      <dc:creator>MahaAgineo</dc:creator>
      <dc:date>2023-07-05T12:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605562#M1013473</link>
      <description>&lt;P&gt;tried the condition as well set the order to 0 and still not working very strange&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 12:05:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605562#M1013473</guid>
      <dc:creator>Joshua Comeau</dc:creator>
      <dc:date>2023-07-05T12:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel button for a specific catalog (how?)</title>
      <link>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605563#M1013474</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/85785"&gt;@Joshua Comeau&lt;/a&gt;&amp;nbsp; I don't think it is correct to write an action name with spaces, make short and without spaces&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 12:07:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cancel-button-for-a-specific-catalog-how/m-p/2605563#M1013474</guid>
      <dc:creator>MahaAgineo</dc:creator>
      <dc:date>2023-07-05T12:07:10Z</dc:date>
    </item>
  </channel>
</rss>

