Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 29, 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: Seed property SLX 7.5.2
Andrew James
Posts: 51
 
Seed property SLX 7.5.2Your last visit to this thread was on 1/1/1970 12:00:00 AM
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>

 

[Reply][Quote]
Andrew James
Posts: 51
 
Re: Seed property SLX 7.5.2Your last visit to this thread was on 1/1/1970 12:00:00 AM
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 Tongue out, 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

[Reply][Quote]
Andrew James
Posts: 51
 
Re: Seed property SLX 7.5.2Your last visit to this thread was on 1/1/1970 12:00:00 AM
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);

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Seed property SLX 7.5.2Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Oct 10 10:17 AM

Looks like you got this all worked out. Binding the SeedValue is the way to go.

[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): 6/29/2025 1:45:51 PM