Skip to main content

how to get all the items/options from an Option Set field? CRM 2011 and it length


//Get All Options
Xrm.Page.getAttribute("attributename").getOptions();

Get Count of All Options
Xrm.Page.getAttribute("attributename").getOptions().length;

Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment