2/23/2025 4:59:29 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
How to customize contactdetails form..?
Posted: 07 Jul 08 10:26 PM
|
Hi, I want to add some more functionality on save click for an inactive contact of the ContactDetails quickform. Functionality I want to add is:I have a checkBox called inactive. On save click, if the checkBox is checked, after saving it to the contact table, I want to select the associated contactCodes which is there in the ContactCode table and display those records in the Dialogservice and delete from the database.
I got the source code of the contactdetails form from the Virtual File system Explorer under [VFS/Webroot/common/SmartParts/Contact/ContactDetails]. After adding the functionality it is observed that when I do the Build and deploy my changes were retained. But if I do Cntrl + Build all my changes were overidden from VFS.
How can I add my code in ContactDetails form..?
Thanks, Prathima |
|
|
|
Re: How to customize contactdetails form..?
Posted: 08 Jul 08 6:29 AM
|
Open the form fromthe Application Architect. Just under the contact entity/forms. Then modify the save button to not just execute the save rule instead write a c# snippet call the save method and do what you want to do after it. If you have no user interaction and you just want to delete records, do this in a business rule and execute the rule on the "onAfterUpdate" event of the entity. |
|
|
|
Re: How to customize contactdetails form..?
Posted: 08 Jul 08 6:47 AM
|
Hi, Thanks for the reply. On save button Action click there is already a validation Business rule. It has Success and Fail condition. I want to retain this functionlaity and in either of the case I want to execute my business rule.It has a user interaction too. I need to show the records to the user in the messageBox and then delete the records from the recordset. Do I need to remove this Validation business rule and do all these on C# snippet action..?
Thanks, Prathima |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|