on 2013 Feb 13 4:14 PM
Hello experts,
Currently, I'm doing some analysis with the different scripts availabe for Import Lifecycle.
According to the documentation, I have one question regarding any of them:
//Testing script to modify import record during importing:
doc_desc = import_record.getImportField("DOCUMENT_DESCRIPTION");
doc_desc.setValue("New description using PRE-PROCESS Script");
import_record.addImportField(doc_desc);
Due to previous code raise errors (telling that method calling import_record.addImportFied is incorrect), I've also tried without the last sentence but again, field is not modifed
Thanks in advance for the support and best regards,
Isaac
Request clarification before answering.
The import_record is an object of class CsvImportRecord
You could try using the setField(<name>,<value>) method to modify values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.