Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nhaataja
Contributor
Contributor

Input Box Opens File Explorer & saves file location as Variable

We are trying to build a template for multiple users to utilize.  We would like a person to be able to click into the data entry section of an input box that is assigned to a specific variable and instead of having to copy / paste a file location in, clicking in would have the file explorer pop up and allow the user to move to a location on their computer and store that file location in the variable.  Has anyone had any luck doing something like this?

1 Reply
Brett_Bleess
Former Employee
Former Employee

That would all be Windows API related calls, so the only potential way would be the Edit Module and macro code using those APIs, but I do not know if the version of the Edit Module will be capable of handling things or not, and this would not work via the Ajax client either, given everything processes server-side there, so that would be a limitation too.  I do not believe we are the right solution for this use case from what I can tell, you are likely better served by another product or perhaps a PowerShell script or something to do this.  

The only other possibility might be to create an Extension object using the above, here is link to the SDK/API area of Help where that content resides:

https://help.qlik.com/en-US/qlikview-developer/April2020/Subsystems/Extensions/Content/QV_Extensions...

https://help.qlik.com/en-US/qlikview-developer/April2020/Content/QV_HelpSites/APIsAndSDKs.htm

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.