Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Proper Formating of objFMfiles = objFM.Documents.Open

Featured Replies

Folks

I have been experimenting with VBS and have run into a snag. The objFMfiles = objFM.Documents.Open has thrown me for a loop.

If I format it as any of the following it errors out (405):

objFMfiles = objFM.Documents.Open("C:t.fp7","")

It does work however if I format it like:

objFMfiles = objFM.Documents.Open("C:t.fp7","UserName","Password")

I would like to use a local opener without a password if possible (I authenticate all my folks through our LDAP server and don't wish to duplicate this structure in the local file), but I can't get the file to open unless I have a Users and Password setup in the file and in the VBS.

Vince Dolan

VP of IT and Process Improvement

Waymar Industries

14400 Southcross Drive West

Burnsville MN, 55306

952 435 7100 ext 242

Cell: 612 770 9304

Edited by Guest

External authentication doesn't work on local files, only on files hosted by FileMaker Server.

One thing you can do is to set your opener file to automatically open with the guest account. If your script then calls a hosted file that's using EA, it will open with the proper account of the Windows logged-in user.

If I format it as any of the following it errors out (405):

objFMfiles = objFM.Documents.Open("C:t.fp7","")

Yep, that's an error in the FM documentation. FM7/8 requires 3 parameters: filename, account, password.

  • Author

Wim

Yes indeed External Authorization only works through hosted files (via FMS), that is why I don't want to have to replicate the LDAP's structure in the local file's Account & Privileges. What I couldn't do is open a fp7 file without invoking the User Name and Password dialog. It is strange that you can't just open the file (C:test.fp7,"","") and bypass the whole dialog (assuming of course your opener file requires no password). The only way I got it to work was by supplying both a name and password, that I had setup in the file ahead of time, leaving it blank doesn't cut it.

I will however, try the Guest Account thingy thanks.

Vince Dolan

VP of IT and Process Improvement

Waymar Industries

14400 Southcross Drive West

Burnsville MN, 55306

952 435 7100 ext 242

Cell: 612 770 9304

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.