Uploading a file to the server via custom form

 5 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Reema
New Member
Posts: 4
New Member
    Has anyone uploaded a file from a local computer to the lawson server using an Attach button on a design studio form?
    We are trying to find options to upload files (similar to how we would use the browse and attach feature in outlook or yahoo) to move the file from our local PC to the Lawson server.
    We are unable to create the code to pick from the our PC and move to the server.
    Any assistance will be greatly appreciated.
    John Henley
    Posts: 3353
      Are you having trouble selecting the file, or actually uploading the file itself?
      Thanks for using the LawsonGuru.com forums!
      John
      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        JavaScript doesn't support this kind of process - you could write a custom application and call it with JavaScript or get with a vendor that has a pre-built application to do this type of attaching. I don't like to use this forum for sales, but Avaap does have a document attachment solution. Please email me offline if you'd like more information.
        David Williams
        Reema
        New Member
        Posts: 4
        New Member
          Actually uploading the file itself.
          Randy Jacoy
          Veteran Member
          Posts: 46
          Veteran Member
            Reema,

            We did it by writing an asp.net page to do the upload then included that page within a browser control on our design studio form. 

            JeffR
            Advanced Member
            Posts: 22
            Advanced Member
              Are you trying to attach it to a Lawson form or just trying to copy a file to a directory in Lawson? I have built processflows to act as an FTP agent for end users to move files from Windows to our Unix server, because we didn't want to open up ftp rights for them, with a parameter page built in Design Studio to enter the source file path and destination path.