Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 2025 
 
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!
 Web Forums - SalesLogix Web Platform & Application Architect
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Store records to multiple tables
Prathima
Posts: 32
 
Store records to multiple tablesYour last visit to this thread was on 1/1/1970 12:00:00 AM
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


[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Store records to multiple tablesYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Prathima
Posts: 32
 
Re: Store records to multiple tablesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Jul 08 1:40 AM
Thanks a lot for the information.

Prathima
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/23/2025 5:17:06 PM