8/23/2025 1:29:24 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.
|
|
|
|
Refreshing
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...!!
|
|
|
|
Re: Refreshing
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.
|
|
|
|
Re: Refreshing
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.
|
|
|
|
Re: Refreshing
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.... |
|
|
|
Re: Refreshing
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) |
|
|
|
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!
|
|
|
|
|
|
|
|