<?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 Dynamically disable Delete option from drop-down action list on List view in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/dynamically-disable-delete-option-from-drop-down-action-list-on/m-p/2878025#M1098824</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to disable the "Delete" option of the "Actions on selected rows" dropdown in the List view when a user selects records and at least one of the records meets some predefined condition (for example: a field exists and is not empty).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot use server side code (BRs or ACLs), I need option to implement this on client side.&lt;/P&gt;
&lt;P&gt;Is it possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 16:47:46 GMT</pubDate>
    <dc:creator>Boris Weisman</dc:creator>
    <dc:date>2024-03-26T16:47:46Z</dc:date>
    <item>
      <title>Dynamically disable Delete option from drop-down action list on List view</title>
      <link>https://www.servicenow.com/community/developer-forum/dynamically-disable-delete-option-from-drop-down-action-list-on/m-p/2878025#M1098824</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to disable the "Delete" option of the "Actions on selected rows" dropdown in the List view when a user selects records and at least one of the records meets some predefined condition (for example: a field exists and is not empty).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot use server side code (BRs or ACLs), I need option to implement this on client side.&lt;/P&gt;
&lt;P&gt;Is it possible?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 16:47:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/dynamically-disable-delete-option-from-drop-down-action-list-on/m-p/2878025#M1098824</guid>
      <dc:creator>Boris Weisman</dc:creator>
      <dc:date>2024-03-26T16:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically disable Delete option from drop-down action list on List view</title>
      <link>https://www.servicenow.com/community/developer-forum/dynamically-disable-delete-option-from-drop-down-action-list-on/m-p/2878136#M1098858</link>
      <description>&lt;P&gt;You need to create a Delete UI action with the same action name as the out of box '&lt;SPAN&gt;delete_checked&lt;/SPAN&gt;' and add your condition to the Delete UI action. That would disable delete for rows which doesn't meet the criteria.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 18:24:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/dynamically-disable-delete-option-from-drop-down-action-list-on/m-p/2878136#M1098858</guid>
      <dc:creator>SanjivMeher</dc:creator>
      <dc:date>2024-03-26T18:24:29Z</dc:date>
    </item>
  </channel>
</rss>

