Litium 7 : TemplateSystemId is not available in Dataservice filter for Organisation

Hi…,

TemplateSystemId not working in dataService filter for Organisation, Please check the code below,

using (var query = _dataService.CreateQuery<Organization())
{
var result = query.Filter(filter => filter
// .TemplateSystemId(“eq”, template.SystemId)
)
.ToList();
}

Please check the commented line,
How it can handle?

There is a closing tag, Forum eliminating the organization when I put closing tag

I don’t think the TemplateSystemId filter extension is available for Organizations. @patric.forsgard can confirm?

1 Like

No, it is not possible to search for organizations based on template. Please, create a bug as a feature request with your needs and we will consider for future version.

Regarding code formatting you can use markdown to make nice formatting of the code, see https://commonmark.org/help/