HTML Tags present in Text Field
I am getting HTML tags while passing a plain text in the field in Archer. Field type is TEXT. When a entry is made in the field during new record creation, and when saved it returns the text in HTML format which I see in History log.
Could anybody suggest in this.
- Community Thread
- Forum Thread
- RSA Archer
- RSA Archer Suite
Abhishek, the issue description is not clear enough.
How do you "pass" plain text into the Archer field? Do you use datafeed, do you use API, do you use manual input?
What do you mean by "returns the text in HTML format" - returns to data feed, returns to API call, or in report export?
Please be more specific when you ask questions.
I pass the plain text manually into the field. After saving the record, I see HTML text in history log. Actually, there is a API integration between Archer and CISM. So, in CISM I see the text with HTML tags. I guess API is not an issue. There is some parsing issue with the field.
Abhishek, I think that you have answered your own question:
Multi-line text fields in Archer are stored as HTML. Same HTML will be returned if you get value for the given field via API. You want to "unwrap" text from HTML if you want to see it in another system as plain text.