It's all about the answers!

Ask a question

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

masoom Abdullah (435) | 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.4k213) | 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).

masoom Abdullah selected this answer as the correct answer

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.


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.4k213) | answered Feb 11 '18, 7:15 p.m.

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

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 (435) | 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,

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,


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


Your answer

Register or to post your answer.