on 02-13-2013 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
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.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.