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

URI sent to RPE Template from Quick Print -> Generate PDF

Does anyone know the URI that is used by the RPE template when a user selects the "Create and Print" icon then "Create and Print PDF" from a Module Artifact? The URI it uses seems to have all of the XML information I am looking for with my OSLC integration but I can't seem to find out what request it is sending.

0 votes


Accepted answer

Permanent link
  Stephen,

Have you tried using a Net traffic debugger, such as Firebug or Chrome Developer tools? This is what I would suggest in order to find out the specific HTTP request which is made when clicking the Quick Print button in the UI.

For example, the HTTP request which is sent when I try to do this is as follows:

https://clmweb.ibm.com:9443/rm/publish/print/requirement?resourceURI=https://clmweb.ibm.com:9443/rm/resources/_S1Ob0clkEeOQjcX_nqFG3Q&formatURI=http://com.ibm.rdm/reports/formats/pdf&showEmbedTitles=true&maximiseEmbeds=true&projectURI=https://clmweb.ibm.com:9443/jts/process/project-areas/_bE8gsLv6EeO71YKbliatQA

You will want to make sure that the URL parameters apply correctly to your specific scenario, of course. This request also looks like it returns a "Task Tracker" object, so you will want to make sure if you are executing this request programmatically that you follow the URL provided in the "Location" response header, until the response of the task tracker contains the RDF property:

<rm:state rdf:resource="http://www.ibm.com/xmlns/rdm/rdf/state#COMPLETE"/>

You may also want to take a look at this document to learn more about the RRC Reportable Rest API.

I hope this is the information you were looking for, and that I didn't lead you down an unnecessary rabbit-trail!
Mike Jaworski
Stephen Valliere selected this answer as the correct answer

1 vote

Comments

 This is helpful information, thank you. I will let you know if it solves my issue.

Your answer

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,927
× 332
× 139

Question asked: May 07 '14, 10:08 a.m.

Question was seen: 4,637 times

Last updated: May 07 '14, 10:34 a.m.

Confirmation Cancel Confirm