8 Replies Latest reply: Jun 30, 2017 3:00 AM by Paul Verkooijen RSS

    FileName() is empty, why?

    Anders Uddenberg

      I'm developing an application and need to use FileName(). This function returns nothing and neither does FileBaseName(). FileDir() however returns "lib://QvdLib".

      I've found a function called DocumentName() but it returns something like "829askjd89asjk238dshdj29dfjd"

       

      My setup is that I'v developing using Remote Desktop, then via Qlik Sense Hub, and not the Desktop application.

       

      Edit:

      // Doesn't work. Filnamn2 is empty

      tempQVD:

      LOAD

          FileName() as Filnamn2

      FROM [lib://QvdLib/rtr_*.qvd] (qvd);

       

      // Works!

      tempExcel:

      LOAD

          FileName() as Filnamn

      FROM [lib://ExcelLib1/Kontouppföljning*.xlsx]

      (ooxml, embedded labels, table is Blad1);