It's all about the answers!

Ask a question

ViewURI Query in Local RM Context


Chidambaram L (23424390) | asked Jul 24 '23, 7:54 a.m.
edited Jul 24 '23, 10:48 a.m.

My RPE report uses ViewURI as an external input parameter. I am generating the report using Document Builder & also RPE Studio. My RM project is configuration enabled.


Web Resource to render the View in the browser is:

Following REST Query fails:
https://abc.com/rm/publish/resources?viewURI=VW_SmTTceIzEeatk9SpV1CNDA&projectURI=_BUSHEyltEeafPIm9lgw9gQ&moduleURI=MD_j8EX5EjREeaDJdnMIXf2FA&oslc_config.context=https%3A%2F%2Fabc.com%2Frm%2Fcm%2Fstream%2F_DlNI8KzHEeqHjYStCpEzgQ
Accept: application/xml

fails even with oslc_config.context url-decoded.

rpeng picker does not work with 

Please share the correct REST Query to be used for ViewURI.

Following REST Query works for projects where Configuration is not enabled:

GET https://abc.com/rm/publish/resources?viewURI=filterID&projectURI=projectUUID

Accept: application/xml


Comments
Ian Barnard commented Jul 25 '23, 5:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 You don't say what goes wrong but I assume this is the same as in the other question where you asked about a viewURI query - as I said in that other question, your style of reportable rest api url works for me in a browser tab using 7.0.2 iFix023. Because it works in a browser tab that means it works when not providing the Accept header.


What version+ifix are you using?

Try removing the viewURI parameter do you get any results?

Be the first one to answer this question!


Register or 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.