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

Retaining New Line in "Primary Text" during .csv i

New line in Primary text is removed during import of .CSV file.

RRC version being used is 3.0.1 and 3.0.1.1

Any workaround or solution (as early as possible)?

Thanks

0 votes



2 answers

Permanent link
We've recently filed a defect for this here. Unfortunately I did not find any workarounds other than updating the requirement manually in the editor after the text was imported on the same line.

0 votes


Permanent link
Have you tried to replace "LF" (added by default in Excel) with "CRLF"?
In excel,
(A) I select the column containing the primary text (with "LF" on it)
(B) Run the following macro

Sub ReplaceLfWithCrLfs()

Dim ArtifactCell As Range
Dim TempPrimaryText As String
For Each ArtifactCell In Selection
TempPrimaryText = ArtifactCell.Text
Do While InStr(TempPrimaryText, vbLf) > 0
TempPrimaryText = Replace$(TempPrimaryText, vbLf, "XYX@kk")
Loop
Do While InStr(TempPrimaryText, "XYX@kk") > 0
TempPrimaryText = Replace$(TempPrimaryText, "XYX@kk", vbCrLf)
Loop
ArtifactCell.Value = TempPrimaryText
Next
End Sub


(C) Export to CSV and import into RRC

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

Question asked: Nov 27 '11, 8:43 a.m.

Question was seen: 6,323 times

Last updated: Sep 11 '12, 11:26 a.m.

Confirmation Cancel Confirm