Developer forum

Forum » CMS - Standard features » Is it possible to strip html from richtext fiels, when exporting from Data Integration Module?

Is it possible to strip html from richtext fiels, when exporting from Data Integration Module?

Hans Ravnsfjall
Reply

Hi

is this possible to do? If yes, how should it be done?

Also, the nordic charachters, have a wrong/weird encoding. I have set the output encoding to Unicode UTF8, and have also tried UTF16 - but same result

 

Please see attached file

regards, Hans

 

 


Replies

 
Dmitriy Benyuk
Reply

Hi Hans,

no it is not implemented directly in the Data Integration module, but it is possible to use the add-ons functionality for this module to implement this.
You can use the "table scripting" functionality which was implemented in 8.7 version. You can read more about table scripting here.

See the attached image for the table scripting selection and the sample table script class implementation in the attached file.
There is a use of  Dynamicweb.Base.StripHTML() function which should solve your issue. You need to change the code for your source table column names.

Regards, Dmitrij

TableScripting.jpg

 

You must be logged in to post in the forum