Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: Calculated URLs fail on Citrix
Michael Rogers
Posts: 70
 
Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Feb 08 12:02 PM
SLX v6.2.3 and test v7.2.1 both behaiving the same way: static urls launch fine (www.saleslogix.com) but ones that are calculated (Mapquest button next to address) fail. all failing URLs are prepended with "http://%22%20", but even if you strip that off the remaining URL is invalid.
Anyone else seen this?

Michael
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Feb 08 4:43 PM
Seen it on 7.2 but not yet resolved it. Couldn't reproduce it on my PC, which is not running Citrix ... maybe that's why

Phil
[Reply][Quote]
LaNae Christenson
Posts: 23
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Feb 08 7:54 AM
Yes, this is a problem with Citrix directly. There is a patch/workaround you will need to get from Citrix. The URL will work if you remove the pre-pended extra characters AND put the colon back in the right place (i.e., http: ) within the "real" URL string.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Feb 08 8:57 AM
I've seen that happen on many occasions and it all comes down to the Application.BasicFunctions.WebOpen method. What I've done to fix this in the past is change the call for WebOpen to use a standard VBScript Run instead.

Add the following code (from http://saleslogixblog.com/rfarley/archive/2004/02/10/331.aspx):

Sub OpenUrl(ByVal url)
Dim shell

Set shell = CreateObject("WScript.Shell")
shell.Run url, 1, false
Set shell = Nothing
End Sub


Now, locate the line that makes a call to Application.BasicFunctions.WebOpen and change it to pass the URL to the OpenUrl method instead. All should work fine at that point.

-Ryan
[Reply][Quote]
Michael Litman
Posts: 94
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Feb 08 9:25 AM
Our crack Citrix guy's found this regestry key that was adding the offending "%22%20" he deleted this key from the Citrix box OS and issue resolved .

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\SFTA]
"DisableServerFTA"=dword:00000001

Hope this helps it sure did for us. ML
[Reply][Quote]
Michael Rogers
Posts: 70
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Feb 08 9:32 AM
Ryan, thanks for the response. I'm afraid that didn't fix the issue though:
http://%22%20http//netracker.gulfaero.com/cgi-bin/NetTracker/mygulfstream/ntcgi.cgi?base=drilldown&category=Full&type=visit&framed=2&visitor_0=james

I'll try the registry patch documented above and let everyone know the result

Michael
[Reply][Quote]
Michael Rogers
Posts: 70
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Feb 08 8:15 AM
I discovered today that the issue appears to be with IE 6.0 and Win Server 2003: I get the same behaviour when I terminal service into the machine and log into SalesLogix. Any new ideas based on this observation?
[Reply][Quote]
Michael Rogers
Posts: 70
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Feb 08 9:33 AM
Ryan,

Please forgive me:I must not have been testing the change with your code. I just tried it again and it worked like a charm.

Thank you once again for your help!

Michael
[Reply][Quote]
Egal
Posts: 2
 
Re: Calculated URLs fail on CitrixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jan 09 2:02 PM
Would anyone be able to post their code? I am having troubles passing the additional fields. I also switched using mapquest to google for my application.
When using Application.BasicFunctions.WebOpen(strURL) everything works execpt the appended citrix data. If I use OpenURL(strURL) it only passes http://maps.google.com/maps?q=

Thank you in advance.


Sub CallMapQuest(ContactID, Description)
Const adrAddress = 1
Const adrCity = 2
Const adrState = 3
Const adrPostalCode = 4
Const adrCountry = 5
Const adrMax = 5

Dim strFields, strWhere
Dim strAddress()
Dim strNameValue(5)
Dim strURL
Dim i

If ErrorCheck (Application.Translator.Localize("Error accessing address caption:")) > 0 Then Exit Sub

strNameValue(adrAddress) = ""
strNameValue(adrCity) = ""
strNameValue(adrState) = ""
strNameValue(adrPostalCode) = ""
strNameValue(adrCountry) = ""

strURL = "http://maps.google.com/maps?q="

strFields = "A1.ADDRESS1, A1.CITY, A1.STATE, A1.POSTALCODE, A1.COUNTRY"
strWhere = "A1.ENTITYID = '" & ContactID & "' AND DESCRIPTION "

If Description = "" Then
strWhere = strWhere & "IS NULL"
Else
strWhere = strWhere & " = '" & Description & "'"
End If

If GetFields(strFields, "ADDRESS A1", strWhere, strAddress) Then
For i = 1 To adrMax
strURL = strURL & " " & strNameValue(i) & strAddress(i)
Next
Application.BasicFunctions.WebOpen(strURL) 'WORKS BUT APPENDS DATA IN CITRIX
OpenURL(strURL) 'DOES NOT WORK ONLY PASSES http://maps.google.com/maps?q=
ErrorCheck Application.Translator.Localize("Error opening web browser:")
End If
End Sub


Sub OpenUrl(ByVal url)
Dim shell
Set shell = CreateObject("WScript.Shell")
shell.Run url, 1, false
Set shell = Nothing
End Sub
[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 © 2024 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): 11/26/2024 1:57:19 PM