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

plain text asset description

 Hi.  Is there a way to set the long Description field of an asset as plain-text using the web app gui?

Also, how would i go about getting the plain-text version of the long Description of an asset via RAM Java API?

Thanks,

0 votes



2 answers

Permanent link
RE: Is there a way to set the long Description field of an asset as plain-text using the web app gui?
Have you tried "paste as plain text" feature?  You can find the option next to the "paste" icon.

RE: how would i go about getting the plain-text version of the long Description of an asset via RAM Java API?
Get description return a string; however, I am not what type of data that you store in your asset's description.  

http://pic.dhe.ibm.com/infocenter/ramhelp/v7r5m1/index.jsp - search for RAMAsset

getDescription

public java.lang.String getDescription()
	
Gets the description value for this Asset.

Overrides:
getDescription  in class  Asset
Returns:
description
Since:
7.1

0 votes


Permanent link
Hi,
>  Is there a way to set the long Description field of an asset as plain-text using the web app gui?
just as Ben said, you can use "paste as plain text" button i rich editor.

> how would i go about getting the plain-text version of the long Description of an asset via RAM Java API?
RAMAsset.getDescription() will return the description in html source format, and there is not a API support plain-text description.I think you may work on the string returned by RAMAsset.getDescription() to remove the html element.

0 votes

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
× 12,020

Question asked: Sep 09 '13, 1:26 p.m.

Question was seen: 5,427 times

Last updated: Sep 09 '13, 11:28 p.m.

Confirmation Cancel Confirm