It's all about the answers!

Ask a question

oslc.where use wildcards in DOORS Next Generation 5.0.2

Nikhil Pachpande (2519) | asked Nov 21 '15, 8:23 a.m.
I want to use wildcards in oslc.where clause.

I can query for a specific identifier:

and I can query for a specific title:

queryParams.setWhere("dcterms:title=\"Weather\""); //Returns one result

but I want to be able to find all the items that have "Weather" in their
description.  I was hoping for something like:


but it doesn't return any results.

Is there any work-around or provision on how to use wildcards in oslc.where queries?

Accepted answer

permanent link
Gabriel Ruelas (1.1k13) | answered Nov 30 '15, 11:52 a.m.
    Wildcards are not supported in title or description ( those should match the entire string ). One possibility to use wildcard is on the requirements text using the oslc.searchTerms option , like :

Hope it helps.
Nikhil Pachpande selected this answer as the correct answer

Your answer

Register or to post your answer.