Asset Management Suite

 View Only
  • 1.  set a default path for associated contract documents

    Posted Aug 28, 2013 12:52 PM

    In Asset Management 7.1 is there a place to configure a default path for the associated documents that can be stored for the software contracts?



  • 2.  RE: set a default path for associated contract documents

    Posted Sep 08, 2013 10:44 PM

    There is no setting which you can modify to define a default path for associated documents, but you could achieve this by modifying a javascript file ADDCEC_ClientScript.js in the folder C:\Program Files\Altiris\CMDB\Web\BrowserScript

    Line 66 should read:

        try { sFile = objConsUtil.BrowseForFile(SelectDoc, strAllFiles + " (*.*)\0*.*\0", ""); } catch(e) {}
    

    Edit this so that it reads

        try { sFile = objConsUtil.BrowseForFile(SelectDoc, strAllFiles + " (*.*)\0*.*\0", "\\\\YourServer\\YourShare\\"); } catch(e) {}
    

     

    When you click Browse Doc, it should open the folder \\YourServer\YourShare.

    Note that you may not see this take effect immediately after making the modification as your browser will probably have cached the javascript file. You should change your internet settings to always check for modified files while testing. (Tools > Internet Options > General > Browsing history > Settings )