Alpha DevCon 2018
Results 1 to 4 of 4

Thread: Subfolders for attachments

  1. #1
    Member
    Real Name
    Robert Holmström
    Join Date
    Sep 2010
    Location
    Sweden
    Posts
    201

    Default Subfolders for attachments

    Hello,

    I asked about this in the web forum and some people liked the idea so I post it here as well.

    I am using the file upload feature pack, and as I understand it it might be better to use reference files than BLOB attachements (?). However, as there might be thousands of files in the end I am worried about having to rename the files too often as some filenames might be used many times (such as budget.xls for different projects).

    Wanted:
    A function within the feature pack to create subfolders for the attachements. It would be a great feature if the system could store the file in for example "/{recordID}" folder so there will be multiple subfolders created for attachments (also good for manual browsing).

    Thanks
    Robert

  2. #2
    Member
    Real Name
    Robert Holmström
    Join Date
    Sep 2010
    Location
    Sweden
    Posts
    201

    Default Re: Subfolders for attachments

    Just noticed that this function is added now:

    Version 10.5 - Build 4040-3642 Feb-19-2011
    File/Image Upload Feature Pack - You can now specify the upload folder using a session variable.
    File Download Feature Pack - You can now specify the download folder using a session variables.

    This is great, thanks!!!

    But how do I implement it? How do I use the variable in the file path?

    Thanks for any advice!
    Robert

  3. #3
    Member
    Real Name
    Cemo Polat
    Join Date
    Jan 2010
    Posts
    42

    Default Re: Subfolders for attachments

    Hi Robert,
    Did you find a solution for this ?
    I'm stuck with this as well.

    Regards
    Cemo

    Quote Originally Posted by eskimoavenue View Post
    Just noticed that this function is added now:

    Version 10.5 - Build 4040-3642 Feb-19-2011
    File/Image Upload Feature Pack - You can now specify the upload folder using a session variable.
    File Download Feature Pack - You can now specify the download folder using a session variables.

    This is great, thanks!!!

    But how do I implement it? How do I use the variable in the file path?

    Thanks for any advice!
    Robert

  4. #4
    Member
    Real Name
    Robert Holmström
    Join Date
    Sep 2010
    Location
    Sweden
    Posts
    201

    Default Re: Subfolders for attachments

    No, I haven't had a time to look at it really. THe solution above talks about session variables but I really need to use a temporary variable. Probably easy to solve if you know your way around but it is still a bit confusing to me so if someone has time...

    Needed: All attachments are stored in a folder with a name from the row.

    Regards
    Robert

Similar Threads

  1. Subfolders in Project
    By RodMc in forum Application Server Version 10 - Web/Browser Applications
    Replies: 6
    Last Post: 05-26-2010, 07:57 AM
  2. Ziping of Subfolders
    By steve745 in forum Alpha Five Version 9 - Desktop Applications
    Replies: 18
    Last Post: 05-04-2009, 11:23 AM
  3. using autoincrement for subfolders
    By katz3 in forum Alpha Five Version 8
    Replies: 3
    Last Post: 03-03-2009, 02:09 AM
  4. Web Security and Subfolders
    By Nathan Zeiset in forum Application Server Version 8
    Replies: 9
    Last Post: 06-02-2008, 02:03 PM
  5. Runtime and Subfolders
    By Sandy Garrett in forum Alpha Five Version 6
    Replies: 0
    Last Post: 07-04-2005, 12:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •