EWM - CSV Import into "Large HTML" Attribute
![](http://jazz.net/_images/myphoto/9bffd15a8907b830ceb3367dfd05da78.jpg)
EWM - CSV Import into "Large HTML" Attribute
IBM Engineering Workflow Management 7.0 |
|
What is the formatting requirements to import formatted text into a 'Large HTML' attribute? I have a text file containing HTML Hyperlink codes and I want the Hyperlinks to be properly displayed.
<a href="https://rtc.server.com/dng0001001/resources/_R1j10cgdEemcIdm2QVkI0Q?oslc_config.context=https%3A%2F%2Frtc.server.com%2Fdng0001001%2Fcm%2Fbaseline%2F_gEyLoAJkEe-qMcmLs7VTaQ">201481: My Module</a>
When I import this into an HTML attribute, I am just seeing the HTML codes displayed in my blob of text.
USE CASE
We're using EWM to track reviews, but EWM work items cannot link to DNG Modules. :-(
Therefore, I create a link from DNG via 'Share Link to...' and copy/paste the Hyperlink to the EWM Large HTML attribute. When creating multiple EWM review work items...I want to import the data, instead of manually editing one at a time.
Therefore, I create a link from DNG via 'Share Link to...' and copy/paste the Hyperlink to the EWM Large HTML attribute. When creating multiple EWM review work items...I want to import the data, instead of manually editing one at a time.
BTW - if I look at the Web Browser (edge) Elements of a copy (from DNG) / pasted link), the text in the Large HTML attribute is :
<a data-cke-saved-href="https://rtc.server.com/dng0001001/resources/_0IV5cfSIEeunhM8ewfIhtA?oslc_config.context=https%3A%2F%2Frtc.intel.com%2Fgc%2Fconfiguration%2F4254" href="https://rtc.server.com/dng0001001/resources/_0IV5cfSIEeunhM8ewfIhtA?oslc_config.context=https%3A%2F%2Frtc.server.com%2Fgc%2Fconfiguration%2F4254">332862: Customer Reference Board</a>
One answer
![](http://jazz.net/_images/myphoto/9bffd15a8907b830ceb3367dfd05da78.jpg)
I took some time to test. As explained above, the work item command cline WCL that can be found here https://github.com/jazz-community/work-item-command-line exports HTML attributes as strings containing the HTML tags. I assume I implemented the import that way as well. I can only suggest to try using the WCL instead the built in CSV export/import.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER May 06 '24, 4:09 a.m.I would suggest you export the data on a test system and then import the data you exported. This should give you an idea of how the data would look like and if it imports the way it exports.
Kelly Hoffman
May 06 '24, 12:13 p.m.I should have mentioned that I did this.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER May 07 '24, 2:37 a.m.I can not change how EWM exports its data. I do not remember how I export data like that in the https://github.com/jazz-community/work-item-command-line, worst case you could modify the tools code.
Kelly Hoffman
May 07 '24, 11:26 a.m.Sorry, I'm confused by the last comment. I don't want to change how to export data. I want to import (via CSV import) an HTML encoded string so that EWM displays (in the UI) a hyperlink (link+label) in a Large HTML attribute.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER May 07 '24, 1:19 p.m.PS: I know that some bigger customers have used WCL in the past for similar reasons.