Hi Guys,
I'd like to be able to export page and paragraph content out of one database and import it into another.
Does anyone know if this is possible? Maybe it could be an sql script?
Cheers,
Alec
Hi Guys,
I'd like to be able to export page and paragraph content out of one database and import it into another.
Does anyone know if this is possible? Maybe it could be an sql script?
Cheers,
Alec
It is not possible without doing some magic.
The big issue is that the keys/ids are generated by the database and moving pages from one db to another would give you duplicated keys. But if you can solve that, it is relatively easy.
BR Nicolai
Ok cheers, this is what I thought you'd say!
We'll see what we can do.
As Nicolai points out, the big issue is that ids will change when importing content.
I've been thinking about this and I think the challenge can be solve using the following steps (or something similar)
The steps above do not handle items, but they should basically be handled in the same way (import followed by remapping).
Does it make sense? Comments?
Kinda what Mikkel said:
Potential problems: hardcoded ID's, settings saved on each row of Page/Paragraph (in a lump of XML for instance), security (user permission). Probably a few other bumps ahead I've forgotten.
Regards /Snedker
You must be logged in to post in the forum