It's all about the answers!

Ask a question

DNG_how to set an artifact as Heading Row using OSLC in DNG?


masoom Abdullah (53119) | asked Feb 09 '18, 11:39 p.m.

Hi all,


I created an artifact in DNG using OSLC but the artifact is always created as Normal row by default.

Please let me know if there is any way to create or update the artifact as "Heading Row".

I need to update it to "Heading Row". Please help me achieve this.

Thanks in advance.

Accepted answer


permanent link
Donald Nong (14.5k614) | answered Feb 12 '18, 2:02 a.m.

So what you want to do is actually manipulate the module structure. In this case, consider using the DNG Module API (new in 6.0.5 as technical preview).
https://jazz.net/wiki/bin/view/Main/DNGModuleApiOverview
https://jazz.net/wiki/bin/view/Main/DNGModuleAPI

masoom Abdullah selected this answer as the correct answer

Comments
masoom Abdullah commented Feb 13 '18, 11:45 p.m.

 Hi Donald,


Now i am trying to update the Row Style of an artifact inside a module in DNG 6.0.5 as the above references suggest that this is achievable in DNG 6.0.5.

I am following the same approach provided in the above reference to get the XML of an module by passing the module URI through OSLC.

According to the reference document, this XML must have a property  name "rm_modules:structure" for manipulating the module structure, but this property tag is still missing in the XML i am getting even though i am using DNG 6.0.5.

Please see to it.

Thanks
Masoom



masoom Abdullah commented Feb 14 '18, 11:27 p.m.

 Thanks Donald, 


I wasn't giving the correct headers. It'a working now. 

Thank you

3 other answers



permanent link
Donald Nong (14.5k614) | answered Feb 11 '18, 7:15 p.m.

You need to set the artifact type to "Heading".


Comments
masoom Abdullah commented Feb 12 '18, 12:05 a.m. | edited Feb 12 '18, 2:00 a.m.

 Hi Donald,


Thank you for your response.

I will elaborate my query a bit.

I have a collection of artifacts inside a module at various levels of Parent-Child hierarchy.

I need to read all these artifacts keeping track of hierarchy and updating Row Style of artifact as "Heading Row" in flow:

"Module"-->"Artifact"-->"Set As Heading or Content" --> "More Options" --> "Row Style" as "Heading Row".


permanent link
masoom Abdullah (53119) | answered Feb 12 '18, 5:34 a.m.

 Hi Donald, 


Thank you so much for the response.

This means, setting the Row Style is not possible in DNG 6.0.4. Am I correct?

Thanks in advance

Best regards,


Comments
Donald Nong commented Feb 12 '18, 9:59 p.m.

Strictly speaking, you cannot do it with any published and supported APIs.


masoom Abdullah commented Feb 12 '18, 10:48 p.m.

 Thanks Donald,


 


Vaibhav S commented Oct 13 '22, 3:03 a.m.

Hi Donald,


Is this functionality available now in DNG versions.

Please let me know.

Thanks! 


Ian Barnard commented Oct 13 '22, 5:38 a.m. | edited Oct 13 '22, 5:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

As Donald says in the accepted answer, the module structure API is available from 6.0.5. See :

and:


permanent link
Stacey Pates (11) | answered Feb 13 '18, 12:17 a.m.

Great.!!

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.