Table Search works from endpoint but not Global search
I'm working on a table search to a SQL Server view. The search works from the endpoint that was created when the search was created in REST Manager but the search doesn't work from the Global Search field.
Here's my command:
SELECT WellUseDescription, WUWN, AnalytesDescription FROM GroundWater.dbo.v_LabSample WHERE AnalytesDescription LIKE '%' + @AnalytesDescription + '%'
I also tried:
SELECT WellUseDescription, WUWN, AnalytesDescription FROM GroundWater.dbo.v_LabSample WHERE AnalytesDescription = @AnalytesDescription
Both of those work from the endpoint.
The datalink from the layer to the table works fine. Is it possible the Global Search is failing because it's a view rather than a table?
-
I found a typo in the table search configuration. Global search does appear to work with a SQL View.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar