dynamics crm 2011 - clearoption for optionset in crm business process flow -


i have business process flow in 1 of steps have added option set(sub category)

enter image description here

i trying clear options in optionset using below code

xrm.page.getcontrol("new_subcategory").removeoption(100000005) xrm.page.getcontrol("new_subcategory").clearoptions() 

this removes options optionset inside form, not removing same option set in step of business process flow

you need added header_process_ id. so:

xrm.page.getcontrol("header_process_new_subcategory").removeoption(100000005) xrm.page.getcontrol("header_process_new_subcategory").clearoptions() 

sdk reference


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -