Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Doors Next Generation 7.0.3: Get primary text of artifacts via OSLC query

I am trying to obtain the primary text along with other attributes like the title using OSLC query. For example, in the following query I'm attempting to obtain the primary text and title of artifacts that are within a module with artifact ID 1000, and within a specific project and context:

https://server/rm/views?oslc.query=true&projectURL=projectURL&oslc_config.context=context&oslc.prefix=oslc_rm%3D%3Chttp%3A%2F%2Fopen-services.net%2Fns%2Frm%23%3E,dcterms%3D%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E,jazz%3Dhttp%3A%2F%2Fjazz.net%2Fns%2Frm%23&oslc.select=oslc_rm:uses%7Bjazz:primaryText%7D,oslc_rm:uses%7Bdcterms:title%7D&oslc.where=dcterms:identifier=10000

I get values for the title, but I do not get anything back for the primary text and there is no error in the results. The value jazz%3Dhttp%3A%2F%2Fjazz.net%2Fns%2Frm%23 in the oslc.prefix is the URL encoding of jazz=http://jazz.net/ns/rm# (primary text namespace is at http://jazz.net/ns/rm#primaryText) and the value jazz:primaryText in the oslc.select paremter is how I'm attempting to retrieve the value for primary text. The reason I'm enclosing jazz:primarty text within %7B and 7D is because I'm following the "Nested inline selections are not supported. However, you can use the following query to get similar results to request two or more inline fields" example at Using OSLC Query Capability.

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Nov 19, 4:54 p.m.

Question was seen: 196 times

Last updated: Nov 19, 4:54 p.m.

Confirmation Cancel Confirm