Element Search is SSRS by ID

How do you find elements in SSRS by ID? I tried to use the identifier returned by another search result, a new string pointer and a small random string, all of which return the same error:

The ID field has an invalid value. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidElementException: the ID field has an invalid value.

Here is the code:

var request = new FindItemsRequest { Conditions = new[] { new SearchCondition { Name = "ID", Value = "test"} }, Folder = "/" }; return _ssrsService .FindItems(request) .Items 

I am using SSRS 2005.

+4
source share
2 answers

It is pretty accurate that this cannot be done through the SSRS service. Having finished searching for all objects, using LINQ to filter to the identifier I need.

+1
source

MS Documentation on FindItems says:

Applications that use FindItems typically accept user input for specific properties and property values. The properties available for search are the name, description, created, created, modified and modified. Returned items are those for which the user has read permission.

+1
source

Source: https://habr.com/ru/post/1304078/


All Articles