Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
sammierlening
Contributor III
Contributor III

[resolved] tFileList: Order Action

is there a way to change the order action on a tFileList. I have a situation where I need to iterate the files twice, once in ascending order and once in descending order. I would prefer not to use the component twice. Is there a way to set the order action dynamically?
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,
So far, Order Action is designed by radio box which cannot be given variable vaule or context. An workaround is to create two different subjobs both starts with tFileList, one tFileList is set to order by ASC, another tFileList is set to order by DESC, parse the context variable  and trigger the subjob based on the value of context variable with runIf link, for example:
tJava--runIf-->tFileList_1....
       --runIf--->tFileList_2....         
Best regards
Sabrina

View solution in original post

1 Reply
Anonymous
Not applicable

Hi,
So far, Order Action is designed by radio box which cannot be given variable vaule or context. An workaround is to create two different subjobs both starts with tFileList, one tFileList is set to order by ASC, another tFileList is set to order by DESC, parse the context variable  and trigger the subjob based on the value of context variable with runIf link, for example:
tJava--runIf-->tFileList_1....
       --runIf--->tFileList_2....         
Best regards
Sabrina