Hide a warning

Hi all, how can I hide this warning? Thanks

warning.png

Some warnings can be set to “Ignore” in Eclipse in Window/Preferences/Servoy/Errors/Warnings. I could not find that warning there (in latest Servoy 7.4.4), maybe you take a second look.
It could be it is a new warning and Servoy did not add it to that list so far.

Hm, on second thought it seems your solution supports only a web client (or at least Servoy Developer thinks that), and therefore the warning seems justified. In case there is a switch that you can tell Servoy your solution is running in smart client too, it may disappear.

Hi Juan,

Apart from disabling the warnings altogether like Bernd is suggesting you can simply reference the function in text like so:

plugins.file['showFileSaveDialog']()

@bernd
I would not recommend setting your web-only solution type to smart client as well. Be aware that the solutions will be listed when you hit the client page (be it smart or web).
Ditto applies for smart-only solutions.
One should simply not have access to a deployment target that the solution wasn’t build for.

Hope this helps.

The code is from a method in a module that web-only and smart-and-web solutions use, so the warning only appears when I activate a web-only solution.

I’ll try the Robert’s suggestion.

Thanks!