I'm currently in the process of transferring channel entry data from an EEv1 site into a fresh new EEv2 site. My method is to populate XML files with channel data and then, using Importer (or DataGrab), pop the channel data into the waiting channels on the new site.
The problem I'm running into is that as you'd expect, custom fields being used on the old site aren't really what I'd like to use on the new. So the example that's giving me a headache is the following;
Currently Ngen File field being used to handle images/documents on the old site and I'd like to be able to import these images into an Assets field on the new site.
Can anyone give me some steps or advice on how I would achieve this.
In my Exported XML file I have the following
<images>
<matrix_cell_1>{filedir_1}BREEAM-CTA_1.jpg</matrix_cell_1>
<matrix_cell_2><![CDATA[no-borders]]></matrix_cell_2>
</images>
It has brought the image path through. This image path (images/uploads/page-images) has been recreated exactly on the new site. But how can I go about taking what is essentially a text string (/images/uploads/page-images/BREEAM-CTA_1.jpg) and convert it into a functioning Assets field image.
I appreciate that it cannot be as easy as importing that image path directly into an Assets Field. I assume a few extra steps have to be taken in order to have Assets recognize that imported field string.
Thank you for any advice/answers
{filedir_1}
. If I add an image manually into the entry, the database recognises this as{filedir_1}image_name.jpg
. But I cannot seem to import this same format via the XML file. The database shows nothing for the imported entries that have images.