Opening a Dialog window in the SalesLogix Web Client

SalesLogix offers the ability to open a “popup” dialog window in the SalesLogix web client.  There is a limit currently, only allowing one open dialog window at a time.  If you want a popup from a popup it can not be done right now.  To launch a popup dialog you can use the the DialogService.  This service allows you to identify the form to open with the SetSpecs method.  This takes the following parameters:

  • Top – Integer representing top position of the dialog
  • Left – Integer representing left side position of the dialog
  • Height – Integer of how high the dialog window will be.
  • Width – Integer representation of how wide the dialog window will be.
  • SmartPartID = “String Value of the SmartPartID as defined on the Page.
  • TitleOverride – A string that can be used to override the default tile of the smart part passed in.  This is optional.

After you set the definitions of the form you can then call the ShowDialog method to actually open the window.

Lets take a look at how this is done on the Opportunity Product tab to call the Add Opportunity Product screen:

protected void cmdAdd_ClickAction(object sender, EventArgs e)    {
  if (DialogService != null) {
DialogService.SetSpecs(200, 200, 500, 800, “AddOpportunityProduct”);

Want content like this delivered to your inbox? Sign up for our newsletter!

Kris Halsrud

Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

Submit a Comment

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