Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Hide Global Option Set values Conditionally

$
0
0

Hi,

I want to hide/show Global optionset values based on condition but i am not able to do that.

i am using below code.

if (Xrm.Page.getControl("field") != null)

{

            var PickListControl = Xrm.Page.getControl("new_OPtionsetField");
                PickListControl.removeOption(798210001);
}

I have called it on OnLoad trigger but it is not working. Please suggest

Regards,

Anand


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>