![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Struggling a little bit getting the correct syntax for a Custom Web Address so that the Web Viewer in 8.5 can pull tracking info from the UPS site. The built-in FedEx syntax included in 8.5 is obviously different than that of UPS, and the documentation in the Shipping DIY PDF provided by Filemaker is kinda short on details about UPS as well, since it uses DHL as an example. Here's the syntax that I'm using now, where 'nameofdatabase' represents the path to the appropriate layout, and 'trackingnumber' is the field that contains the tracking number info within that layout. "http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requ ester=UPSHome&tracknum=nameofdatabase::trackingnum ber&AgreeToTermsAndConditions=yes&ignore=&track.x= 25&track.y=16" What I need to end up with is the result of a completed UPS tracking query in a Web Viewer window, based on a tracking number entered in a field in the same layout. I suspect I'm leaving out a minor but important bit of syntax - can anyone point it out for me? Thanks in advance for any help anyone can provide. |
#3
| |||
| |||
|
|
You need to separate that which is text from your fields. Try: "http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requ ester=UPSHome&tracknum=" & nameofdatabase::trackingnumber & "&AgreeToTermsAndConditions=yes&ignore=&track.x=25 &track.y=16" Tim wrote: Struggling a little bit getting the correct syntax for a Custom Web Address so that the Web Viewer in 8.5 can pull tracking info from the UPS site. The built-in FedEx syntax included in 8.5 is obviously different than that of UPS, and the documentation in the Shipping DIY PDF provided by Filemaker is kinda short on details about UPS as well, since it uses DHL as an example. Here's the syntax that I'm using now, where 'nameofdatabase' represents the path to the appropriate layout, and 'trackingnumber' is the field that contains the tracking number info within that layout. "http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requ ester=UPSHome&tracknum=nameofdatabase::trackingnum ber&AgreeToTermsAndConditions=yes&ignore=&track.x= 25&track.y=16" What I need to end up with is the result of a completed UPS tracking query in a Web Viewer window, based on a tracking number entered in a field in the same layout. I suspect I'm leaving out a minor but important bit of syntax - can anyone point it out for me? Thanks in advance for any help anyone can provide. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg (818) 883-2846 FM Professional Solutions, Inc. Los Angeles FileMaker 8 Certified Developer Associate Member, FileMaker Solutions Alliance |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
You are very close, you just need to fully separate the field name from the URL, and concatenate the two. The basic form is "First part of URL" & nameofdatabase::trackingnumber & "End of URL". Here is the exact calculation I use: "http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status..." &Books::Tracking_Number & "&track.x=0&track.y=0" Hope that helps, Nate |
#6
| |||
| |||
|
|
Yup, that fixed it. Thanks for your help. Here's a corollary - I'd like to be able to enter multiple numbers in a single FMP field that can flow into the large tracking number box on the UPS site that's being queried in this Web Viewer - which is able to accept up to 25 separate tracking numbers - but I don't know how to separate them so they appear in the UPS tracking number box separated by carriage returns, the way you're able to enter those numbers in the web page manually. I've tried entering the tracking numbers in the requisite FMP field separated by carriage returns, commas, and tabs, but nothing seems to work. Any ideas? On Jan 22, 11:03 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote: You are very close, you just need to fully separate the field name from the URL, and concatenate the two. The basic form is "First part of URL" & nameofdatabase::trackingnumber & "End of URL". Here is the exact calculation I use: "http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status..." &Books::Tracking_Number & "&track.x=0&track.y=0" Hope that helps, Nate |
![]() |
| Thread Tools | |
| Display Modes | |
| |