We are introducing a breaking change to the behavior of file paths returned by the DataFiles connector to Qlik Sense.
This update is designed to align DataFiles with the web storage provider connectors. This will better align the DataFiles connector's behavior with other connectors, such as S3, which return folder names with a trailing slash for the DirList argument in loops.
Other web storage provider connectors are not affected.
What's changing
Current Behavior
When using the DirList function with the DataFiles connector, the returned folder path does not include a trailing slash.
New Behavior
With the upcoming update, the DirList function will now return folder paths with a trailing slash—matching the behavior of other storage connectors like S3.
This change is part of our ongoing efforts to support file hierarchy enhancements introduced in Q4 2024 and to ensure consistency across all connectors.
How does this impact your Qlik Sense load script?
The change will primarily affect loops or code configurations that rely on the specific behavior of the output from a DirList
argument when processing directory paths. Customers who have implemented custom filtering logic based on the absence of a trailing slash may need to adjust their scripts.
Example script:
// List out the response from DirList as Dir
For Each Dir in DirList('lib://DataFiles/')
ShowThePath:
LOAD
'$(Dir)' as Path
AutoGenerate 1;
Next;
Before the fix, this will return:
Path |
lib://DataFiles/directory1 |
lib://DataFiles/directory2 |
Post-fix, this will return:
Path |
lib://DataFiles/directory1/ |
lib://DataFiles/directory2/ |
What scenarios are unaffected?
- Customers using other file listing or filepath functions are not expected to experience any impact.
- Most standard code configurations remain unchanged.
When will the change be rolled out?
- The update will be rolled out to all Qlik Cloud tenants on March 25th, 2025.
- Qlik Cloud Government tenants will receive the update by March 25th or later.
Thank you for choosing Qlik,
Qlik Support