Dynamically Change Option Set Values in CRM
问题 I am using CRM Online 2013. I am trying to remove 3 values from an optionset under a certain condition. The optionset has six options by default: they are listed at the top of my JS code below. When I run my code, the correct amount of options appear; but they all say undefined. Here is what I have at the moment: var customer = 100000000; var partner = 100000001; var partnerCustomer = 100000002; var customerAndBeta = 100000003; var partnerAndBeta = 100000004; var partnerCustomerAndBeta =