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

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

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.

1 vote


Accepted answer

Permanent link

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

0 votes

Comments

 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


 Thanks Donald, 


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

Thank you


3 other answers

Permanent link

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

0 votes

Comments

 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

 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,

0 votes

Comments

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

 Thanks Donald,


 

Hi Donald,


Is this functionality available now in DNG versions.

Please let me know.

Thanks! 

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

and:


Permanent link

Great.!!

0 votes

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
× 1,220

Question asked: Feb 09 '18, 11:39 p.m.

Question was seen: 3,835 times

Last updated: Oct 13 '22, 5:38 a.m.

Related questions
Confirmation Cancel Confirm