back to top

Adding “Save” functionality to the SalesLogix 7.5 Web Client Edit Address view

During a recent SalesLogix customization, we realized that editing an account address does not cause the unsaved data prompt to be displayed.  If someone were to modify an account address and neglected to save, changes would be lost without the user being the wiser.  Initially, we just added a Save business rule to the OnChangeAction of the Address control, but this wouldn’t account for any related contact records that would also need to have their addresses updated.


Since the edit address functionality contains both on “OK” and “Cancel” button, we reasoned that it would make sense to have OK comit the change to the database, bypassing the unsaved data prompt all together.  To do this, I basically duplicated the functionailty present on the “Save” button on Account Detail onto the OnChangeAction event of the Address control visible on the AccountDetails form.  This forces a user to explicitly comit or discard any account address changes, as well as allowing functionality to update related contacts.


The type of Action Item we need to add is a Validation Business Rule.  The Validation Business Rule will evaluate any contacts for the account, checking to see if any of those contacts are configured with the same address as the account.  If so, the user needs to be presented with a prompt asking if related contacts’ addresses should be updated as well.  This is done using the UpdateAccountOptions smartpart.  


When you edit the OnChangeAction of the address control on the form, you are presented with the Action item designer:



After selecting ValidationBusinessRule in the list, you need to configure the OnFail and OnSuccess events of that action item.  The OnFail event fires if there are no related contacts with the same address. Simply set the EntityType to Account, and the select the Save business rule.  The modified Address record is saved for the Account record.


The OnSuccess event contains parameters for the user prompt displayed if updatable contacts are found.  If so, the user is asked if they want to update contacts as well. 


The For the OnSuccess event,  Set the EntityType to Account, and add a new Dialog action:


 


EntityType should again be account.  UpdateAccountOptions may not be available on the dropdown list of SmartParts, but typing in the value “UpdateAccountOptions” will work as well.  Click OK to close the Dialog Action, which will fill in the smartpart value for the Validation Business Rule.


You can tweak the height and width properties in the Validation Business Rule to adjust the size of the prompt.  Finally, the ValidationMethod should be set to “HasPropagationChanges”.


That’s all there is to it!  Re-build the SalesLogix web platform and re–deploy, and you should never have to worry about losing account address changes again.


 


Thanks!


 


 

Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Jason Buss
Jason Buss
Jason is a senior application developer with Customer FX.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Infor CRM SLX 10.0: Delegate Ownership Changes for “Everyone” Records

Learn how the new EveryoneOwnerAssignment secured action in Infor CRM SLX 10.0 allows designated users to change ownership of Everyone-owned records without requiring Administrator access.

Related Articles

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Related Videos