<?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 Mandatory option removal from Area field on Incident form in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/mandatory-option-removal-from-area-field-on-incident-form/m-p/2603893#M1012795</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to remove madatory from "Area" field on Incident form view. how can I do that in most simple way .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RSSG_0-1688399141870.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/271237i1E78BB0FF3D67442/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RSSG_0-1688399141870.png" alt="RSSG_0-1688399141870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2023 15:46:08 GMT</pubDate>
    <dc:creator>RSSG</dc:creator>
    <dc:date>2023-07-03T15:46:08Z</dc:date>
    <item>
      <title>Mandatory option removal from Area field on Incident form</title>
      <link>https://www.servicenow.com/community/developer-forum/mandatory-option-removal-from-area-field-on-incident-form/m-p/2603893#M1012795</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to remove madatory from "Area" field on Incident form view. how can I do that in most simple way .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RSSG_0-1688399141870.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/271237i1E78BB0FF3D67442/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RSSG_0-1688399141870.png" alt="RSSG_0-1688399141870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 15:46:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/mandatory-option-removal-from-area-field-on-incident-form/m-p/2603893#M1012795</guid>
      <dc:creator>RSSG</dc:creator>
      <dc:date>2023-07-03T15:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory option removal from Area field on Incident form</title>
      <link>https://www.servicenow.com/community/developer-forum/mandatory-option-removal-from-area-field-on-incident-form/m-p/2603903#M1012800</link>
      <description>&lt;P&gt;Depends. Mandatory might be set on the field level. You can check the dictionary to see if "Mandatory" is checked for your field and uncheck to make it optional.&lt;BR /&gt;&lt;BR /&gt;If Mandatory is not checked in dictionary level for your field, then it's probably set through a client script or a UI policy. You need to check those to make the field optional.&lt;BR /&gt;&lt;BR /&gt;UI policies for incidents are in "sys_ui_policy" table. You can search for any where table is incident OR table is task and inherit is true.&lt;BR /&gt;Each UI policy has UI Policy actions that help set the field mandatory, visible or read only. You're looking for any that are setting the Area as mandatory.&lt;BR /&gt;&lt;BR /&gt;Client scripts are found in "sys_script_client" table.&lt;BR /&gt;You're looking for ones in incident table OR task table and inherited true.&lt;BR /&gt;On client scripts "g_form.setMandatory()" is used to set fields mandatory.&lt;BR /&gt;You're looking "g_form.setMandatory("your_field", true):&lt;BR /&gt;You can set it to "g_form.setMandatory("your_field", false) to set it optional. You can also completely delete the line and see if that's enough to make it optional. There might be multiple scripts and UI policies working in a complex way to set fields visible, read only and mandatory depending on multiple different selections.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 15:59:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/mandatory-option-removal-from-area-field-on-incident-form/m-p/2603903#M1012800</guid>
      <dc:creator>Weird</dc:creator>
      <dc:date>2023-07-03T15:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mandatory option removal from Area field on Incident form</title>
      <link>https://www.servicenow.com/community/developer-forum/mandatory-option-removal-from-area-field-on-incident-form/m-p/2604058#M1012863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/520828"&gt;@RSSG&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really depends on where the rule for making the field "read only" lies. try to do a "incident.config" in the application navigator, and go through the different settings on the incident application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 21:37:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/mandatory-option-removal-from-area-field-on-incident-form/m-p/2604058#M1012863</guid>
      <dc:creator>AndersBGS</dc:creator>
      <dc:date>2023-07-03T21:37:17Z</dc:date>
    </item>
  </channel>
</rss>

