2/23/2025 2:59:04 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.
|
|
|
|
Unable to Save or Display data using Address Control...
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. |
|
|
| |
|
Re: Unable to Save or Display data using Address Control...
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 |
|
|
|
Re: Unable to Save or Display data using Address Control...
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")); |
|
|
|
Re: Unable to Save or Display data using Address Control...
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... |
|
|
| |
|
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!
|
|
|
|
|
|
|
|