It's all about the answers!

Ask a question

How to get the ID of a custom section

Nicola Carusi (281011) | asked Jun 19 '14, 5:21 a.m.

Hi all,

I created a custom template in RQM called "MyTemplate" in which I inserted a custom section called "MySection".

Now I would link to import data in this section using the RQMExcelImporter but I cannot find the dynamic id of the section to configure che cfg file like this:

testcase.Section("","Assumption and constraints")=B

The text in bold is the ID of the template not the section.

Any suggestion?



Accepted answer

permanent link
Ara Masrof (3.2k15) | answered Jun 19 '14, 7:07 a.m.
If you know the ID of the template in question you can obtain the XML of it which will contain the ID of the customer section
For example. using POSTER (or another HTTP client) you would make the following request

Where 'clm403:9443' is the HOST/PORT, 'ImporterPA+%28Quality+Management%29' is the project area, and testplan.template_1379687296446 is the template

In the XML returned, you'll see the custom section and ID; something like this

<ns2:section content="" name="MyCustomTPsectionForDemo" id="" description="Created this section for a demo"/>

Nicola Carusi selected this answer as the correct answer

2 other answers

permanent link
Nicola Carusi (281011) | answered Jun 19 '14, 7:33 a.m.

Hi Ara,

thanks for your answer!

Following your suggestion I get the response "406 Not Acceptable".

If I make a request to


I get the list of all template, but if I follow the url of my template which is:


I get that answer! :(

Any idea?

thank you!

permanent link
Nicola Carusi (281011) | answered Jun 19 '14, 7:35 a.m.


The error was in the headers.

I put Accept: aplication/rdf+xml but I had to put application/xml.

Now it works! Thank you very much!!

Your answer

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.