Field Document (file name)

I created a Document (File Name) field to save an image (jpg) or Acrobat (pdf) file.
After I press the Save button, the application displays an error: The path does not exist or its permissions are not set.

If I change the field type to Image (File Name), the application works correctly, but only for JPG files and not for PDF files.

The path in the Subdirectory for local storage is always the same, so it’s not a permissions issue.

Why doesn’t it work if the field is Document?

Thanks everyone.

@Oasis58,

We ran a simple test on the latest version (9.12.029), and it was possible to insert .jpeg, .png, etc. files normally into a “Document (File Name)” field.

Could you confirm if this still occurs in the latest version, as well as any other details that might help simulate the issue and that were not mentioned above?

Best regards!

The problem was due to the fact that new applications have the following value in Application->Settings->Documents Path:
C:/Program Files/NetMake/v9-php81/wwwroot/scriptcase/file/doc
and not the value indicated in the Option Settings->System Folders menu, which is:
/scriptcase/file/doc

The procedure for creating a new application should take into account the value indicated in System Folders, otherwise the value in Application->Settings->Documents Path must always be changed.

It would also be very helpful to better describe the “Path Not Found” error by indicating the path the procedure is looking for.
This makes debugging difficult.emphasized text