Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 23, 2025 
 
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 ThreadView:  Search:  
 Author  Thread: Refreshing
Gaurang
Posts: 34
 
RefreshingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Apr 08 9:12 AM


According to our Customization after inserting a new Ticket ,
on OK Button Click event we are opening Ticket list view.
Following is the statement we are using to open list view.


Application.BasicFunctions.DoInvoke "Function", "View:Tickets



Now when Control goes to Ticket list view there are Some Customized Group
but the Ticket which is inserted doesn’t get reflect in the list view.
I tried to refresh Current page using following statement

Application.BasicFunctions.DoInvoke "Function", "View:RefreshCurrent"

but still its not working it works only after refreshing whole Application using

Application.BasicFunctions.DoInvoke "Function", "View:Refresh”

Please help...!!


[Reply][Quote]
satz
Posts: 75
 
Re: RefreshingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Apr 08 6:04 AM
Actually when you use the Ok Button with the property ,kind to 'bkCustom' and Modal Result to 'mrOK'..,
At the click event the button itself posts and refresh the current view...


hope this would help you.
thanks.


[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: RefreshingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Apr 08 6:46 PM
Change the following statement from this:

Application.BasicFunctions.DoInvoke "Function", "View:Tickets

to this:

Application.MainViews.AddEx "System:Ticket Details", 1, True, 1, strTicketID, "" 'DNL

where strTicketID is the SLXID of the ticket you want to navigate to.
[Reply][Quote]
Gaurang
Posts: 34
 
Re: RefreshingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Apr 08 11:51 PM
Thx Matt.....

I tried this statement and what is happening it brings me to Ticket Detail but into "Lookup Result" Tab not into the Group which
was open before inserting Ticket...!!

Is ther any way that I can get into that perticuler group
or get ID of the group and come to that perticuler group Which was Open previously....!!

Thx....
[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: RefreshingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Apr 08 9:56 AM
There is a way, but you may have to code it or alter your grid to suit its requirements, it's a function called OpenMainViewFromGridCrntID in SLX_Common.

The key component of that function is the following:
Application.MainViews.ActiveView.ShowIDsAsLookupResult strIDList, strCrntID 'strIDList is the list of recordids to include in the group, strCrntID is where the cursor is placed in the recordset (which one will be the selected record)
[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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/23/2025 2:29:58 PM