try to get sql viewParams from GET params if not found in metadata