RRC-RPE generate documents
2 answers
Hi Irina
As I understand you have one artifact embedded in another artifact in RRC, in such a way that the text in the original artifact and the embedded one are in the same line in the rich text editor. But when you extract this info using RPE, you get a carriage return between the text from the original artifact and embedded one. If this is the case then this additional carriage return is induced by the RRC REST API. But in RPE you can use a java script “replace” function to remove this additional carriage return coming from RRC.
For example : <RRC attribute>.replace(/[\n\r]/g, ' ');
You need to use a script expression rather than data expression in RPE.
Hi Irina
As I understand you have one artifact embedded in another artifact in RRC, in such a way that the text in the original artifact and the embedded one are in the same line in the rich text editor. But when you extract this info using RPE, you get a carriage return between the text from the original artifact and embedded one. If this is the case then this additional carriage return is induced by the RRC REST API. But in RPE you can use a java script “replace” function to remove this additional carriage return coming from RRC.
For example : <RRC attribute>.replace(/[\n\r]/g, ' ');
You need to use a script expression rather than data expression in RPE.
Comments
Irina Vaganova
May 21 '13, 6:04 a.m.How could we unload embedded artifacts in RRC requirements using RPE that they did not transferred to the new line as new artifacts in one paragraph?