How to Import Document into NAV server through FORM??

pskannaapskannaa Member Posts: 138
Hi,
I'm working in NAV 4.0, I want to import the Documents
(.doc,.pdf,etc) into NAV sever any of the location like "e:\xxCompany\Import\" . Here needs to store all the doc through the FORM with Functions->Document Import, once i click the function menu it will be asking the dialog to select the file for import, that would be maintained on the server path. Whenever i wants to open the attached doc through Functions->Open Document

Please suggest your inputs !!

Regards,
Suresh Kannan P

Comments

  • garakgarak Member Posts: 3,263
    You need the import in the Database in a BLOB field or in a Folder (FromPath to Path) of your FileSharingServer?

    Regards
    Do you make it right, it works too!
  • pskannaapskannaa Member Posts: 138
    Thanks for your inputs,

    I do not want to store file in the db(blob), just wants to maintane the file in the NAV
    server any path which i specified earlier instead maintain one flag is called "Attached" Yes/No. If any file is attached for the particualar record the Attached flag should be "Yes" and also provide the option for "Open" the attache file from the Server location (eg: E:\NAV\Attached Doc\...").

    Like Open dialog window for selecting the file and store into server location.


    Thanks & Regards,
    Suresh Kannan P
  • garakgarak Member Posts: 3,263
    You can use the File Open Dialog for this or W(indows)S(cription)H(ost) (to copy from Path to Path).
    To open the Document u can use hyperlink() or also WSH.
    to know, is a doc for the Nav Record in the specific folder, you can use (if exist()).
    Do you make it right, it works too!
  • pskannaapskannaa Member Posts: 138
    I wants W(indows)S(cription)H(ost) option to customize
  • SavatageSavatage Member Posts: 7,142
    Here's the sample Form
    http://savatage99.googlepages.com/Form5 ... ntList.txt

    Here's the sample Table
    http://savatage99.googlepages.com/Table ... hments.txt

    This is an old idea that can be expanded upon, if you add another option field for Customer/Vendor/Item?etc. To make the attachments specific and able to show on the cust/vend/item card.
    See here:
    http://savatage99.googlepages.com/HowIMadeMineLook.JPG
Sign In or Register to comment.