AnsweredAssumed Answered

WebDirect Script Fails with identically named folder

Question asked by eric on May 3, 2018
Latest reply on May 4, 2018 by TSGal

Product and version: FileMaker Server 16.0.4.406

OS and version: Windows Server 2012

Browser and version: Safari Version 11.1.1 (13605.2.3)

 

Description:

If you have a script and a script folder with the same name, the script will not execute in a WebDirect URL.

For example this:

http://digfm.org/fmi/webd/DIGFM?script=RSVP&param=MTG0145

will not execute the script named RSVP if there's a script folder named RSVP.

(On the other hand, a script in an FMP URL is unaffected by an identically-named folder.

E.g. fmp://digfm.org/DIGFM?script=RSVP&param=MTG0145 would have no problem.)

 

How to replicate:

  1. Make script.
  2. Make a script folder with the same name as the script.
  3. Try to execute the script in a WebDirect URL.
    E.g. http://digfm.org/fmi/webd/DIGFM?script=RSVP&param=MTG0145

 

Workaround: Rename your script folder so it doesn't match the script name you want to execute in a WebDirect URL.

Outcomes