Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Friday, August 29, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
8/29/2025 7:30:28 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!
Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Scripting & Customization
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Changing Details View Form Dynamically
Chris Davis
Posts: 3
Changing Details View Form Dynamically
Posted: 18 Jun 09 4:23 PM
Aiming to find some help on this matter after many failed attempts and ideas. Recently we've developed differing styles of opportunities for different product groups, so if the product type is A then we display 20 specific fields, if the product is B we display these other 15 fields. Using panels and layering/setting visibility has worked so far but the different views turned out so wildly popular we're starting to have trouble (bouth in finding forms and the quantity of SQL traffic). We came up with 2 potential solutions, first would be hijacking the middle panel and swapping the form displayed on there while keeping common fields in the Opps Details form, second would be swapping the DetailsView form before it's opened to a specific form. The second option would be the best, but if either is possible and anybody knows a way to go about doing this it would be greatly appreciated if you could pass me some advice.
I've been desperately trying to get at and change via script the "ViewName" property of the DetailsView control on the Opportunity Details main view with absolutely no success.
-----
Some failed attempts under Opportunity Details Main View Form Open event (and many other combinations of the three
):
-Sender.DetailsView.ViewName("Personal:AdminOppManagement")
-View.DetailsView.PluginName = "Personal:AdminOppManagement"
-Sender.DetailsView.PluginID("p6UJ9A001B28")
Is it even possible to change this value?
[
Reply
][
Quote
]
RJ Samp
Posts: 973
Re: Changing Details View Form Dynamically
Posted: 19 Jun 09 10:04 AM
I have no idea how to swap out a Main Detail Form from the Forms collection/MainView collection at run time. Wouldn't even attempt to do it.
15 different 'views': use a Tab Control. Put each group of controls in their own panel. Place the panel in a different tab control. AXFORMCHANGE set the ActiveIndex to the corresponding Product Group. possibly you could use the Product Group Picklist Order/ID value as the tab control index number.....
[
Reply
][
Quote
]
Chris Davis
Posts: 3
Re: Changing Details View Form Dynamically
Posted: 19 Jun 09 10:59 AM
This was an option we looked at, it cleans up the layout of controls very well in architect but still leaves us with a tangled 3600 line script and runs enough SQL make any developer cringe.
Finding a way to split that all up is what we desperately need, pop-ups and forms for under the tabs panel of the view didn't garnish much appreciation from my user base.
[
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
|
page cache (param): 8/29/2025 8:18:40 AM