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.
In the ribbon workbench, I see that the function that is called on the click of Assign is XrmCore.Commands.Assign.assignObjectLegacy, in the library Main_system_library.js.
Is it possible to call this function in javascript?