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.
|
|
|
|
Store records to multiple tables
Posted: 10 Jul 08 12:29 AM
|
Hi,
In quickforms, to save the values to the DB, we bind the control to the property.It will generate the following code. BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Account.Address.Phone", phnAccountMainPhone, "Text"));
I want to save the same control value to another table.
I tried adding the below code in InsertContact form,it is working fine.Phone number is inserted in both the Account and address table. BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Account.MainPhone", phnAccountMainPhone, "Text"));
I want to do the same in AccountDetail and ContactDetail. I tried to edit the source code from VS and added the above code in Accountdetails.It is working fine.But when i move the code to AA and do Cntrl + build, this code will not be there. How can do it..?
Thanks, Prathima
|
|
|
|
Re: Store records to multiple tables
Posted: 10 Jul 08 6:45 PM
|
Why not just build this in as a business rule and call when needed? A far better way to go IMO.
BTW, as soon as you edit a quickform, as an ascx, you can no longer add it back into AA and still use it as the quickform. They are disconnected at that point. You'd have to add it in as a custom SmartPart in the support files of the portal and then drop the existing quickform from the page and add your custom one in it's place. This also means that any edits to it would have to be done externally as well. |
|
|
| |
|
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!
|
|
|
|
|
|
|
|