Posts

Email send Via Workflow/ Plugin in d365

  public class SendEmailList         {             public string ResourceName { get; set; }             public string RACFName { get; set; }             public string WONumber { get; set; }             public DateTime? StartDate { get; set; }             public DateTime? EndDate { get; set; }             public string EmailId { get; set; }             public string CreatedBy { get; set; }             public string UserName { get; set; }             pub...

How check app access checker user role details in d365

Image
  Search user :

How to set multiple lookup value by JavaScript d365

                        var lookupValue = new Array();                 if (result.entities[0] != undefined) {                     lookupValue[0] = new Object();                     lookupValue[0].id = result.entities[0].contactid;                     lookupValue[0].name = result.entities[0].fullname;                     lookupValue[0].entityType = "contact" ;                 } ...

Create Ribbon on subgrid and selected record on show button

Image
 1.  create button. 2. Add command. 3. Add enable rule Hide Rule function updateStatus(selectedrecord, formContext, commandProperties) {        debugger ;        //alert("Called Javascript");        if (commandProperties.SourceControlId.includes( "EOL.Button" )) {               update(selectedrecord, "EOL" )        }        else if (commandProperties.SourceControlId.includes( "Respite.Button" )) {               update(selectedrecord, "Respite" )        }        else if (commandProperties.SourceControlId.includes( "NotResident.Button" )) {               update(selectedrecord...

Create a FLYOUT Ribbon button and click event menu d365

Image
 1. First add(drag and drop) the FLYOUT on form or subgrid or home 2. Add the(drag and drop)   Menu selection on list  3. Add(drag and drop) the button in   Menu selection  4. Hide ribbon button on custom condition. -> Set Enable rule  call javascript custom rule Add the java script hideshow: function HideCopyProxybutton(formContext) {        debugger ;        var surveytype = formContext.getAttribute( "ecl_surveytype" ).getValue();        if (surveytype == 806460000) {               return true ;        } else {               return false ;        } } 5. Add command On button click menu selection event  function copyProxy(formContext, commandProp...