Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Monday, August 18, 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/18/2025 10:28:15 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: Determine if activity was generated from Opportunity Detail
Steve Knowles
Posts: 657
Determine if activity was generated from Opportunity Detail
Posted: 16 Jan 08 8:49 AM
SLX 7.0.1
When scheduling an activity or creating a note, I would like to know if it was generated from the Opp detail screen - whether initated from the toolbar, right click on activities tab etc.. Is it possible to tell where the activity was generated from on the Activity Detail view? Or possible to create a global variable to indicate where the activity/note was generated from? I want to filter the contact lookup based on Opportunity Contacts, but only if the activity was generated with Opp Detail view as the active view.
Thanks
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: Determine if activity was generated from Opportunity Detail
Posted: 16 Jan 08 4:42 PM
I don't know that a GV will work properly here.
If you set it on opening opp detail and create the activity - OK.
But if you open opp detail, navigate back to an account (without closing opp detail) and then create an activity, the GV will still be in force and you would wrongly apply the filter. Correclty setting and unsetting the GV would become a logic nightmare.
I imagine you've checked out all of the Activity object attributes to see whether there's anything there that can help you?
P
[
Reply
][
Quote
]
Matt Dockins
Posts: 159
Re: Determine if activity was generated from Opportunity Detail
Posted: 17 Jan 08 12:43 AM
Steve you can determine where you are (which form is active) by using the following:
Application.MainViews.ActiveView.BaseTable
This will be "ACCOUNT" for account, "OPPORTUNITY" for opportunities, and so on.
It will change based on the ACTIVE view, regardless of how many you have open.
[
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/18/2025 10:57:25 AM