7/6/2025 6:31:40 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.
|
|
|
|
Adding a new tab to Account details
Posted: 05 May 09 9:12 AM
|
Hi Everyone,
I am a beginner to SalesLogix and I have a problem. My requirement is that I want to add a new tab to Account Details screen. I have also created a new table "Config".
The new tab will fetch data from Account table as well as CONFIG table and other tables also like CONTACT and some other. I created the new tab in web developer and changed the inheritance of the class to EntityBoundSmartPartInfoProvider from System.Web.UI.UserControl. I create object of Config/Contact table or any other table with following LOC on the page Load event of the newly added tab:
IContact objContact = GetCurrentEntity() as IContact; txtContactname = objContact.FirstName;
When I navigate to the Account details screen, I get error "Object reference not set to instance of object". However if i write above LOCs for Account entity, they run fine.
Can anyone please help me with this? I know it may be a very silly question for all you genius out there...
TIA
Anand |
|
|
| |
|
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!
|
|
|
|
|
|
|
|