It's all about the answers!

Ask a question

RTC custom attributes type Medium HTML in RPE


Matt Muller (58312863) | asked Dec 17 '13, 9:19 a.m.
 We have created a new Work item with Attributes type Medium HTML;
We are using RTC 4.0.3 and RPE 1.2.

Is it possible to configure RPE to load the Medium HTML data?  they are not currently listed in the Custom Attributes.

Ta

3 answers



permanent link
Brian Fleming (1.6k11928) | answered Dec 17 '13, 11:45 a.m.
They are considered medium Strings in the REST API.  A query such as
workitem/workItem/allExtensions[key='ATTRIBUTE_ID']/mediumStringValue
should return the value you're looking for.

permanent link
Russell Norlund (17211622) | answered Dec 18 '13, 4:13 a.m.
 Hi Brian, this works a treat (RTC 4.0.3 and RPE 1.2). Is there any way of formatting the data so that it does not show the html tags. An example of the data shown is:

<br/>Seat movement for comfort <br/>Row 1 manual seat movement <br/>Powered row 1 folding for cargo 

permanent link
Brian Fleming (1.6k11928) | answered Dec 18 '13, 8:13 a.m.
I'm not aware of any capability in the RTC API to remove the tags, but RPE 1.2 should be able to do this.  Refer to http://rpeactual.com/2013/01/18/processing-rich-text-in-rpe/ for more details.

Your answer


Register or to post your answer.