It's all about the answers!

Ask a question

How to get RDF URL using RPE report in DNG?


Vikrant-S Kamble (1111) | asked Apr 02, 6:09 a.m.

 In RPE, I am working on getting DNG custom attribute data.

To get custom attribute value I want to compare its RDF URL instead of name.
e.g. if (name == "xyz") 

{

   if (literalName == "abc")

{

}

         }

Instead of using name and literalName,

I want to compare it using RDF URL of attributes.

Is it possible?


Comments
Fariz Saracevic commented Apr 02, 4:27 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Hi Vikrant,


You should be able to use JavaScripting to achieve this. If you are not familar how this is achieved with PUB (formerly RPE), see https://www.ibm.com/docs/en/engineering-lifecycle-management-suite/lifecycle-optimization-publishing/7.0.3?topic=elements-javascript-code. 


Vikrant-S Kamble commented Apr 08, 8:24 a.m.

Hi Fariz,

To apply java script conditions, in the custom attributes section we are not able to find any attribute related to RDF URL.

In Custom attributes RPE is showing mainly name, literalName, literalId, itemId options.

Thanks.

One answer



permanent link
Pierre Bentkowski (131517) | answered Aug 23, 4:44 p.m.


DNG Reportable Rest API does not provide the RDF URL.
You could not do that in PUB.

You would need to use OSLC API to access those.


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.