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

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

Recommended Posts

Posted

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.

 

Posted (edited)

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
Posted

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

This topic is 2763 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.