have a look here:
http://ez.no/community/contributions/import_export
and here
http://ez.no/community/forum/developer/importing_update_entry_if_it_already_exists
and here http://ez.no/community/forum/developer/import_image_into_existing_class
this is great! I've had some success importing objects using a script i downloaded from one of those links.
I'm stuck on another part, I was hoping someone had an idea how to acheive this...
I am importing an object that has an Object Relation List as one of the attributes. How do I create a new object from some of the import attibutes, and add this to the relation list? I looked at the code for the ezobjectrelationlist type - but i can't work out which method i need to use - and there's no documentation on this.