<?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 show/hide characteristic (option) in Sales CRM forum</title>
    <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101327#M99</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am looking at the options to dynamically show/hide characteristic and/or characteristic options based on the other characteristic values chosen.&lt;/P&gt;&lt;P&gt;Imagine scenario:&lt;/P&gt;&lt;P&gt;I am selling mobile phones, &lt;STRONG&gt;Mobile phone 1&lt;/STRONG&gt; and &lt;STRONG&gt;Mobile phone 2&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the runtime (configurator), when the&amp;nbsp;&lt;STRONG&gt;Mobile phone 1&lt;/STRONG&gt;&amp;nbsp;option is selected,&amp;nbsp; 256GB, 512GB, and 1TB storage options are available. But if I choose &lt;STRONG&gt;Mobile phone 2&lt;/STRONG&gt;, only 512GB and 1TB storage options should be available.&lt;/P&gt;&lt;P&gt;The idea is that characteristic option values are dynamically filtered based on the previous selection.&lt;/P&gt;&lt;P&gt;Or even hide the entire characteristic from the configurator form (based on the previous selection).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible in any way?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2024 10:25:44 GMT</pubDate>
    <dc:creator>bmedic</dc:creator>
    <dc:date>2024-11-11T10:25:44Z</dc:date>
    <item>
      <title>Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101327#M99</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am looking at the options to dynamically show/hide characteristic and/or characteristic options based on the other characteristic values chosen.&lt;/P&gt;&lt;P&gt;Imagine scenario:&lt;/P&gt;&lt;P&gt;I am selling mobile phones, &lt;STRONG&gt;Mobile phone 1&lt;/STRONG&gt; and &lt;STRONG&gt;Mobile phone 2&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the runtime (configurator), when the&amp;nbsp;&lt;STRONG&gt;Mobile phone 1&lt;/STRONG&gt;&amp;nbsp;option is selected,&amp;nbsp; 256GB, 512GB, and 1TB storage options are available. But if I choose &lt;STRONG&gt;Mobile phone 2&lt;/STRONG&gt;, only 512GB and 1TB storage options should be available.&lt;/P&gt;&lt;P&gt;The idea is that characteristic option values are dynamically filtered based on the previous selection.&lt;/P&gt;&lt;P&gt;Or even hide the entire characteristic from the configurator form (based on the previous selection).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible in any way?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 10:25:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101327#M99</guid>
      <dc:creator>bmedic</dc:creator>
      <dc:date>2024-11-11T10:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101373#M101</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;If you are talking about catalog items, you can use an onchange client script with the g_form.removeoption() or g_form.addoption() operator based on specific if statements.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.servicenow.com/docs/bundle/utah-api-reference/page/app-store/dev_portal/API_reference/GlideForm/concept/c_GlideFormAPI.html" target="_blank"&gt;GlideForm - Client&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Collin&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 11:07:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101373#M101</guid>
      <dc:creator>Collin Romeijn</dc:creator>
      <dc:date>2024-11-11T11:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101376#M102</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/512050"&gt;@bmedic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use extension point to show dynamic filter characteristic.You need to create extension point including script for your business logic.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.servicenow.com/bundle/xanadu-order-management/page/product/tmt-order-mgt/concept/som-open-state-management-model.html" target="_blank"&gt;https://docs.servicenow.com/bundle/xanadu-order-management/page/product/tmt-order-mgt/concept/som-open-state-management-model.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way to use extension point is explained in Nowlearning as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-course&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Introduction - SOM Implementation Bootcamp On Demand&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 11:11:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101376#M102</guid>
      <dc:creator>Satoshi Abe</dc:creator>
      <dc:date>2024-11-11T11:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101400#M103</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hey&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/512050"&gt;@bmedic&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Below is an onChange client script that adds and removes options based on the phone selection.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function onChange(control, oldValue, newValue, isLoading) {
    if (isLoading || newValue == '') {
        return;
    }

    var phoneModel = g_form.getValue('phone'); // replace 'phone' with your actual field name

    // Define available storage options based on the selected phone model
    var storageOptions = {
        'Mobile phone 1': ['256GB', '512GB', '1TB'],
        'Mobile phone 2': ['512GB', '1TB']
    };

    // Get the field name for storage options
    var storageField = 'storage_type'; // replace 'storage_type' with your actual field name

    // Clear the current options
    g_form.clearOptions(storageField);

    // Add the "None" option first
    g_form.addOption('storage_type', '', '-- None --');
    // Add options for the selected phone model
    if (storageOptions[phoneModel]) {
        storageOptions[phoneModel].forEach(function(option) {
            g_form.addOption(storageField, option, option);
        });
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please mark this as "&lt;EM&gt;&lt;STRONG&gt;correct&lt;/STRONG&gt;&lt;/EM&gt;" and "&lt;EM&gt;&lt;STRONG&gt;helpful&lt;/STRONG&gt;&lt;/EM&gt;" if you feel this answer helped you in anyway.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Thanks and Regards,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Ashish&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 11:36:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101400#M103</guid>
      <dc:creator>Ashish Parab</dc:creator>
      <dc:date>2024-11-11T11:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101459#M104</link>
      <description>&lt;P&gt;I think you will need this,&amp;nbsp;&lt;A href="https://www.servicenow.com/docs/csh?topicname=som-open-state-management-model.html&amp;amp;version=latest" target="_self"&gt;product configurator&amp;nbsp;&lt;SPAN&gt;Open State Management API framework.&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 12:49:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3101459#M104</guid>
      <dc:creator>SrdanMatijevic</dc:creator>
      <dc:date>2024-11-11T12:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3103018#M109</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/512050"&gt;@bmedic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/537230"&gt;@SrdanMatijevic&lt;/a&gt;&amp;nbsp; has suggested, you can leverage Open State Model to solve this use case. We will be publishing a white paper on the same in the next few weeks as well. Till then please use this &lt;A href="https://www.servicenow.com/docs/bundle/xanadu-order-management/page/product/tmt-order-mgt/concept/som-open-state-management-model.html" target="_self"&gt;documentation&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 04:05:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3103018#M109</guid>
      <dc:creator>RanjaniR</dc:creator>
      <dc:date>2024-11-13T04:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3176488#M213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/537230"&gt;@SrdanMatijevic&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have similar requirement where I need to decide whether Business Computer spec and offering are needed to be displayed or not based characteristic residential/business option is it is residential I need to Hide the Business computer. Please share from where and how I can configure open state management api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 05:49:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3176488#M213</guid>
      <dc:creator>Ajith Sasi</dc:creator>
      <dc:date>2025-02-13T05:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3177093#M215</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/800778"&gt;@Ajith Sasi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend to see a NowLearning course and a document for Open State Model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now Learning&lt;/P&gt;&lt;P&gt;&lt;A href="https://learning.servicenow.com/lxp/en/pages/learning-course?id=learning_course&amp;amp;course_id=599b2e2b939192102fac74096cba1093&amp;amp;group_id=25b726c647865690ca332a81736d433d&amp;amp;child_id=81da647e47469e90ca332a81736d438c&amp;amp;spa=1" target="_blank"&gt;https://learning.servicenow.com/lxp/en/pages/learning-course?id=learning_course&amp;amp;course_id=599b2e2b939192102fac74096cba1093&amp;amp;group_id=25b726c647865690ca332a81736d433d&amp;amp;child_id=81da647e47469e90ca332a81736d438c&amp;amp;spa=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Document&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/docs/bundle/yokohama-order-management/page/product/tmt-order-mgt/concept/som-open-state-management-model.html" target="_blank"&gt;https://www.servicenow.com/docs/bundle/yokohama-order-management/page/product/tmt-order-mgt/concept/som-open-state-management-model.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 14:05:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3177093#M215</guid>
      <dc:creator>Satoshi Abe</dc:creator>
      <dc:date>2025-02-13T14:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3177412#M217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/800778"&gt;@Ajith Sasi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can meet this use case using Open State extension APIs. We have a Declarative Rules Engine on our roadmap which can also solve for these kind of use cases without the need for scripting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 18:33:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3177412#M217</guid>
      <dc:creator>RanjaniR</dc:creator>
      <dc:date>2025-02-13T18:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically show/hide characteristic (option)</title>
      <link>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3187756#M223</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/624462"&gt;@Satoshi Abe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Now I am able to change the option dynamically&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 10:28:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sales-crm-forum/dynamically-show-hide-characteristic-option/m-p/3187756#M223</guid>
      <dc:creator>Ajith Sasi</dc:creator>
      <dc:date>2025-02-25T10:28:15Z</dc:date>
    </item>
  </channel>
</rss>

