Dynamically show/hide characteristic (option)

bmedic
Tera Contributor

Hi all,

I am looking at the options to dynamically show/hide characteristic and/or characteristic options based on the other characteristic values chosen.

Imagine scenario:

I am selling mobile phones, Mobile phone 1 and Mobile phone 2

In the runtime (configurator), when the Mobile phone 1 option is selected,  256GB, 512GB, and 1TB storage options are available. But if I choose Mobile phone 2, only 512GB and 1TB storage options should be available.

The idea is that characteristic option values are dynamically filtered based on the previous selection.

Or even hide the entire characteristic from the configurator form (based on the previous selection).

 

Is that possible in any way?

Thanks in advance.

1 ACCEPTED SOLUTION
9 REPLIES 9

Hi @SrdanMatijevic ,

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.

 

thanks in advance.

RanjaniR
ServiceNow Employee
ServiceNow Employee

Hi @Ajith Sasi 

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. 

Thanks @Satoshi Abe ,

Now I am able to change the option dynamically

RanjaniR
ServiceNow Employee
ServiceNow Employee

@bmedic 

As @SrdanMatijevic  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 documentation