Hi, importDXL process is stopped:
Field is too large (32K) or View’s column & selection formulas are too large
DXL importer operation failed
This is the java code:
// 1st Transform
StringWriter rw = new StringWriter();
XSLTInputSource XMLSourceIS = new XSLTInputSource(XMLSource);
XSLTInputSource StyleSheetIS = new XSLTInputSource(StyleSheet);
XSLTResultTarget tout = new XSLTResultTarget(rw);
XSLTransformer.process(XMLSourceIS, StyleSheetIS, tout);
// 2nd Import
importer = s.createDxlImporter();
importer.importDxl(rw.toString(), db);
…
Does anyone know how can I deal with it?
Thanks,
Sofia.
Subject: RE: “Field is too large (32K)…” with importDXL, too !!!
It’s not your code, it’s your data. You’re trying to store too much data in summary fields of a single note – either one field that contains too many bytes, or multiple fields that add up to too many. The solution is to change the XML data you’re importing so that it
Subject: RE: “Field is too large (32K)…” with importDXL, too !!!
Hi Andre,Actually, I’m not storing the data anywhere. I’m just using the StringWriter object with the toString() method to pass xml info to the DXLimporter… so, I suppose the problem is related with this method, doesn’t it?
It has no sense if we are not able to import big amount of XML data with the importer process, doesn’t it?
Thanks,
Sofia.
Subject: RE: “Field is too large (32K)…” with importDXL, too !!!
You can bring in a big amount of data, but that data still has to obey the Notes and Domino rules. You can’t create a summary field that exceeds the summary field limit, you can’t create a rich text paragraph that exceeds the rich text paragraph limit, you can’t create a document with more summary data than is allowed, you can’t go beyond the total limit for Formulas, etc. If you are creating rich text, you’ll need to inject elements to break up the imported data.
Subject: RE: “Field is too large (32K)…” with importDXL, too !!!
Stan, I’m with you. We must know and accept the rules in order to play.
But what is difficult to me to understand is that the DXL data I’m trying to import has only one tag and no richtexitems but only simple tags… so, may I think that perhaps, there are to many fields and the process reachs the document limit?
Umm…I’ll check it.
Thanks a lot,
Sofia.
Subject: -->SOLUTION: Trying to create too many with same field name
Thanks for your answers.Sofia.