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: Unable to Save or Display data using Address Control...
Rocky Balboa
Posts: 7
 
Unable to Save or Display data using Address Control...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jun 08 4:33 AM
I have an Address Control mapped to the corresponding Enitity. The problem is im unable to save the data. As soon as i press save, the data dissapers from the address control and the change is not reflected in the DB.
[Reply][Quote]
Christopher
Posts: 8
 
Re: Unable to Save or Display data using Address Control...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 08 2:30 AM
hi Rocky...
Hope tat u being the fan of Rocky....
k..Leave tat stuff and all...
I think u didnt bind the address control well...
or it may be a problem in ur relation u defined....
[Reply][Quote]
Rocky Balboa
Posts: 7
 
Re: Unable to Save or Display data using Address Control...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jun 08 3:23 AM
Hey Christopher,
Yeah...im a big fan of Rocky...wonder how u figured that out!!
I think the address control is bound to all the necessary fields...
I somehow feel it has something to do with relationship between the entities.
Anyways...can you kindly show me a full example of how to create a proper working address control?

Rocky
[Reply][Quote]
Charles
Posts: 11
 
Re: Unable to Save or Display data using Address Control...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Jun 08 5:47 AM
it is the example code for binding the address control.please check all the fields are bind.

Check whether its working for you


BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.FullAddress", adrContactAddress, "AddressDisplay"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.Description", adrContactAddress, "AddressDescription"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.IsPrimary", adrContactAddress, "AddressIsPrimary"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.IsMailing", adrContactAddress, "AddressIsMailing"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.Address1", adrContactAddress, "AddressDesc1"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.Address2", adrContactAddress, "AddressDesc2"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.Address3", adrContactAddress, "AddressDesc3"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.City", adrContactAddress, "AddressCity"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.State", adrContactAddress, "AddressState"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.PostalCode", adrContactAddress, "AddressPostalCode"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.County", adrContactAddress, "AddressCounty"));
BindingSource.Bindings.Add(new Sage.Platform.WebPortal.Binding.WebEntityBinding("Address.Country", adrContactAddress, "AddressCountry"));
[Reply][Quote]
Rocky Balboa
Posts: 7
 
Re: Unable to Save or Display data using Address Control...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Jun 08 10:01 AM
The problem lies between the relationship of 2 Entities Client and Address. The Client Entity refers the AddressID of the corresponding row in the Address Entity. The problem is the Client Entity's AddressID is Null. Dunno how to relate these two...
[Reply][Quote]
Charles
Posts: 11
 
Re: Unable to Save or Display data using Address Control...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Jun 08 1:08 AM
Create relationship for that addressID of that corresponding entity to that parent entity.Try it
[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 2:48:08 PM