Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button action failed - notify the user

Hi,

I'm using the button with action External -> Launch -> '\\server\share\folder_xx'. This is works for me. In case of folder_xx does not exist, I get the popup window with error: "Failed to Launch \\server\share\folder_xx'.

Is it possible to add something that will show me other message: "The folder your'e trying to open does not exist on the server" ?

Best regards

1 Reply
Not applicable
Author

I think you will need to do it through a macro. This bit of code checks for a file existing and you could add a msgbox to show a warning message.

set fso = CreateObject("Scripting.FileSystemObject")

on error resume next

set logFile = fso.GetFile(vExportLog)

if err <> 0 then ' file does not exist
on error goto 0

Regards,

Gordon