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.

Creating a folder is giving an error in some cases

Featured Replies

I'm calling the script "Docubin - Add Folder ( Path ) " to create nested directories for file storage.  I call the script for each directory level, in this case three times for each file.  This works great except for one unknown reason, where is gives me 2 errors - 'Parameter missing (*)' and 'The parent directory does not exist'.  Sometimes it'll quit out of FileMaker altogether.  This is true whether I'm using OSX 10.12.4 or Windows 10.  It doesn't appear to be anything wrong with the folder names, like unusual or illegal characters.

The directory path that I pass with each script call is as such - 

/NIH G-ROP 12-009727/

/NIH G-ROP 12-009727/Financial/

/NIH G-ROP 12-009727/Financial/MDA/

 

It'll create the parent (1st) directory just fine, but then it'll throw the errors and write to the error table when trying to create the 2nd line.  This also happens with another example with a different parent name.  Again, I stripped out any illegal characters.

 

Brent,

Could you please save a PDF of your script and either upload it here, or email it to me at [email protected]?

Thanks,

Michael

  • Author

Here is the script that is relevant to the issue - 

590ca05c02875_ScreenShot2017-05-05at11_52_35AM.thumb.png.089c01023754c9bcf01a1dad2517ef4f.png

 

The mentioned variables have to following information in this case

$Path      /NIH G-ROP 12-009727 (1284)/

$Parent      Financial

gTempType      MDA

 

The only modification that was made to the Add Folder script in Docubin was the pause of 1 second, based on your previous solution to a different issue I posted here.  It does create the directory will the first $Path, but then it craps out after the one with the $Parent.

 

Edited by BrentHedden

Brent,

I'm able to create subfolders without any trouble. Can you check for script result errors after call to DocuBin - Add Folder and let me know what happens?

Michael

Screen Shot 2017-05-11 at 3.24.07 PM.png

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.