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

Why is PrintModuleTable returning richtext for type instead of link for a view column that is a link?

The built an RPE report from code in PrintModuleTable.  When processing a column containing a link, the type should be URL but is returned as richtext.  Hence, the section of code that checks for a link does not ever get executed.

Rich

0 votes

Comments
Please note that I tried to upload a screenshot but apparently I am not worthy since I have less than 60 reputation points.  Not kidding, that is the message I received.

Rich



One answer

Permanent link
PrintModuleTable uses views data source schema. You can make data request against the DNG view (for which you are generating the report) using a browser as explained in https://jazz.net/wiki/bin/view/Main/DNGModuleViewExternalRequest and check if the XML returned is as expected. If not, please raise a defect against DNG.
I remember a  similar workitem created against DNG, where the data returned was text instead of richtext. I can confirm if you can provide the screenshot. You can upload it somewhere and share the link.

0 votes

Comments
Thank you for the reply.  Here is a snippet of the XML.  Field:type should be "link" since this correlates to a column that is a link.

Here is the URI.  You will need to change it based on your DNG instance. It only take a few minutes to compose this and try in your browser. 




Thanks,

Rich

and a snippet of returned text since I exceeded the maximum number

 <rrm:field field:fieldId="5" field:isContent="false">;
        <field:value field:type="richtext">;
          <div><a href="https://localhost:9443/rm/resources/_fXbMMVrsEemD-u_UQ3Y4MA">665:Product1 Electrode Design Verification</a><br/><a href="https://localhost:9443/rm/resources/_fXe2kFrsEemD-u_UQ3Y4MA">671:Product1 Electrode Wear Study</a><br/><a href="https://localhost:9443/rm/resources/_fb1LEVrsEemD-u_UQ3Y4MA">849:New Product Electrode Wear Study</a><br/>
           

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

Question asked: May 01 '19, 11:18 a.m.

Question was seen: 2,515 times

Last updated: May 02 '19, 9:37 a.m.

Confirmation Cancel Confirm