Jump to content

How to run a script from another file without showing login dialog?


Recommended Posts

Posted

Hello,

I'm creating a "mailer" file to send HTML emails from FileMaker without the need for a third-party plugin.  The idea is that whenever another FM app needs to send an email, it can just ball up some JSON and call the "Send Mail" script from the central mailer file with the JSON as the script parameter.

I've read that if the same credential set exists for the logged-in user in both files, opening the secondary file will be transparent.  However, if not, the user is presented with a login dialog.  Since the "Open File" script step is not supported on WebDirect, I can't just detect if the file is open (via the DatabaseNames function) and have the script log in.  Using PSOS still shows the dialog.

Is there any way to run a script from another FM file without the user seeing a login dialog and without needing to duplicate user accounts in the second file?

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.