Announcement

Collapse
No announcement yet.

Document Upload Path

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Document Upload Path

    Is there a variable that provides the upload path for documents being uploaded with Document Upload (File Name) field type? I have a need where .pdf files will be uploaded, and could have any name, but need to be saved on the server with a specific name based on information from other fields on the form. I can rename the files with no problems, but it requires me to hard-code the path in the onAfterInsert and onAfterUpdate events. Since the actual path changes on deployment, I'd prefer to get the path from some variable if one exists, eliminating the need to make the change when I deploy. I've searched the forum, and found a couple things, but they don't work - the variables don't seem to exist.

    Thanks in advance for your help.

    Mark Rouse

  • #2
    $_SESSION['scriptcase']['my_app_name_HERE!!!!!!!!']['glo_nm_path_doc']

    Regards

    Comment

    Working...
    X