Pre-Populating Fields in the AddEditAddress Form in SalesLogix

Question: Using the following, I can open the AddEditAddress form in SalesLogix:

DialogService.SetSpecs(500, 400, “AddEditAddress”, “QAS Returned Address”);
DialogService.ShowDialog();

I would like to pre-populate a few of the fields with data and I’m wondering how I might do this?

Answer: Pass parameters to the dialog:

DialogService.

DialogParameters.Add(…..);

You
can add an object, an array, etc.  Pick the value on the dialog (quickformload) and cast it as object you are expecting:   

if(DialogService.DialogParameters.ContainsKey(“mydialogparam”))
{
string[] test = (string[])DialogService.DialogParameters[“mydialogparam”];

}

 

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!