11/26/2024 10:22:19 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 writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Call MainView with middleview and tabs
Posted: 07 Dec 06 4:02 PM
|
fiogf49gjkf0d I have a small form from which I look up address. When the user select the address I'd like to go to the appropriate account. So far that works, except that when I call up the account main view, all I get is the detail portion, not the middle or tab views.
Here's what I'm doing:
Application.MainViews.AddEx strPlugin, 1, True, True, strID, "" Application.MainViews.ActiveView.ShowIDsAsLookupResult strID, strID
So what should I be doing to get the whole main view? |
|
|
|
Re: Call MainView with middleview and tabs
Posted: 07 Dec 06 5:01 PM
|
fiogf49gjkf0d I would suggest the easier route of using ShowDetails
Application.BasicFunctions.ShowDetails "ACCOUNT", "MYACCOUNTID"
However, the problem is likely the name of the plugin in your strPlugin variable. Does it have the name of the MainView plugin or the details form?
-Ryan |
|
|
|
Re: Call MainView with middleview and tabs
Posted: 07 Dec 06 5:45 PM
|
fiogf49gjkf0d Thank you Ryan.
The problem was that I was calling "Account Detail" rather than "Account Details". Go figure. Although I'll take your advice and use the simpler method that you suggested. |
|
|
|
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!
|
|
|
|
|
|
|
|