Yes CMSimport only updates records that were imported because then a relation between the record from the datasource and the imported document is made.You can fill the CMSImportRelation table yourself to have the relation(format is [DataAadpter[PrimaryKey][primarykey value]) and map that againts the document id, or use event code to determine if it should be an update. But I'm open for suggestions how to improve this for a future release,
Thanks for your quick reply - I'll see if I can write some custom code to run on a new node creation and try to add it to the CMSImport relation table!
Updating records added using the standard editor
If records are added to Umbraoc using the standard "Content > Create" method. Is there any way of getting CMSImport to recognise them when updating?
At the moment it is creating a duplicate of the node - I presume as it wasn't imported in the first place?
Hi Rob,
Yes CMSimport only updates records that were imported because then a relation between the record from the datasource and the imported document is made.You can fill the CMSImportRelation table yourself to have the relation(format is [DataAadpter[PrimaryKey][primarykey value]) and map that againts the document id, or use event code to determine if it should be an update. But I'm open for suggestions how to improve this for a future release,
Richard
Hi Richard,
Thanks for your quick reply - I'll see if I can write some custom code to run on a new node creation and try to add it to the CMSImport relation table!
is working on a reply...