Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Auto-Filling a field in an external web page.


This topic is 6484 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I have a customer who wants me to give them the ability to add a button that when clicked will navigate to the U.P.S. tracking web site and automatically populate the tracking number dialog box, check the "agree to UPS Terms" and then <> so the tracking action will be activated.

I can easily script getting to the site with a tracking number but that is as far as I can get.

Do I need to use Windows Scripting to do the rest?

HAs anyone ever done anything like this that I can borrow shamelessly from?

Thanks,

Steve

Posted

Can you send in the Open URL step replacing MYTRACKINGNUM with the actual tracking number?

http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requester=UPSHome&tracknum=MYTRACKINGNUM&AgreeToTermsAndConditions=yes&ignore=&track.x=36&track.y=5

Haven't tested it with the Open URL script (Or whatever step name opens a URL) but it does work pasting it straight into my browser address field.

Posted (edited)

Hmmph. I tried my own suggestion with the Open URL step shown below. It works if I manually copy and paste from the Specify URL dialog box that pops up in FileMaker but clicking the OK button on the Specify URL box does not work correctly.

Substitute("http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requester=UPSHome&tracknum=MYTRACKINGNUM&AgreeToTermsAndConditions=yes&ignore=&track.x=36&track.y=5"; "MYTRACKINGNUM"; UPS_TO_FMP7::PackageTrackingNumber)

OK, it works if I remove the "http://" from the URL string.

Edited by Guest
figured it out

This topic is 6484 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.