Login / Register  search  syndication

          Kris Halsrud's Blog

Kris Halsrud on development and Integration with CRM and Development

How to make the SalesLogix web insert Contact/Account screen work like the LAN version for Account fields being editable

In the SalesLogix web client the insert Account Contact screen behaves differently than the LAN version in that you can modify the Account level fields when you select an existing Account to use.  I was recently asked how to make it work like the LAN client so that the Account fields are not editable.

 

When I looked at the form (which is a custom Contact smart part called InsertContact.aspx) I noticed that on the Account lookup control there is code in there to do this, however it does not appear to work correctly.  In the code you can see it has something like this:

if ((account != null) && (contact != null))
    {
        txtContactAccountName.Enabled = false;
        adrAccountAddress.Enabled = false;
        phnAccountMainPhone.Enabled = false;
        phnAccountFax.Enabled = false;
        pklAccountType.Enabled = false;
        pklAccountSubType.Enabled = false;
        pklAccountStatus.Enabled = false;
        pklAccountIndustry.Enabled = false;
        txtAccountBusinessDescription.Enabled = false;
        usrAccountManager.Enabled = false;
        ownAccountOwner.Enabled = false;

 

 

I found that by changing it to read like this instead, it worked:

 

if ((account != null) && (contact != null))
{   
    txtContactAccountName.ReadOnly = true;
    adrAccountAddress.ReadOnly = true;
    phnAccountMainPhone.ReadOnly = true;
    phnAccountFax.ReadOnly = true;
    pklAccountType.ReadOnly = true;
    pklAccountSubType.ReadOnly = true;
    pklAccountStatus.ReadOnly = true;
    pklAccountIndustry.ReadOnly = true;
    txtAccountBusinessDescription.ReadOnly = true;
    usrAccountManager.ReadOnly = true;
    ownAccountOwner.ReadOnly = true;

Go figure.  I guess the enable property is not quite functional.

What's This?
Bookmark and Share

About Kris Halsrud

   Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.


Related Content
   Launching a report from a button in the SalesLogix web client
Starting in SalesLogix 7.5.1, Sage released an undocumented Reporting enhancement that allowed for intera
Posted on Mar 12, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
   Hiding Opportunities in the SalesLogix web client
Occasionally we have clients who do not use the Opportunity components of the SalesLogix web client. 
Posted on Mar 10, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
   Searching for Matching Records in the SalesLogix Web Client
In this short video the user will learn how to search for matching records while adding new records to th
Posted on Mar 10, 2010 by Dale Richter to Tech Talk
 
   Opening Several Records in the SalesLogix Web Client
This webinar will show the user how to open several records at one time. Often you would like to be able
Posted on Mar 10, 2010 by Dale Richter to SalesLogix Training
 
   Creating Ad-Hoc Groups in the SalesLogix Web Client
This webinar will show the user how to create Ad-Hoc Groups in the SalesLogix Web Client. This specific f
Posted on Mar 10, 2010 by Dale Richter to SalesLogix Training
 
Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2010 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register