title: Dynamics crm opening assign window
body: <p>In a javascript function, I want to open the window that is usually opened when the user clicks on the "Assign" button in the lead form.</p>
  
  <p>In the ribbon workbench, I see that the function that is called on the click of Assign is <code>XrmCore.Commands.Assign.assignObjectLegacy</code>, in the library <code>Main_system_library.js</code>. </p>
  
  <p>Is it possible to call this function in javascript? </p>