I have a base64 data coming in from one of a column from salesforce, after converting the data, its evenutally a html data with all the tags, the downstream doesn't want those tags, i tried converting the html data to plain text using "jsoup" in tjavaflex. but I keep getting the error "Detail Message: whitelist cannot be resolved to a variable", can someone let me know what i'm doing wrong, i have even placed the jar files in the appropriate directory.
code to convert html to plain text in "tjavaflex"
import org.jsoup.Jsoup; import org.jsoup.helper.Validate; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.IOException; output_row.sf_input_col= Jsoup.clean(sf_input_col, whitelist);
Error Line: 7406 Detail Message: whitelist cannot be resolved to a variable
Where is your "whitelist" from? Any double quotes missing? Could you please post the whole job setting screenshots here?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema