How can I separate the DNG artifact content into heading number and associated into two text elements in RPE??
I am trying to some DNG text artifacts which are configured as headings and normal text. I want to understand how to split the heading number and associate heading title into two different text elements in RPE.
|
Accepted answer
Hi Ravi,
You need not use split function, as the heading number is readily available. You can use dataSource/artifact/moduleContext/contextBinding/section for that.
dataSource/artifact/moduleContext/contextBinding/depth will give the heading level. If you apply dataSource/artifact/moduleContext/contextBinding/depth as style for "title", RPE will automatically add the heading numbers.
Hope this helps!
Regards,
Prasad
Ravi Gollapudi selected this answer as the correct answer
|
One other answer
Please be a little more specific.
It sounds like you have imported a heading: number and title, and the following paragraph(s?) of text into one text artifact as flat text, and now you need to unpack it?
|
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.