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