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

Problems when generate the “Table of Tables” and “Table of Figure” by using RPE from DNG

I have DNG 6.04 and RPE 2.1.2 installed in my project computer.

I've tried to run RPE report for a document after import it into DNG.  The Table of Figures and Table of Tables are not generated for some reasons &  It was appeared as "No Table of Figures entries found".

I also have populated the Table captions for Table and Figures Captions for Figures in DNG. and setup a container for Table Caption and Figures Caption in my RPE template.  So, what was wrong with my setup?

Can anyone help me to resolve this problem?

0 votes

Comments

Sorry,  I got RPE 2.1.1 installed.


Accepted answer

Permanent link

Hi Jennifer,

I have a similar issue recently with TOF. It is caused by that I have extracted images as a text artifact with embedded images (as opposed to image format). So they are not recognized as a standalone image.

In my case, these images are shown as File formats in DNG, but also they are wrapperResource formats. I have verified by REST API as below:
https://server:9443/rm/publish/resources?resourceURI=MB_4dae682f17754c18a6c0b0ac013dde98

where resourceURI is obtained from DNG by selecting image artifact and select "Share link..." like
https://servert:9443/rm/resources/MB_4dae682f17754c18a6c0b0ac013dde98?oslc_config.contex...

If the first REST API URL contains tag <rrm:wrappedResourceURI>, then the images can be obtained by adding one more Data Source Configuration for Wrapper Resource. Inside the sample templete DNG_Module.dta in RPE, there is a DSC definition for UIsketch format. You may change it from UIsketch to wrappedResource with Figure Caption like below screenshot. Then it will insert the valid captions for these images, and let you create TOF with these captions.  


Jennifer Ly selected this answer as the correct answer

0 votes

Comments

You can follow the similar way for uisketches, usecasediagrams formats, except diagram format. See the discussion in
https://jazz.net/forum/questions/231407/get-diagram-picture-in-dng-into-rpe-report


6 other answers

Permanent link

If you have the captions added in DNG, you need not add Table Caption or Fugure Caption element in RPE template. If DNG (reportable REST URL) gives tables or figures without captions, then you should add them in RPE.

You may refer the sample RPE template and generate document. In this, TOF will include uisketches and wrapped resource images. Depending on the type of artifact you have in DNG, you can modify the template.

0 votes


Permanent link

Hi Kenji,

I've modified my template and rerun the test .... but still got problems with "Table of Figures". Below are my screenshots for the updates:

RPE Template:

RPE output:

Title and Page # are not come out correctly.

0 votes

Comments

I cannot posted my screenshots for you to review...

Sorry...  It doesn't take it.!


Permanent link

0 votes

Comments

2nd try... still cannot post the screenshot !


Permanent link

RPE output:

0 votes

Comments

Another try... Still doesn't work !!!

Can I send my screenshots to your email ?

Thanks,

Jennifer.

Does it work fine with the template Prasad has provided? If so, something went wrong with your template. Also do you set an appropriate artifact name for the artifact with images? Artifact name (or caption name) in DNG will be automatically copied as a title in TOF.

You may try again to upload screenshots, there was an outage in jazz.net website today which might be the cause.

I've tried the template Prasad provided with the attribute type (in DNG) of Figure Title is  "Figures Caption" and attribute type (DNG) of Diagram is "Figure" (same with Table). But "Table of Figures" and "Table of Table" are not come out in RPE output.  I would like to attach my screenshots of my Template and RPE output for your review but it's not let me post with my screenshot.

Please help !

Thanks,

Jennifer.

The template Prasad provided has a DSC for UIsketch and WrapperResource only. So this template obtains these artifacts formats only. Other formats will be ignored. Open these target artifacts (for Figure) in DNG, and check artifact format (not type). They should be "User interface sketch", "Wrapper resource", or "File". What is the artifact format for Figure?

Either way, it is very difficult to continue in the forum. Are you able to open PMR to contact IBM support?

Hi Kenji,

Thank you very much for your answer & support.  I have open an PMR to contact IBM support since 5, 6 weeks ago (PMR # PMR 15052,227,000 - HPES-NG-G-DOD - S3 - Problems when creating the Table of Tables and Table of Figures) and could not get an answer to resolve the problems.  It takes a support guy to get back to me once every week for the same problems with the same answer.  He said my template is setup correctly and works fine with his document but never get back to me for an answer of how to make it work in my document. Anyway, I gave up on him and was thinking about to report to my manager about this issue. I found this forum was helpful and thank you very much that you're response my question very quick after few hours with the answer that may help me to resolve the problems.

I still have problems to generate the Table of Figures and Table of Tables.  Is there anyway that I can attached my screenshot for you to review? I work in a standalone computer & has no network connection. Screenshot is the best way to view the RPE template & RPE output.

Thanks,

Jennifer.


Permanent link

Hi Kenji,

Thank you very much for your answer.  I desperately need help in my RPE report.  Please review the screenshots below:

Data Preview:

RPE output:

DNG attribute setup for Figures:

0 votes


Permanent link

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
× 6,121

Question asked: Oct 03 '17, 2:24 p.m.

Question was seen: 6,489 times

Last updated: Oct 06 '17, 9:53 a.m.

Confirmation Cancel Confirm