Vulnerability in EPiServer.Forms
I have some strange issues with the export / import feature of EPiServer 7 CMS.
When I export a bunch of pages and import them in another website the page doesn't keep the same numbering even if I have checked "Update existing content items with matching ID"
In other words that mean if a page has an ID of 100 on website "A" when I import the page at website "B" gets an id of 103.
Is there a way to enforce the numbering so that I can keep the id accross sites identical?
I have never had an issue with pages and the ID since I never use the ID of pages. do you have pages on the importing website that already have the IDs you would like to use? Make sure these IDs is available, use a clean db? Not sure you can force the IDs if the numbers are allocated already by other pages.
It is the guid based identifier that is preserved. The integer based identifier is generated in db and are not guaranteed to be the same across sites (it is very likely that it differs)
Import/export however uses the guid based identifier to locates content (e.g. pages) so in case there already exist a page with a given Guid (which it does if the page has been imported previously in another package) then it will update the page instead of creating new. If you do not select "update existing content items with matching ID" the import will work pretty much as Copy meaning new pages is created each time the package is imported.