Fail query validation if custom function is used and not in metadata xml
If a user types a UDF in the SQL Editor that is in the database, but isn't in the object tree or metadata, I'd like it to throw an error when they click the refresh/update icon just as if they had typed a table name that isn't there. Is this possible?
Hello,
You can call the QB.Web.Application.MessageError(message) method to display an error.