Hi Petr,
We faced the same problem.
We solved it like this:
1) When exporting, we generate the UUID for the exported nodes. The xml import
will correctly create nodes with the given UUID if you provide UUID attributes
in your XML. The format for the UUID is something like that:
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:value>00023888-0220-4544-b6a4-320325dcfd86</sv:value>
</sv:property>
2) Exporting is a 2-pass process for us - first we generate and remember the
UUIDs for all the nodes. Then we write the XML files, using the generated UUIDs
in our links.
Regards from Vienna,
Richard
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]
Im Auftrag von Petr Kadlec (via Magnolia Forums)
Gesendet: Dienstag, 06. November 2012 20:34
An: Magnolia User List
Betreff: [magnolia-user] Data migration/import to Magnolia - internal links
Hi everybody,
I'm doing content migration from another CMS (Plone) to Magnolia and I hit the
first bump on magnolia's side - internal links. In magnolia we will be using
links with uid, but at the time of digging data out of plone and creating xml
for import to magnolia I don't know UIDs of other pages.
Importing links as absolute path (/author/portal/path/to/page) works but if I
activate the content links still refer to author instance. But I noticed that
if I edit in magnolia the text block with links in it and I save it, all
internal links get changed to UID links. So my question is, is there way to do
this for all pages at once? To convert all links referencing by path to links
with UID (provided given path exists of course)?
Note: Text of the pages will be imported into magnolia as single html text
block and links are in it
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=9497cbad-fc8b-4c17-aaf2-ac9671d96331
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------