6/29/2025 8:30:45 AM
|
|
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.
|
|
|
|
Seed property SLX 7.5.2
Posted: 26 Oct 10 10:13 AM
|
Hi
I am trying to restrict a lookup so it only shows contacts based on the account the opportunity belongs to. I believe this can be done by the seed property but have had no joy with this and hopefully someone can point me in the right direction.
<SalesLogix:SmartPartToolsContainer runat="server" ID="OpportunityContacts_RTools" ToolbarLocation="right"> <br /> <SalesLogix:LookupControl runat="server" ID="lueAssociateContact" ToolTip="<%$ resources: lueAssociateContact.ToolTip %>" ButtonToolTip="<%$ resources: lueAssociateContact.ButtonToolTip %>" LookupEntityName="Contact" LookupEntityTypeName="Sage.Entity.Interfaces.IContact, Sage.Entity.Interfaces, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" LookupBindingMode="String" OverrideSeedOnSearch="true" SeedProperty="Account.Id" LookupDisplayMode="ButtonOnly" AutoPostBack="true" LookupImageURL="~/ImageResource.axd?scope=global&type=Global_Images&key=plus_16x16" InitializeLookup="true" > <LookupProperties> <SalesLogix:LookupProperty PropertyHeader="<%$ resources: lueAssociateContact.LookupProperties.FullName.PropertyHeader %>" PropertyName="FullName" PropertyType="" PropertyFormat="None" UseAsResult="True" ExcludeFromFilters="False"></SalesLogix:LookupProperty> <SalesLogix:LookupProperty PropertyHeader="<%$ resources: lueAssociateContact.LookupProperties.AccountName.PropertyHeader %>" PropertyName="AccountName" PropertyType="" PropertyFormat="None" UseAsResult="True" ExcludeFromFilters="False"></SalesLogix:LookupProperty> <SalesLogix:LookupProperty PropertyHeader="<%$ resources: lueAssociateContact.LookupProperties.Address.City.PropertyHeader %>" PropertyName="Address.City" PropertyType="System.String" PropertyFormat="None" UseAsResult="True" ExcludeFromFilters="False"></SalesLogix:LookupProperty> <SalesLogix:LookupProperty PropertyHeader="<%$ resources: lueAssociateContact.LookupProperties.Address.State.PropertyHeader %>" PropertyName="Address.State" PropertyType="System.String" PropertyFormat="None" UseAsResult="True" ExcludeFromFilters="False"></SalesLogix:LookupProperty> <SalesLogix:LookupProperty PropertyHeader="<%$ resources: lueAssociateContact.LookupProperties.WorkPhone.PropertyHeader %>" PropertyName="WorkPhone" PropertyType="" PropertyFormat="Phone" UseAsResult="True" ExcludeFromFilters="False"></SalesLogix:LookupProperty> <SalesLogix:LookupProperty PropertyHeader="<%$ resources: lueAssociateContact.LookupProperties.Email.PropertyHeader %>" PropertyName="Email" PropertyType="System.String" PropertyFormat="None" UseAsResult="True" ExcludeFromFilters="False"></SalesLogix:LookupProperty> </LookupProperties> <LookupPreFilters>
</LookupPreFilters> </SalesLogix:LookupControl>
|
|
|
|
Re: Seed property SLX 7.5.2
Posted: 27 Oct 10 4:27 AM
|
I have changed the code to have the following
SeedProperty="Account.Id" SeedValue="A6UJ9A00GLKB"
This now works if I go to the right account , How do I change the seedValue so that it takes the account.id that I am currently on. I have tried MainEntity.Account.Id, Account.Id, AccountId, MainEntity.AccountId, Opportunity.Account.Id, Opportunity.AccountId and probably some others but no joy.
Thanks |
|
|
|
Re: Seed property SLX 7.5.2
Posted: 27 Oct 10 7:23 AM
|
Sorted
Sage.Platform.WebPortal.Binding.WebEntityBinding lueAssociateContactSeedValueBinding = new Sage.Platform.WebPortal.Binding.WebEntityBinding("Account.Id", lueAssociateContact, "SeedValue");<br /> lueAssociateContactSeedValueBinding.IgnoreFLSDisabling = true; BindingSource.Bindings.Add(lueAssociateContactSeedValueBinding);
|
|
|
| |
|
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!
|
|
|
|
|
|
|
|