How do you export Primary Text from DNG using RPE?
Hi, we are running Jazz 6.0.4 and I am using RPE 6.0.5. I am trying to export the primary text from DNG artifacts that have data in it that looks like it has come from a Word document. I am using the DNG Text data source and the rich text body (dataSource/artifact/content/text/richTextBody/div) for output. I am getting output from my other data elements, but am not getting any output for the rich text body. How do you output Primary Text using RPE? Here is what my template looks like:
One answer
dataSource/artifact/content/text/richTextBody/div should print the rich text content of DNG Text artifacts. I dont see any issue with the Cell selected in the screenshot.
Can you mention what is the URI set for "DNG Text" data source (URI property of Data Source Configuration element)? Also, what are the data filters on queries $3 and $7?
Note that dataSource/artifact/content/text/richTextBody/div can be used for Text artifact urls - rm/publish/text?resourceURI=<uuid> and not for rm/publish/resources?resourceURI=<uuid>
Comments
The URI for DNG Text is https://servername/rdm/publish/resources/*. The filter for query $3 is title == "projectname" so it pulls only artifacts for a particular project. The query for $7 is _value == "Text" where it is pulling only artifacts with the format of "Text" since the ones that I am trying to export are Text format. I am getting data with the first two cells, just not any from the last cell.
Please try /publish/text/ instead of /publish/resources/.
My output using /publish/resources gives me output without the primary text:
After I changed it to /publish/text it dies and I am getting the following error (NOTE: to protect customer, our server name has been changed in this screenshot to servername):
Do you have any other ideas on that else I can try? Thanks!