Loading
FNMS Attachment Storage

For documents attached to Contracts, Purchases and Licenses are those easily assessible from the server? I have a need to download many documents, opening them one by one manually will take some time I'd rather invest more wisely elsewhere.

Thanks in advance!


  • Flex-Jeremy (Flexera Software)

    I have been able to use the LINQpad suggestion that bheadley provided in your linked post. You will need some technical skill to set up a connection to your FNMS Compliance database and to run the script. This is the script that I have used to pull any file out of the Documents table: 

     

     

    1. byte[] result = Document_MTs.Where(d => d.TenantID==1 && d.DocumentName == "Lorem_Ipsum.txt" && d.PurchaseOrderID == null && d.AssetID == null && d.PurchaseOrderID == null && d.PurchaseOrderDetailID == null && d.ContractID == null && d.SoftwareLicenseID == null && d.ComplianceUserID == null && d.DocumentNoteID == null && d.ContractNoteID == null && d.TermAndConditionID == null ) .Select(d => d.DocumentFile).Single().ToArray();File.WriteAllBytes(@"c:\Lorem_Ipsum.txt", result);Console.WriteLine("Done");

     

    You will need to modify the file name and the conditions to match your specify file (or file set), but is is faster than manually downloading them from the UI. 

    Expand Post

Related  Product Forums


                     â†’ Flexera One



                      â†’ Snow Atlas



                      â†’ FlexNet Manager



                      â†’ Snow License Manager



                       â†’ App Broker


       Need help finding an answer?


        Ask a Question →


Loading
FNMS Attachment Storage