views:

35

answers:

1

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

The ID field has a value that is not valid. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidElementException: The ID field has a value that is not valid.

Here is the code:

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

I'm using SSRS 2005.

A: 

Pretty sure this can't be done through the SSRS service. Ended up finding all objects then using LINQ to filter down to the ID I need.

chief7

related questions