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?
Accepted answer
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.
6 other answers
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.
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.
RPE output:
Comments
Jennifer Ly
Oct 03 '17, 2:49 p.m.