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

Doors Next Generation 7.1 Get the name of the component given component URI

I am extracting the componentURI parameter from a Module View URL. An example of value of componentURI: https://servername/rm/rm-projects/_L0uxUDdLEfC9w5YlR48kfw/components/_uUqUUEF_EfCX__ozRD_BgQ. When I do a GET request for that URL, it gives me information for the Project Area and not the Component. I'm trying to get the component's name. Is there any way to get the component's name given the component URI?

0 votes



One answer

Permanent link

Looks like if I extract the component ID from the componentURI (extracting _uUqUUEF_EfCXozRD_BgQ from https://servername/rm/rm-projects/_L0uxUDdLEfC9w5YlR48kfw/components/_uUqUUEF_EfCXozRD_BgQ), and do a GET request for https://servername/rm/cm/component/_uUqUUEF_EfCXozRD_BgQ, I can get the component name from the XML response. Is this a reliable approach that should still work for future versions of Doors Next? Or is there a more reliable method given the componentURI (https://servername/rm/rm-projects/_L0uxUDdLEfC9w5YlR48kfw/components/_uUqUUEF_EfCXozRD_BgQ)?

0 votes

Comments

That's a pretty safe approach

1 vote

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
× 11,074

Question asked: Jul 17, 10:18 a.m.

Question was seen: 799 times

Last updated: Jul 17, 8:54 p.m.

Confirmation Cancel Confirm