How to 'refresh' choice field via catalog client script in serviceportal?

Zod
Giga Guru

Hi,

I have a choice field in a cat alog item in the service portal. Via changes of other fields, the choices might get extended via ajax call with alternative options .... . No I need to be able to clear those choices (that are not physically in the choice list table) after a change of other fields. This need to happen via a catalog client script ... something like g_form.refreshOptions('field'); would be what I'm looking for ... 

Variable Attributes (ref_qual_elements) are no option, as the added Otpions still remain in the available choices. Also removing the options will not work, as I do not know what the options might be ... So just the "original" options should be reloaded .. 

Thanks!!

5 REPLIES 5

Hi 

No because options won't be refreshed until you add them as far as i know. So you better go with adding them which would seem as the options are refreshed.