Mass Assign Image group to existing nodes using CMSImport Pro
We have the free trial CMS Import and have been trying to find something that we can at the same time of import assign an image group to nodes so we don't have to manually go and assign almost 15,000 pages to a group default photo area.
But we have already imported all of the data into our website and cannot figure out how to mass assign a image folder to group of a few thousand nodes to pull a specific photo. Can the CMSImport Pro version assign images to nodes that have already been created? Or is the image function only for importing images in mass to the media section?
If I understand correctly you already have imported all content? The update functionality of CMSIMport PRO only works when you've imported the content the first time with CMSImport PRO also. This is because a relation between original data and imported node is stored in the database.
So in this case I would suggest that you write a simple usercontrol that loops over all the documents and assign the default image programatically, or use the pro version and reimport all data again, create one column with the default image. This image will only be imported once.
Mass Assign Image group to existing nodes using CMSImport Pro
We have the free trial CMS Import and have been trying to find something that we can at the same time of import assign an image group to nodes so we don't have to manually go and assign almost 15,000 pages to a group default photo area.
But we have already imported all of the data into our website and cannot figure out how to mass assign a image folder to group of a few thousand nodes to pull a specific photo. Can the CMSImport Pro version assign images to nodes that have already been created? Or is the image function only for importing images in mass to the media section?
Thanks,
Katy Small
Hi Katy
That's a very good question. I don't know if that perhaps is something that can be achieved using a field adaptor http://www.richardsoeteman.net/2010/04/16/FieldAdaptersForCMSImport.aspx
/Jan
Hi Katy,
If I understand correctly you already have imported all content? The update functionality of CMSIMport PRO only works when you've imported the content the first time with CMSImport PRO also. This is because a relation between original data and imported node is stored in the database.
So in this case I would suggest that you write a simple usercontrol that loops over all the documents and assign the default image programatically, or use the pro version and reimport all data again, create one column with the default image. This image will only be imported once.
Hope this helps you,
Richard
Great, thank you for the idea.
is working on a reply...