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

Add new line into Wiki attribute progmatically via followup operation.

 Hello,

I have a requirement that i have to set the wiki attribute  in a formatted way!
 i am trying to enter a new line progmatically but i am unable to do so, the code is as  follows:

String value = "hello setting new line value" + " " & nbsp;" + " checking if new line added;
currentWorkitemWC.setValue(wiki, value);

but this code is unable to enter the new line in the wiki attribute. Any help as to how to set String data in the wiki attribute with line break ?

Thanks in Advance
Abhishek

0 votes


Accepted answer

Permanent link
According to http://www.wikicreole.org/ // would force a line break

I remember having played around with it when I created the work item commandline. I think the syntax that worked for me was:


It is always a good idea to download the code from the work item commandline and have a look if you struggle. There might be solutions in there.
Abhishek Kumar selected this answer as the correct answer

1 vote

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
× 10,941
× 6

Question asked: Mar 17 '16, 6:51 a.m.

Question was seen: 2,857 times

Last updated: Mar 17 '16, 8:08 a.m.

Confirmation Cancel Confirm